[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
13 years, 10 months
[JBoss JIRA] Created: (JBIDE-2726) Incorrect behavior of Server properties > Ports Monitoring
by Aliaksey Nis (JIRA)
Incorrect behavior of Server properties > Ports Monitoring
----------------------------------------------------------
Key: JBIDE-2726
URL: https://jira.jboss.org/jira/browse/JBIDE-2726
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.0.0.alpha
Environment: WindowsXP SP2
JBoss Tools
Version: 3.0.0.Alpha1
Build id: 200809010011-nightly
Build date: 01 september 2008
JDK 1.5_08
Reporter: Aliaksey Nis
Priority: Optional
EXECUTE: Open Server view.
EXECUTE: Right click on Server > Properties.
EXECUTE: Select Monitoring. Press Add button.
EXECUTE: Add port number in "Monitor port". Try to select something from drop-down menu "Content".
FAILURE: Content menu is empty. But Ok button is enabled. When Ok button pressed - nothing happens (except wizard closing).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (JBIDE-3235) Missing properties view for servers elements
by Max Rydahl Andersen (JIRA)
Missing properties view for servers elements
--------------------------------------------
Key: JBIDE-3235
URL: https://jira.jboss.org/jira/browse/JBIDE-3235
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Reporter: Max Rydahl Andersen
Fix For: 3.0.0.cr1
Before I could directly edit properties for ports in properties view.
Now I need to right click and choose Change Value and get a non-standard edit in the tree.
This I could probably live with if I could just double click the value and edit it like in properties view.
Properties view was though also nice to give other details than just access to edit.
i.e.. I could copy values to get the value of file names etc. I can't copy elements from the tree and get a textual representation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (JBIDE-2240) Speed up creation of runtime/servers, specially when creating clusters
by Galder Zamarreno (JIRA)
Speed up creation of runtime/servers, specially when creating clusters
----------------------------------------------------------------------
Key: JBIDE-2240
URL: http://jira.jboss.com/jira/browse/JBIDE-2240
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Reporter: Galder Zamarreno
We need to look at a way to streamline the creation of
runtime/servers as I'm finding it really tedious, specially
when it comes to clusters.
First, I think It'd be nice to create a runtime and a server in
a single step. This would fit very well my model where I take
an EAP version, create a server configuration (could Tools do
this for me as well? instead of me having to
"cp -r server/default server/12345"), create a runtime for it and
a server and the server's name to be exactly the same as the one
from the runtime (no need to add the " Server" name clutter).
Secondly, once I've created a server configuration + runtime +
server, an ability to copy paste that one, having only to change the
server configuration name (server/12345_1, server/12345_2....configurations)
, runtime/server name and bind address (for those that don't do multiple IP
addresses, enable binding manager and allow selecting the port collection,
ports-01...etc).
All this needs further baking and you have to take into account my specific
use where I'm creating server configurations on a daily basis.
--
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
14 years
[JBoss JIRA] Created: (JBIDE-1246) service beans code completion is broken
by Max Andersen (JIRA)
service beans code completion is broken
---------------------------------------
Key: JBIDE-1246
URL: http://jira.jboss.com/jira/browse/JBIDE-1246
Project: JBoss Tools
Issue Type: Bug
Components: JBossAS
Reporter: Max Andersen
Assigned To: Rob Stryker
Fix For: 2.1
While fixing the identification of service xml I found that the code completion is broken in service.xml
It looks like the code is searching for code completions manually and assumes way too much about what the searchengine can/should find.
e.g. PackageTypeSearcher.getPackage() assumes only one packagefragment per name will be found, but that is not the case if you have multiple projects with the same jar or simply uses the same package name in diffeerent projects.
One way to solve it is to use the built in codecompetlion in JDT - an example of that is to be found in CompletionHelper.java in the hibernate plugins.
--
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
14 years
[JBoss JIRA] Created: (JBIDE-3113) Consolidation/clean up of preference pages
by John Graham (JIRA)
Consolidation/clean up of preference pages
------------------------------------------
Key: JBIDE-3113
URL: https://jira.jboss.org/jira/browse/JBIDE-3113
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common, drools, jbpm
Affects Versions: 3.0.0.cr1
Environment: JBossTools-3.0.0.CR1-N200811050757-ALL-linux-gtk
Reporter: John Graham
Priority: Minor
JBT currently has three preference page categories:
1. Drools
2. JBoss jBPM
3. JBoss Tools
The first two should be listed as subsections of the JBoss Tools category. Alternatively, I suggest that the top level category should just be JBoss:
- JBoss
-- Drools
-- jBPM
Also, the JBoss Tools and JBoss jBPM top level pages in each of these categories do not expose preferences, but rather the default buttons or simply a label ("JBoss Tools"). These top level pages should show overall JBT preferences. See the Java preferences or other examples in the Eclipse platform for this idea. (Also note that the DTP 1.6.x way of doing this is wrong... ;) )
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[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
14 years, 1 month