[JBoss JIRA] Created: (JBIDE-473) JBoss AS ignores context root property of dynamic web project
by Viacheslav Kabanovich (JIRA)
JBoss AS ignores context root property of dynamic web project
-------------------------------------------------------------
Key: JBIDE-473
URL: http://jira.jboss.com/jira/browse/JBIDE-473
Project: JBoss Tools
Issue Type: Feature Request
Reporter: Viacheslav Kabanovich
Open editor for Tomcat Server (double click Tomcat node in Servers view). The editor has two tabs - Overview and Modules. In Modules tab, it is possible to select a registered web project and call dialog for changing path (context root) property by Edit button. Then, for example, if project's name is MyProject but path is set to /OurProject, in order to access the application running on Tomcat server one has to type in browser an address like http://localhost:8080/OurProject rather than http://localhost:8080/MyProject.
Red Hat studio defines menu action 'Register Web Context in Server', which invokes dialog that allows to set context root property. That works fine with Tomcat server, but fails with JBoss AS, because it seems that its implementation ignores this property of web project when deploying it. Hence, the request is to develop this functionality of JBoss AS to the level of Tomcat server.
Context root property is accessible through class org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities with methods
public static void setServerContextRoot(IProject project, String contextRoot)
public static String getServerContextRoot(IProject project)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] Created: (JBIDE-830) JSF support: linked folders
by Petr Lindovsky (JIRA)
JSF support: linked folders
---------------------------
Key: JBIDE-830
URL: http://jira.jboss.com/jira/browse/JBIDE-830
Project: JBoss Tools
Issue Type: Bug
Affects Versions: 2.0.0.Beta3
Environment: Windows XP
Reporter: Petr Lindovsky
I have a Web project (originally developed in another IDE) where the META-INF and WEB-INF directories are located directly under the root of the project (e.g. next to src).
So I can't take the project root as the web content directory. To make this work with Europa, I created a new WebConent directory under the root and added folder links there pointing to the existing META-INF and WEB-INF. This now works in Europa.
Is it possible to add RedHat JSF support to this? This wizard doesn't seem to take this into account.
I created a project where you can see the problem: It works in Europa (you can use Export > WAR file and Run As > Run On Server) but I don't know hat to make it work with the RedHat JSF support.
(Note: I used absolute paths in the links in the project; in reality we used path variables to enable sharing.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (JBIDE-910) Servlet Generator for Dynamic Web Project is creating errornous web.xml files
by Steve Davidson (JIRA)
Servlet Generator for Dynamic Web Project is creating errornous web.xml files
-----------------------------------------------------------------------------
Key: JBIDE-910
URL: http://jira.jboss.com/jira/browse/JBIDE-910
Project: JBoss Tools
Issue Type: Bug
Components: JBoss Tools Core
Affects Versions: 2.0.0.Beta3
Environment: Windows XP Professionial SP2
Reporter: Steve Davidson
When creating a Servlet using the New File - Servlet wizard in a Dynamic Web Project in a clean workspace, the web.xml file is not properly created. Specifically, this is what gets generated;
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>
DemoFlaw</display-name>
<servlet>
<description>
</description>
<display-name>
DemoServlet</display-name>
<servlet-name>DemoServlet</servlet-name>
<servlet-class>
org.ccccd.webone.DemoServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DemoServlet</servlet-name>
<url-pattern>/DemoServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
The extra whitespace at the end of the start tag <servlet-class> causes the deployment to fail. This is occuring on 100% of the computers in the Java Web Class that I am teaching.
-Steve
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (JBIDE-1104) .sar file cannot be included in .ear file
by Juergen Zimmermann (JIRA)
.sar file cannot be included in .ear file
-----------------------------------------
Key: JBIDE-1104
URL: http://jira.jboss.com/jira/browse/JBIDE-1104
Project: JBoss Tools
Issue Type: Bug
Components: JBossAS
Affects Versions: 2.0.0.Beta4
Environment: JBoss Tools nightly build 20071017
Reporter: Juergen Zimmermann
I need a .ear file which contains a .sar file (service archive for JBoss). Such a .sar file is declared in META-INF/jboss-app.xml of the EAR project "hska" as follows:
<jboss-app>
<security-domain>java:/jaas/hska</security-domain>
<module>
<service>hska.sar</service>
</module>
</jboss-app>
I have a "General Project" named hskaSAR which has a META-INF subdirectory for the xml files of the .sar file. Creating hskaSAR/hska.sar via the "Project Archives" view of JBoss Tools works fine. However, there is no possibility to include the .sar file within the (exploded) .ear.
I tried to edit and extend the file .settings/org.eclipse.wst.common.component within the EAR project as follows:
<dependent-module deploy-path="/" handle="module:/classpath/lib/hskaSAR/hska.sar">
<dependency-type>uses</dependency-type>
</dependent-module>
However, this workaround doesn't work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-467) NullPointerException on ProjectChangeListener
by pchar (JIRA)
NullPointerException on ProjectChangeListener
---------------------------------------------
Key: JBIDE-467
URL: http://jira.jboss.com/jira/browse/JBIDE-467
Project: JBoss IDE
Issue Type: Bug
Components: JBossIDE Core
Affects Versions: 1.6
Environment: Eclipse Version: 3.2.2 Mac OS X Java 1.5
Reporter: pchar
Assigned To: Marshall Culpepper
There's a null pointer excetion on a lister here the stackstrace:
!ENTRY org.eclipse.core.resources 4 2 2007-03-30 08:31:42.807
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at org.jboss.ide.eclipse.core.ProjectChangeListener.resourceChanged(ProjectChangeListener.java:46)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274)
at org.eclipse.core.internal.events.NotificationManager.handleEvent(NotificationManager.java:246)
at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:250)
at org.eclipse.core.internal.resources.Project.close(Project.java:186)
at org.eclipse.ui.actions.CloseResourceAction.invokeOperation(CloseResourceAction.java:184)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:134)
at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:429)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-465) Problems occurred when invoking code from plug-in: "org.eclipse.jface".
by Mallika Guliani (JIRA)
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
-----------------------------------------------------------------------
Key: JBIDE-465
URL: http://jira.jboss.com/jira/browse/JBIDE-465
Project: JBoss IDE
Issue Type: Bug
Components: JBossIDE Core
Affects Versions: 1.6
Environment: Win XP PRO
Reporter: Mallika Guliani
Assigned To: Marshall Culpepper
I am not able to create Server configuration in Eclipse 3.2.2. I am using JBoss 1.6.0 GA.
I get the following errors:
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
Unhandled event loop exception - plug in - "org.eclipse.ui"
I saw that this error is already logged but unable to find a solution. Could someone please provide step by step resolution?
I would really appreciate your help. I have already spent a day trying out different versions of JBoss IDE but no result. I have JBoss - 4.0.2 AS.
Thank You.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months