Problem with JBoss plugin

This was working correctly, now when it appears to start correctly, but
instead of opening a browser window, it eventually displays this message:


I have Apache2 in front and it sends justicexchange.localhost to
localhost:8080/justicexchange. When I try to connect to it directly
(http://localhost:8080/justicexchange/watch/watchList.jsp, I get a 404.
Hitting localhost:8080 gives me the normal JBoss home page.

I am deploying to server\default\deploy\justicexchange.war and there is
a WEB-INF/jboss-config.xml file. It only sets the context root to
/justicexchange. I have uninstalled/installed the plugin, but still get
the message.

here is the log output:
cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\dev\jboss\jboss-4.0.0\bin
..
.
JAVA: C:\dev\jdk\j2sdk1.4.2_06\bin\java
.
JAVA_OPTS: -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=kcobb_tyan:2767,suspend=y,server=n
-Dprogram.name=run.bat -Xms128m -Xmx512m
cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default
CLASSPATH:
C:\dev\jdk\j2sdk1.4.2_06\lib\tools.jar;C:\dev\jboss\jboss-4.0.0\bin
run.jar
.
.
===============================================================================
Connected to the target VM at '127.0.0.1:2767' using socket transport.
13:46:29,187 INFO Starting JBoss (MX MicroKernel)...
.
13:46:29,187 INFO Release ID: JBoss 4.0.0 (build:
CVSTag=JBoss_4_0_0 date=200409200418)
13:46:29,187 INFO Home Dir: C:\dev\jboss\jboss-4.0.0
13:46:29,187 INFO Home URL: file:/C:/dev/jboss/jboss-4.0.0/
13:46:29,187 INFO Library URL: file:/C:/dev/jboss/jboss-4.0.0/lib/
13:46:29,187 INFO Patch URL: null
13:46:29,187 INFO Server Home Dir:
C:\dev\jboss\jboss-4.0.0\server\default
13:46:29,187 INFO Server Name: default
13:46:29,187 INFO Server Home URL:
file:/C:/dev/jboss/jboss-4.0.0/server/default/
13:46:29,187 INFO Server Data Dir:
C:\dev\jboss\jboss-4.0.0\server\default\data
13:46:29,203 INFO Server Temp Dir:
C:\dev\jboss\jboss-4.0.0\server\default\tmp
13:46:29,203 INFO Server Library URL:
file:/C:/dev/jboss/jboss-4.0.0/server/default/lib/
13:46:29,203 INFO Root Deployment Filename: jboss-service.xml
13:46:29,203 INFO Server Config URL:
file:/C:/dev/jboss/jboss-4.0.0/server/default/conf/
13:46:30,468 INFO Java version: 1.4.2_06,Sun Microsystems Inc.
13:46:29,203 INFO Starting General Purpose Architecture (GPA)...
13:46:30,468 INFO Java VM: Java HotSpot(TM) Client VM
1.4.2_06-b03,Sun Microsystems Inc.
13:46:32,500 INFO Core system initialized
13:46:30,468 INFO OS-System: Windows 2000 5.0,x86
13:46:38,828 INFO Configuring from
URL: resource:log4j.xml
13:46:39,671 INFO Started jnpPort=1099, rmiPort=1098,
backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server
SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
13:46:39,140 INFO Using RMI server codebase:
http://kcobb_tyan:8083/
13:46:47,234 INFO Catalina naming disabled
13:46:48,875 INFO Initialization processed in 1469 ms
13:46:48,765 INFO Initializing Coyote HTTP/1.1 on
http-0.0.0.0-8080
13:46:48,890 INFO Starting Servlet Engine: Apache
Tomcat/5.0.28
13:46:48,875 INFO Starting service jboss.web
13:46:48,968 INFO XML validation disabled
13:46:49,031 INFO Server startup in 156 ms
13:46:50,250 INFO Dual registration of jndi stream
handler: factory already defined
13:46:49,406 INFO deploy, ctxPath=/ebxmlrr,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/
13:46:51,156 INFO Initialized REST
13:46:52,390 INFO init
13:46:51,390 INFO init
13:46:52,937 INFO deploy, ctxPath=/ws4ee,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25938jboss-ws4ee-exp.war/
13:46:55,593 INFO
13:46:53,281 INFO deploy, ctxPath=/,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
13:46:55,593 INFO [ File .\jacorb.properties for configuration
jacorb not found ]
13:46:56,343 INFO InterceptorManager started with 2 SIs,
2 CIs and 4 IORIs
13:46:56,718 INFO ORB run
13:46:57,140 INFO Naming:

13:46:57,500 INFO re-Bound name: TransactionService
13:46:57,500 INFO TransactionFactory:

13:46:57,515 INFO re-Bound name: UserTransaction
13:46:59,718 INFO Required license terms exist view the
META-INF/ra.xml:
file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-local-jdbc.rar
13:47:00,062 INFO Required license terms exist view the
META-INF/ra.xml:
file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-xa-jdbc.rar
13:47:00,328 INFO Required license terms exist view the
META-INF/ra.xml:
file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jms/jms-ra.rar
13:47:04,578 INFO Bound connection
factory for resource adapter for ConnectionManager
'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name
'java:JmsXA'
13:47:03,968 INFO Bound connection factory
for resource adapter for ConnectionManager
'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name
'java:DefaultDS'
13:47:04,640 INFO Bound connection factory
for resource adapter for ConnectionManager
'jboss.jca:name=/bookhistappDS,service=DataSourceBinding to JNDI name
'java:/bookhistappDS'
13:47:06,000 INFO Bound to JNDI name: queue/A
13:47:06,015 INFO Bound to JNDI name: queue/B
13:47:06,015 INFO Bound to JNDI name: queue/C
13:47:06,015 INFO Bound to JNDI name: queue/D
13:47:06,031 INFO Bound to JNDI name: queue/ex
13:47:06,500 INFO Bound to JNDI name: topic/testTopic
13:47:06,500 INFO Bound to JNDI name:
topic/testDurableTopic
13:47:06,500 INFO Bound to JNDI name: topic/securedTopic
13:47:06,515 INFO Bound to JNDI name: queue/testQueue
13:47:07,046 INFO JBossMQ UIL service available at
: /0.0.0.0:8093
13:47:06,515 INFO Bound to JNDI name: queue/DLQ
13:47:08,109 INFO Mail Service bound to java:/Mail
13:47:31,687 INFO deploy, ctxPath=/jmx-console,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jmx-console.war/
13:47:32,203 INFO deploy, ctxPath=/justicexchange,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
13:47:33,375 INFO deploy, ctxPath=/web-console,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/management/web-console.war/
13:47:38,375 INFO Starting Coyote HTTP/1.1 on
http-0.0.0.0-8080
13:47:36,843 INFO deploy, ctxPath=/justicexchange,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25990module29762-exp.war/
13:47:38,765 INFO JK2: ajp13 listening on /0.0.0.0:8009
13:47:38,812 INFO JBoss (MX MicroKernel) [4.0.0 (build:
CVSTag=JBoss_4_0_0 date=200409200418)] Started in 1m:9s:78ms
13:47:38,796 INFO Jk running ID=0 time=0/109 config=null
Connected to server
13:47:40,406 INFO undeploy, ctxPath=/justicexchange,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
13:47:40,546 INFO deploy, ctxPath=/justicexchange,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
13:47:41,593 INFO Registration is not done -> stop
13:47:41,578 INFO Registration is not done -> stop





--
Norris Shelton
Sun Certified Java Programmer




Attachment(s):
moz-screenshot-8.jpg
8 comments

Norris,

It is uncommom to create the war file directly inside the deploy
directory. Normally the war file is created inside the project directory
and then deployed to the server by the plugin.

If you create the war file directly inside the deploy directory, then
you shouldn't deploy it another time by the plugin - it is already
deployed automatically.

From the log file I can see that the first (automatic) deployment seems
to work, but the second (plugin) deployment fails.

Try to either create the war file outside the deploy directory or to
avoid deploying it by the plugin.

Norris Shelton wrote:

This was working correctly, now when it appears to start correctly, but
instead of opening a browser window, it eventually displays this message:


I have Apache2 in front and it sends justicexchange.localhost to
localhost:8080/justicexchange. When I try to connect to it directly
(http://localhost:8080/justicexchange/watch/watchList.jsp, I get a 404.
Hitting localhost:8080 gives me the normal JBoss home page.

I am deploying to server\default\deploy\justicexchange.war and there is
a WEB-INF/jboss-config.xml file. It only sets the context root to
/justicexchange. I have uninstalled/installed the plugin, but still get
the message.

here is the log output:
cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\dev\jboss\jboss-4.0.0\bin
..
.
JAVA: C:\dev\jdk\j2sdk1.4.2_06\bin\java
.
JAVA_OPTS: -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=kcobb_tyan:2767,suspend=y,server=n
-Dprogram.name=run.bat -Xms128m -Xmx512m
cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default
CLASSPATH:
C:\dev\jdk\j2sdk1.4.2_06\lib\tools.jar;C:\dev\jboss\jboss-4.0.0\bin
run.jar
.
.
===============================================================================
Connected to the target VM at '127.0.0.1:2767' using socket transport.
13:46:29,187 INFO Starting JBoss (MX MicroKernel)...
.
13:46:29,187 INFO Release ID: JBoss 4.0.0 (build:
CVSTag=JBoss_4_0_0 date=200409200418)
13:46:29,187 INFO Home Dir: C:\dev\jboss\jboss-4.0.0
13:46:29,187 INFO Home URL: file:/C:/dev/jboss/jboss-4.0.0/
13:46:29,187 INFO Library URL: file:/C:/dev/jboss/jboss-4.0.0/lib/
13:46:29,187 INFO Patch URL: null
13:46:29,187 INFO Server Home Dir:
C:\dev\jboss\jboss-4.0.0\server\default
13:46:29,187 INFO Server Name: default
13:46:29,187 INFO Server Home URL:
file:/C:/dev/jboss/jboss-4.0.0/server/default/
13:46:29,187 INFO Server Data Dir:
C:\dev\jboss\jboss-4.0.0\server\default\data
13:46:29,203 INFO Server Temp Dir:
C:\dev\jboss\jboss-4.0.0\server\default\tmp
13:46:29,203 INFO Server Library URL:
file:/C:/dev/jboss/jboss-4.0.0/server/default/lib/
13:46:29,203 INFO Root Deployment Filename: jboss-service.xml
13:46:29,203 INFO Server Config URL:
file:/C:/dev/jboss/jboss-4.0.0/server/default/conf/
13:46:30,468 INFO Java version: 1.4.2_06,Sun Microsystems Inc.
13:46:29,203 INFO Starting General Purpose Architecture (GPA)...
13:46:30,468 INFO Java VM: Java HotSpot(TM) Client VM
1.4.2_06-b03,Sun Microsystems Inc.
13:46:32,500 INFO Core system initialized
13:46:30,468 INFO OS-System: Windows 2000 5.0,x86
13:46:38,828 INFO Configuring from
URL: resource:log4j.xml
13:46:39,671 INFO Started jnpPort=1099, rmiPort=1098,
backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server
SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
13:46:39,140 INFO Using RMI server codebase:
http://kcobb_tyan:8083/
13:46:47,234 INFO Catalina naming disabled
13:46:48,875 INFO Initialization processed in 1469 ms
13:46:48,765 INFO Initializing Coyote HTTP/1.1 on
http-0.0.0.0-8080
13:46:48,890 INFO Starting Servlet Engine: Apache
Tomcat/5.0.28
13:46:48,875 INFO Starting service jboss.web
13:46:48,968 INFO XML validation disabled
13:46:49,031 INFO Server startup in 156 ms
13:46:50,250 INFO Dual registration of jndi stream
handler: factory already defined
13:46:49,406 INFO deploy, ctxPath=/ebxmlrr,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/
13:46:51,156 INFO Initialized REST
13:46:52,390 INFO init
13:46:51,390 INFO init
13:46:52,937 INFO deploy, ctxPath=/ws4ee,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25938jboss-ws4ee-exp.war/
13:46:55,593 INFO
13:46:53,281 INFO deploy, ctxPath=/,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
13:46:55,593 INFO [ File .\jacorb.properties for configuration
jacorb not found ]
13:46:56,343 INFO InterceptorManager started with 2 SIs,
2 CIs and 4 IORIs
13:46:56,718 INFO ORB run
13:46:57,140 INFO Naming:

13:46:57,500 INFO re-Bound name: TransactionService
13:46:57,500 INFO TransactionFactory:

13:46:57,515 INFO re-Bound name: UserTransaction
13:46:59,718 INFO Required license terms exist view the
META-INF/ra.xml:
file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-local-jdbc.rar
13:47:00,062 INFO Required license terms exist view the
META-INF/ra.xml:
file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-xa-jdbc.rar
13:47:00,328 INFO Required license terms exist view the
META-INF/ra.xml:
file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jms/jms-ra.rar
13:47:04,578 INFO Bound connection
factory for resource adapter for ConnectionManager
'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name
'java:JmsXA'
13:47:03,968 INFO Bound connection factory
for resource adapter for ConnectionManager
'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name
'java:DefaultDS'
13:47:04,640 INFO Bound connection factory
for resource adapter for ConnectionManager
'jboss.jca:name=/bookhistappDS,service=DataSourceBinding to JNDI name
'java:/bookhistappDS'
13:47:06,000 INFO Bound to JNDI name: queue/A
13:47:06,015 INFO Bound to JNDI name: queue/B
13:47:06,015 INFO Bound to JNDI name: queue/C
13:47:06,015 INFO Bound to JNDI name: queue/D
13:47:06,031 INFO Bound to JNDI name: queue/ex
13:47:06,500 INFO Bound to JNDI name: topic/testTopic
13:47:06,500 INFO Bound to JNDI name:
topic/testDurableTopic
13:47:06,500 INFO Bound to JNDI name: topic/securedTopic
13:47:06,515 INFO Bound to JNDI name: queue/testQueue
13:47:07,046 INFO JBossMQ UIL service available at
: /0.0.0.0:8093
13:47:06,515 INFO Bound to JNDI name: queue/DLQ
13:47:08,109 INFO Mail Service bound to java:/Mail
13:47:31,687 INFO deploy, ctxPath=/jmx-console,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jmx-console.war/
13:47:32,203 INFO deploy, ctxPath=/justicexchange,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
13:47:33,375 INFO deploy, ctxPath=/web-console,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/management/web-console.war/
13:47:38,375 INFO Starting Coyote HTTP/1.1 on
http-0.0.0.0-8080
13:47:36,843 INFO deploy, ctxPath=/justicexchange,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25990module29762-exp.war/
13:47:38,765 INFO JK2: ajp13 listening on /0.0.0.0:8009
13:47:38,812 INFO JBoss (MX MicroKernel) [4.0.0 (build:
CVSTag=JBoss_4_0_0 date=200409200418)] Started in 1m:9s:78ms
13:47:38,796 INFO Jk running ID=0 time=0/109 config=null
Connected to server
13:47:40,406 INFO undeploy, ctxPath=/justicexchange,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
13:47:40,546 INFO deploy, ctxPath=/justicexchange,
warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
13:47:41,593 INFO Registration is not done -> stop
13:47:41,578 INFO Registration is not done -> stop





--
Norris Shelton
Sun Certified Java Programmer

0

My JBoss is in c:\dev\jboss\jboss 4.0.0 and I use default. I now deploy
my webapps to c:\dev\jboss\webapps.

The server appears to start normally, then I get:
Error message: Original exception:
org.jboss.deployment.DeploymentException: url
file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war
could not be opened, does it exist?

at org.jboss.deployment.DeploymentInfo.]]>(DeploymentInfo.java:168)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:708)

at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:250)

at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775)

at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)

at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)

at sun.rmi.transport.Transport$1.run(Transport.java:148)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

at java.lang.Thread.run(Thread.java:534)

and then:




Norris Shelton
Sun Certified Java Programmer




Martin Fuhrer wrote:

Norris,

>

It is uncommom to create the war file directly inside the deploy
directory. Normally the war file is created inside the project
directory and then deployed to the server by the plugin.

>

If you create the war file directly inside the deploy directory, then
you shouldn't deploy it another time by the plugin - it is already
deployed automatically.

>

From the log file I can see that the first (automatic) deployment
seems to work, but the second (plugin) deployment fails.

>

Try to either create the war file outside the deploy directory or to
avoid deploying it by the plugin.

>

Norris Shelton wrote:

>
>> This was working correctly, now when it appears to start correctly,
>> but instead of opening a browser window, it eventually displays this
>> message:
>>
>>
>> I have Apache2 in front and it sends justicexchange.localhost to
>> localhost:8080/justicexchange. When I try to connect to it directly
>> (http://localhost:8080/justicexchange/watch/watchList.jsp, I get a
>> 404. Hitting localhost:8080 gives me the normal JBoss home page.
>>
>> I am deploying to server\default\deploy\justicexchange.war and there
>> is a WEB-INF/jboss-config.xml file. It only sets the context root to
>> /justicexchange. I have uninstalled/installed the plugin, but still
>> get the message.
>>
>> here is the log output:
>> cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default
>> ===============================================================================
>>
>> .
>> JBoss Bootstrap Environment
>> .
>> JBOSS_HOME: C:\dev\jboss\jboss-4.0.0\bin
..
>> .
>> JAVA: C:\dev\jdk\j2sdk1.4.2_06\bin\java
>> .
>> JAVA_OPTS: -Xdebug -Xnoagent -Djava.compiler=NONE
>> -Xrunjdwp:transport=dt_socket,address=kcobb_tyan:2767,suspend=y,server=n
>> -Dprogram.name=run.bat -Xms128m -Xmx512m
>> cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default
>> CLASSPATH:
>> C:\dev\jdk\j2sdk1.4.2_06\lib\tools.jar;C:\dev\jboss\jboss-4.0.0\bin
run.jar
>>
>> .
>> .
>> ===============================================================================
>>
>> Connected to the target VM at '127.0.0.1:2767' using socket transport.
>> 13:46:29,187 INFO Starting JBoss (MX MicroKernel)...
>> .
>> 13:46:29,187 INFO Release ID: JBoss 4.0.0 (build:
>> CVSTag=JBoss_4_0_0 date=200409200418)
>> 13:46:29,187 INFO Home Dir: C:\dev\jboss\jboss-4.0.0
>> 13:46:29,187 INFO Home URL: file:/C:/dev/jboss/jboss-4.0.0/
>> 13:46:29,187 INFO Library URL:
>> file:/C:/dev/jboss/jboss-4.0.0/lib/
>> 13:46:29,187 INFO Patch URL: null
>> 13:46:29,187 INFO Server Home Dir:
>> C:\dev\jboss\jboss-4.0.0\server\default
>> 13:46:29,187 INFO Server Name: default
>> 13:46:29,187 INFO Server Home URL:
>> file:/C:/dev/jboss/jboss-4.0.0/server/default/
>> 13:46:29,187 INFO Server Data Dir:
>> C:\dev\jboss\jboss-4.0.0\server\default\data
>> 13:46:29,203 INFO Server Temp Dir:
>> C:\dev\jboss\jboss-4.0.0\server\default\tmp
>> 13:46:29,203 INFO Server Library URL:
>> file:/C:/dev/jboss/jboss-4.0.0/server/default/lib/
>> 13:46:29,203 INFO Root Deployment Filename: jboss-service.xml
>> 13:46:29,203 INFO Server Config URL:
>> file:/C:/dev/jboss/jboss-4.0.0/server/default/conf/
>> 13:46:30,468 INFO Java version: 1.4.2_06,Sun
>> Microsystems Inc.
>> 13:46:29,203 INFO Starting General Purpose Architecture
>> (GPA)...
>> 13:46:30,468 INFO Java VM: Java HotSpot(TM) Client VM
>> 1.4.2_06-b03,Sun Microsystems Inc.
>> 13:46:32,500 INFO Core system initialized
>> 13:46:30,468 INFO OS-System: Windows 2000 5.0,x86
>> 13:46:38,828 INFO Configuring from
>> URL: resource:log4j.xml
>> 13:46:39,671 INFO Started jnpPort=1099,
>> rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client
>> SocketFactory=null, Server
>> SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
>> 13:46:39,140 INFO Using RMI server codebase:
>> http://kcobb_tyan:8083/
>> 13:46:47,234 INFO Catalina naming disabled
>> 13:46:48,875 INFO Initialization processed in 1469 ms
>> 13:46:48,765 INFO Initializing Coyote HTTP/1.1 on
>> http-0.0.0.0-8080
>> 13:46:48,890 INFO Starting Servlet Engine: Apache
>> Tomcat/5.0.28
>> 13:46:48,875 INFO Starting service jboss.web
>> 13:46:48,968 INFO XML validation disabled
>> 13:46:49,031 INFO Server startup in 156 ms
>> 13:46:50,250 INFO Dual registration of jndi stream
>> handler: factory already defined
>> 13:46:49,406 INFO deploy, ctxPath=/ebxmlrr,
>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/
>>
>> 13:46:51,156 INFO Initialized REST
>> 13:46:52,390 INFO init
>> 13:46:51,390 INFO init
>> 13:46:52,937 INFO deploy, ctxPath=/ws4ee,
>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25938jboss-ws4ee-exp.war/
>>
>> 13:46:55,593 INFO
>> 13:46:53,281 INFO deploy, ctxPath=/,
>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
>>
>> 13:46:55,593 INFO [ File .\jacorb.properties for
>> configuration jacorb not found ]
>> 13:46:56,343 INFO InterceptorManager started with 2
>> SIs, 2 CIs and 4 IORIs
>> 13:46:56,718 INFO ORB run
>> 13:46:57,140 INFO Naming:
>>
>>
>> 13:46:57,500 INFO re-Bound name: TransactionService
>> 13:46:57,500 INFO TransactionFactory:
>>
>>
>> 13:46:57,515 INFO re-Bound name: UserTransaction
>> 13:46:59,718 INFO Required license terms exist view
>> the META-INF/ra.xml:
>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-local-jdbc.rar
>>
>> 13:47:00,062 INFO Required license terms exist view
>> the META-INF/ra.xml:
>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-xa-jdbc.rar
>> 13:47:00,328 INFO Required license terms exist view
>> the META-INF/ra.xml:
>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jms/jms-ra.rar
>> 13:47:04,578 INFO Bound connection
>> factory for resource adapter for ConnectionManager
>> 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name
>> 'java:JmsXA'
>> 13:47:03,968 INFO Bound connection
>> factory for resource adapter for ConnectionManager
>> 'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name
>> 'java:DefaultDS'
>> 13:47:04,640 INFO Bound connection
>> factory for resource adapter for ConnectionManager
>> 'jboss.jca:name=/bookhistappDS,service=DataSourceBinding to JNDI name
>> 'java:/bookhistappDS'
>> 13:47:06,000 INFO Bound to JNDI name: queue/A
>> 13:47:06,015 INFO Bound to JNDI name: queue/B
>> 13:47:06,015 INFO Bound to JNDI name: queue/C
>> 13:47:06,015 INFO Bound to JNDI name: queue/D
>> 13:47:06,031 INFO Bound to JNDI name: queue/ex
>> 13:47:06,500 INFO Bound to JNDI name: topic/testTopic
>> 13:47:06,500 INFO Bound to JNDI name:
>> topic/testDurableTopic
>> 13:47:06,500 INFO Bound to JNDI name: topic/securedTopic
>> 13:47:06,515 INFO Bound to JNDI name: queue/testQueue
>> 13:47:07,046 INFO JBossMQ UIL service available
>> at : /0.0.0.0:8093
>> 13:47:06,515 INFO Bound to JNDI name: queue/DLQ
>> 13:47:08,109 INFO Mail Service bound to java:/Mail
>> 13:47:31,687 INFO deploy, ctxPath=/jmx-console,
>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jmx-console.war/
>>
>> 13:47:32,203 INFO deploy, ctxPath=/justicexchange,
>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
>>
>> 13:47:33,375 INFO deploy, ctxPath=/web-console,
>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/management/web-console.war/
>>
>> 13:47:38,375 INFO Starting Coyote HTTP/1.1 on
>> http-0.0.0.0-8080
>> 13:47:36,843 INFO deploy, ctxPath=/justicexchange,
>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25990module29762-exp.war/
>>
>> 13:47:38,765 INFO JK2: ajp13 listening on /0.0.0.0:8009
>> 13:47:38,812 INFO JBoss (MX MicroKernel) [4.0.0 (build:
>> CVSTag=JBoss_4_0_0 date=200409200418)] Started in 1m:9s:78ms
>> 13:47:38,796 INFO Jk running ID=0 time=0/109 config=null
>> Connected to server
>> 13:47:40,406 INFO undeploy,
>> ctxPath=/justicexchange,
>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
>>
>> 13:47:40,546 INFO deploy, ctxPath=/justicexchange,
>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
>>
>> 13:47:41,593 INFO Registration is not done -> stop
>> 13:47:41,578 INFO Registration is not done -> stop
>>
>>
>>
>>
>>
>> --
>> Norris Shelton
>> Sun Certified Java Programmer
>>
>>



Attachment(s):
moz-screenshot-8.jpg
0

But somehow IDEA didn't notice the changed location. The location of the
war file IDEA asks the plugin to deploy is still the servers deploy
directory. Instead the deployment url should be
file:/C:/dev/jboss/webapps/justicexchange.war. Can you please try to
'Rebuild Project', hopefully IDEA will then pick up the change.

Norris Shelton wrote:

My JBoss is in c:\dev\jboss\jboss 4.0.0 and I use default. I now deploy
my webapps to c:\dev\jboss\webapps.

The server appears to start normally, then I get:
Error message: Original exception:
org.jboss.deployment.DeploymentException: url
file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war
could not be opened, does it exist?

at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:168)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:708)

at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:250)

at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775)

at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)

at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)

at sun.rmi.transport.Transport$1.run(Transport.java:148)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

at java.lang.Thread.run(Thread.java:534)

and then:




Norris Shelton
Sun Certified Java Programmer




Martin Fuhrer wrote:

>> Norris,
>>
>> It is uncommom to create the war file directly inside the deploy
>> directory. Normally the war file is created inside the project
>> directory and then deployed to the server by the plugin.
>>
>> If you create the war file directly inside the deploy directory, then
>> you shouldn't deploy it another time by the plugin - it is already
>> deployed automatically.
>>
>> From the log file I can see that the first (automatic) deployment
>> seems to work, but the second (plugin) deployment fails.
>>
>> Try to either create the war file outside the deploy directory or to
>> avoid deploying it by the plugin.
>>
>> Norris Shelton wrote:
>>
>>> This was working correctly, now when it appears to start correctly,
>>> but instead of opening a browser window, it eventually displays this
>>> message:
>>>
>>>
>>> I have Apache2 in front and it sends justicexchange.localhost to
>>> localhost:8080/justicexchange. When I try to connect to it directly
>>> (http://localhost:8080/justicexchange/watch/watchList.jsp, I get a
>>> 404. Hitting localhost:8080 gives me the normal JBoss home page.
>>>
>>> I am deploying to server\default\deploy\justicexchange.war and there
>>> is a WEB-INF/jboss-config.xml file. It only sets the context root to
>>> /justicexchange. I have uninstalled/installed the plugin, but still
>>> get the message.
>>>
>>> here is the log output:
>>> cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default
>>> ===============================================================================
>>>
>>> .
>>> JBoss Bootstrap Environment
>>> .
>>> JBOSS_HOME: C:\dev\jboss\jboss-4.0.0\bin
..
>>> .
>>> JAVA: C:\dev\jdk\j2sdk1.4.2_06\bin\java
>>> .
>>> JAVA_OPTS: -Xdebug -Xnoagent -Djava.compiler=NONE
>>> -Xrunjdwp:transport=dt_socket,address=kcobb_tyan:2767,suspend=y,server=n
>>> -Dprogram.name=run.bat -Xms128m -Xmx512m
>>> cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default
>>> CLASSPATH:
>>> C:\dev\jdk\j2sdk1.4.2_06\lib\tools.jar;C:\dev\jboss\jboss-4.0.0\bin
run.jar
>>>
>>> .
>>> .
>>> ===============================================================================
>>>
>>> Connected to the target VM at '127.0.0.1:2767' using socket transport.
>>> 13:46:29,187 INFO Starting JBoss (MX MicroKernel)...
>>> .
>>> 13:46:29,187 INFO Release ID: JBoss 4.0.0 (build:
>>> CVSTag=JBoss_4_0_0 date=200409200418)
>>> 13:46:29,187 INFO Home Dir: C:\dev\jboss\jboss-4.0.0
>>> 13:46:29,187 INFO Home URL: file:/C:/dev/jboss/jboss-4.0.0/
>>> 13:46:29,187 INFO Library URL:
>>> file:/C:/dev/jboss/jboss-4.0.0/lib/
>>> 13:46:29,187 INFO Patch URL: null
>>> 13:46:29,187 INFO Server Home Dir:
>>> C:\dev\jboss\jboss-4.0.0\server\default
>>> 13:46:29,187 INFO Server Name: default
>>> 13:46:29,187 INFO Server Home URL:
>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/
>>> 13:46:29,187 INFO Server Data Dir:
>>> C:\dev\jboss\jboss-4.0.0\server\default\data
>>> 13:46:29,203 INFO Server Temp Dir:
>>> C:\dev\jboss\jboss-4.0.0\server\default\tmp
>>> 13:46:29,203 INFO Server Library URL:
>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/lib/
>>> 13:46:29,203 INFO Root Deployment Filename: jboss-service.xml
>>> 13:46:29,203 INFO Server Config URL:
>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/conf/
>>> 13:46:30,468 INFO Java version: 1.4.2_06,Sun
>>> Microsystems Inc.
>>> 13:46:29,203 INFO Starting General Purpose Architecture
>>> (GPA)...
>>> 13:46:30,468 INFO Java VM: Java HotSpot(TM) Client VM
>>> 1.4.2_06-b03,Sun Microsystems Inc.
>>> 13:46:32,500 INFO Core system initialized
>>> 13:46:30,468 INFO OS-System: Windows 2000 5.0,x86
>>> 13:46:38,828 INFO Configuring from
>>> URL: resource:log4j.xml
>>> 13:46:39,671 INFO Started jnpPort=1099,
>>> rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client
>>> SocketFactory=null, Server
>>> SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
>>> 13:46:39,140 INFO Using RMI server codebase:
>>> http://kcobb_tyan:8083/
>>> 13:46:47,234 INFO Catalina naming disabled
>>> 13:46:48,875 INFO Initialization processed in 1469 ms
>>> 13:46:48,765 INFO Initializing Coyote HTTP/1.1 on
>>> http-0.0.0.0-8080
>>> 13:46:48,890 INFO Starting Servlet Engine: Apache
>>> Tomcat/5.0.28
>>> 13:46:48,875 INFO Starting service jboss.web
>>> 13:46:48,968 INFO XML validation disabled
>>> 13:46:49,031 INFO Server startup in 156 ms
>>> 13:46:50,250 INFO Dual registration of jndi stream
>>> handler: factory already defined
>>> 13:46:49,406 INFO deploy, ctxPath=/ebxmlrr,
>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/
>>>
>>> 13:46:51,156 INFO Initialized REST
>>> 13:46:52,390 INFO init
>>> 13:46:51,390 INFO init
>>> 13:46:52,937 INFO deploy, ctxPath=/ws4ee,
>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25938jboss-ws4ee-exp.war/
>>>
>>> 13:46:55,593 INFO
>>> 13:46:53,281 INFO deploy, ctxPath=/,
>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
>>>
>>> 13:46:55,593 INFO [ File .\jacorb.properties for
>>> configuration jacorb not found ]
>>> 13:46:56,343 INFO InterceptorManager started with 2
>>> SIs, 2 CIs and 4 IORIs
>>> 13:46:56,718 INFO ORB run
>>> 13:46:57,140 INFO Naming:
>>>
>>>
>>> 13:46:57,500 INFO re-Bound name: TransactionService
>>> 13:46:57,500 INFO TransactionFactory:
>>>
>>>
>>> 13:46:57,515 INFO re-Bound name: UserTransaction
>>> 13:46:59,718 INFO Required license terms exist view
>>> the META-INF/ra.xml:
>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-local-jdbc.rar
>>>
>>> 13:47:00,062 INFO Required license terms exist view
>>> the META-INF/ra.xml:
>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-xa-jdbc.rar
>>> 13:47:00,328 INFO Required license terms exist view
>>> the META-INF/ra.xml:
>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jms/jms-ra.rar
>>> 13:47:04,578 INFO Bound connection
>>> factory for resource adapter for ConnectionManager
>>> 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name
>>> 'java:JmsXA'
>>> 13:47:03,968 INFO Bound connection
>>> factory for resource adapter for ConnectionManager
>>> 'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name
>>> 'java:DefaultDS'
>>> 13:47:04,640 INFO Bound connection
>>> factory for resource adapter for ConnectionManager
>>> 'jboss.jca:name=/bookhistappDS,service=DataSourceBinding to JNDI name
>>> 'java:/bookhistappDS'
>>> 13:47:06,000 INFO Bound to JNDI name: queue/A
>>> 13:47:06,015 INFO Bound to JNDI name: queue/B
>>> 13:47:06,015 INFO Bound to JNDI name: queue/C
>>> 13:47:06,015 INFO Bound to JNDI name: queue/D
>>> 13:47:06,031 INFO Bound to JNDI name: queue/ex
>>> 13:47:06,500 INFO Bound to JNDI name: topic/testTopic
>>> 13:47:06,500 INFO Bound to JNDI name:
>>> topic/testDurableTopic
>>> 13:47:06,500 INFO Bound to JNDI name: topic/securedTopic
>>> 13:47:06,515 INFO Bound to JNDI name: queue/testQueue
>>> 13:47:07,046 INFO JBossMQ UIL service available
>>> at : /0.0.0.0:8093
>>> 13:47:06,515 INFO Bound to JNDI name: queue/DLQ
>>> 13:47:08,109 INFO Mail Service bound to java:/Mail
>>> 13:47:31,687 INFO deploy, ctxPath=/jmx-console,
>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jmx-console.war/
>>>
>>> 13:47:32,203 INFO deploy, ctxPath=/justicexchange,
>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
>>>
>>> 13:47:33,375 INFO deploy, ctxPath=/web-console,
>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/management/web-console.war/
>>>
>>> 13:47:38,375 INFO Starting Coyote HTTP/1.1 on
>>> http-0.0.0.0-8080
>>> 13:47:36,843 INFO deploy, ctxPath=/justicexchange,
>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25990module29762-exp.war/
>>>
>>> 13:47:38,765 INFO JK2: ajp13 listening on /0.0.0.0:8009
>>> 13:47:38,812 INFO JBoss (MX MicroKernel) [4.0.0 (build:
>>> CVSTag=JBoss_4_0_0 date=200409200418)] Started in 1m:9s:78ms
>>> 13:47:38,796 INFO Jk running ID=0 time=0/109 config=null
>>> Connected to server
>>> 13:47:40,406 INFO undeploy,
>>> ctxPath=/justicexchange,
>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
>>>
>>> 13:47:40,546 INFO deploy, ctxPath=/justicexchange,
>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
>>>
>>> 13:47:41,593 INFO Registration is not done -> stop
>>> 13:47:41,578 INFO Registration is not done -> stop
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Norris Shelton
>>> Sun Certified Java Programmer
>>>
>>>

0

That did it. Thanks for your help.

Are you planning on supporting any of the 4.0.1 release candidates?

http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942
<http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942>

Norris Shelton
Sun Certified Java Programmer




Martin Fuhrer wrote:

But somehow IDEA didn't notice the changed location. The location of
the war file IDEA asks the plugin to deploy is still the servers
deploy directory. Instead the deployment url should be
file:/C:/dev/jboss/webapps/justicexchange.war. Can you please try to
'Rebuild Project', hopefully IDEA will then pick up the change.

>

Norris Shelton wrote:

>
>> My JBoss is in c:\dev\jboss\jboss 4.0.0 and I use default. I now
>> deploy my webapps to c:\dev\jboss\webapps.
>>
>> The server appears to start normally, then I get:
>> Error message: Original exception:
>> org.jboss.deployment.DeploymentException: url
>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war
>> could not be opened, does it exist?
>>
>> at
>> org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:168) >> >> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:708) >> >> at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) >> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> >> at java.lang.reflect.Method.invoke(Method.java:324) >> >> at >> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) >> >> >> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) >> >> at >> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119) >> >> >> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) >> >> at >> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131) >> >> >> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) >> >> at >> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) >> >> >> at >> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> >> at java.lang.reflect.Method.invoke(Method.java:324) >> >> at >> org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:250) >> >> >> at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source) >> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> >> at java.lang.reflect.Method.invoke(Method.java:324) >> >> at >> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) >> >> >> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) >> >> at >> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119) >> >> >> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) >> >> at >> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131) >> >> >> at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) >> >> at >> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) >> >> >> at >> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) >> >> at >> org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775) >> >> >> at >> org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382) >> >> >> at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) >> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> >> at java.lang.reflect.Method.invoke(Method.java:324) >> >> at >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) >> >> at sun.rmi.transport.Transport$1.run(Transport.java:148) >> >> at java.security.AccessController.doPrivileged(Native Method) >> >> at sun.rmi.transport.Transport.serviceCall(Transport.java:144) >> >> at >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) >> >> at >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) >> >> >> at java.lang.Thread.run(Thread.java:534) >> >> and then: >> >> >> >> >> Norris Shelton >> Sun Certified Java Programmer >> >> >> >> >> Martin Fuhrer wrote: >> >>> Norris, >>> >>> It is uncommom to create the war file directly inside the deploy >>> directory. Normally the war file is created inside the project >>> directory and then deployed to the server by the plugin. >>> >>> If you create the war file directly inside the deploy directory, >>> then you shouldn't deploy it another time by the plugin - it is >>> already deployed automatically. >>> >>> From the log file I can see that the first (automatic) deployment >>> seems to work, but the second (plugin) deployment fails. >>> >>> Try to either create the war file outside the deploy directory or to >>> avoid deploying it by the plugin. >>> >>> Norris Shelton wrote: >>> >>>> This was working correctly, now when it appears to start correctly, >>>> but instead of opening a browser window, it eventually displays >>>> this message: >>>> >>>> >>>> I have Apache2 in front and it sends justicexchange.localhost to >>>> localhost:8080/justicexchange. When I try to connect to it >>>> directly (http://localhost:8080/justicexchange/watch/watchList.jsp, >>>> I get a 404. Hitting localhost:8080 gives me the normal JBoss home >>>> page. >>>> >>>> I am deploying to server\default\deploy\justicexchange.war and >>>> there is a WEB-INF/jboss-config.xml file. It only sets the context >>>> root to /justicexchange. I have uninstalled/installed the plugin, >>>> but still get the message. >>>> >>>> here is the log output: >>>> cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default >>>> =============================================================================== >>>> >>>> . >>>> JBoss Bootstrap Environment >>>> . >>>>]]> JBOSS_HOME: C:\dev\jboss\jboss-4.0.0\bin
..
>>>> .
>>>> JAVA: C:\dev\jdk\j2sdk1.4.2_06\bin\java
>>>> .
>>>> JAVA_OPTS: -Xdebug -Xnoagent -Djava.compiler=NONE
>>>> -Xrunjdwp:transport=dt_socket,address=kcobb_tyan:2767,suspend=y,server=n
>>>> -Dprogram.name=run.bat -Xms128m -Xmx512m
>>>> cmd /c C:\dev\jboss\jboss-4.0.0\bin\run.bat -c default
>>>> CLASSPATH:
>>>> C:\dev\jdk\j2sdk1.4.2_06\lib\tools.jar;C:\dev\jboss\jboss-4.0.0\bin
run.jar
>>>>
>>>> .
>>>> .
>>>> ===============================================================================
>>>>
>>>> Connected to the target VM at '127.0.0.1:2767' using socket transport.
>>>> 13:46:29,187 INFO Starting JBoss (MX MicroKernel)...
>>>> .
>>>> 13:46:29,187 INFO Release ID: JBoss 4.0.0 (build:
>>>> CVSTag=JBoss_4_0_0 date=200409200418)
>>>> 13:46:29,187 INFO Home Dir: C:\dev\jboss\jboss-4.0.0
>>>> 13:46:29,187 INFO Home URL: file:/C:/dev/jboss/jboss-4.0.0/
>>>> 13:46:29,187 INFO Library URL:
>>>> file:/C:/dev/jboss/jboss-4.0.0/lib/
>>>> 13:46:29,187 INFO Patch URL: null
>>>> 13:46:29,187 INFO Server Home Dir:
>>>> C:\dev\jboss\jboss-4.0.0\server\default
>>>> 13:46:29,187 INFO Server Name: default
>>>> 13:46:29,187 INFO Server Home URL:
>>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/
>>>> 13:46:29,187 INFO Server Data Dir:
>>>> C:\dev\jboss\jboss-4.0.0\server\default\data
>>>> 13:46:29,203 INFO Server Temp Dir:
>>>> C:\dev\jboss\jboss-4.0.0\server\default\tmp
>>>> 13:46:29,203 INFO Server Library URL:
>>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/lib/
>>>> 13:46:29,203 INFO Root Deployment Filename:
>>>> jboss-service.xml
>>>> 13:46:29,203 INFO Server Config URL:
>>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/conf/
>>>> 13:46:30,468 INFO Java version: 1.4.2_06,Sun
>>>> Microsystems Inc.
>>>> 13:46:29,203 INFO Starting General Purpose Architecture
>>>> (GPA)...
>>>> 13:46:30,468 INFO Java VM: Java HotSpot(TM) Client VM
>>>> 1.4.2_06-b03,Sun Microsystems Inc.
>>>> 13:46:32,500 INFO Core system initialized
>>>> 13:46:30,468 INFO OS-System: Windows 2000 5.0,x86
>>>> 13:46:38,828 INFO Configuring
>>>> from URL: resource:log4j.xml
>>>> 13:46:39,671 INFO Started jnpPort=1099,
>>>> rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client
>>>> SocketFactory=null, Server
>>>> SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
>>>> 13:46:39,140 INFO Using RMI server codebase:
>>>> http://kcobb_tyan:8083/
>>>> 13:46:47,234 INFO Catalina naming disabled
>>>> 13:46:48,875 INFO Initialization processed in 1469 ms
>>>> 13:46:48,765 INFO Initializing Coyote HTTP/1.1 on
>>>> http-0.0.0.0-8080
>>>> 13:46:48,890 INFO Starting Servlet Engine: Apache
>>>> Tomcat/5.0.28
>>>> 13:46:48,875 INFO Starting service jboss.web
>>>> 13:46:48,968 INFO XML validation disabled
>>>> 13:46:49,031 INFO Server startup in 156 ms
>>>> 13:46:50,250 INFO Dual registration of jndi stream
>>>> handler: factory already defined
>>>> 13:46:49,406 INFO deploy, ctxPath=/ebxmlrr,
>>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/
>>>>
>>>> 13:46:51,156 INFO Initialized REST
>>>> 13:46:52,390 INFO init
>>>> 13:46:51,390 INFO init
>>>> 13:46:52,937 INFO deploy, ctxPath=/ws4ee,
>>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25938jboss-ws4ee-exp.war/
>>>>
>>>> 13:46:55,593 INFO
>>>> 13:46:53,281 INFO deploy, ctxPath=/,
>>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
>>>>
>>>> 13:46:55,593 INFO [ File .\jacorb.properties for
>>>> configuration jacorb not found ]
>>>> 13:46:56,343 INFO InterceptorManager started with 2
>>>> SIs, 2 CIs and 4 IORIs
>>>> 13:46:56,718 INFO ORB run
>>>> 13:46:57,140 INFO Naming:
>>>>
>>>>
>>>> 13:46:57,500 INFO re-Bound name: TransactionService
>>>> 13:46:57,500 INFO TransactionFactory:
>>>>
>>>>
>>>> 13:46:57,515 INFO re-Bound name: UserTransaction
>>>> 13:46:59,718 INFO Required license terms exist
>>>> view the META-INF/ra.xml:
>>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-local-jdbc.rar
>>>>
>>>> 13:47:00,062 INFO Required license terms exist
>>>> view the META-INF/ra.xml:
>>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jboss-xa-jdbc.rar
>>>> 13:47:00,328 INFO Required license terms exist
>>>> view the META-INF/ra.xml:
>>>> file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jms/jms-ra.rar
>>>> 13:47:04,578 INFO Bound
>>>> connection factory for resource adapter for ConnectionManager
>>>> 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name
>>>> 'java:JmsXA'
>>>> 13:47:03,968 INFO Bound connection
>>>> factory for resource adapter for ConnectionManager
>>>> 'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name
>>>> 'java:DefaultDS'
>>>> 13:47:04,640 INFO Bound connection
>>>> factory for resource adapter for ConnectionManager
>>>> 'jboss.jca:name=/bookhistappDS,service=DataSourceBinding to JNDI
>>>> name 'java:/bookhistappDS'
>>>> 13:47:06,000 INFO Bound to JNDI name: queue/A
>>>> 13:47:06,015 INFO Bound to JNDI name: queue/B
>>>> 13:47:06,015 INFO Bound to JNDI name: queue/C
>>>> 13:47:06,015 INFO Bound to JNDI name: queue/D
>>>> 13:47:06,031 INFO Bound to JNDI name: queue/ex
>>>> 13:47:06,500 INFO Bound to JNDI name: topic/testTopic
>>>> 13:47:06,500 INFO Bound to JNDI name:
>>>> topic/testDurableTopic
>>>> 13:47:06,500 INFO Bound to JNDI name:
>>>> topic/securedTopic
>>>> 13:47:06,515 INFO Bound to JNDI name: queue/testQueue
>>>> 13:47:07,046 INFO JBossMQ UIL service
>>>> available at : /0.0.0.0:8093
>>>> 13:47:06,515 INFO Bound to JNDI name: queue/DLQ
>>>> 13:47:08,109 INFO Mail Service bound to java:/Mail
>>>> 13:47:31,687 INFO deploy, ctxPath=/jmx-console,
>>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/jmx-console.war/
>>>>
>>>> 13:47:32,203 INFO deploy,
>>>> ctxPath=/justicexchange,
>>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
>>>>
>>>> 13:47:33,375 INFO deploy, ctxPath=/web-console,
>>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/management/web-console.war/
>>>>
>>>> 13:47:38,375 INFO Starting Coyote HTTP/1.1 on
>>>> http-0.0.0.0-8080
>>>> 13:47:36,843 INFO deploy,
>>>> ctxPath=/justicexchange,
>>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/tmp/deploy/tmp25990module29762-exp.war/
>>>>
>>>> 13:47:38,765 INFO JK2: ajp13 listening on
>>>> /0.0.0.0:8009
>>>> 13:47:38,812 INFO JBoss (MX MicroKernel) [4.0.0 (build:
>>>> CVSTag=JBoss_4_0_0 date=200409200418)] Started in 1m:9s:78ms
>>>> 13:47:38,796 INFO Jk running ID=0 time=0/109 config=null
>>>> Connected to server
>>>> 13:47:40,406 INFO undeploy,
>>>> ctxPath=/justicexchange,
>>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
>>>>
>>>> 13:47:40,546 INFO deploy,
>>>> ctxPath=/justicexchange,
>>>> warUrl=file:/C:/dev/jboss/jboss-4.0.0/server/default/deploy/justicexchange.war/
>>>>
>>>> 13:47:41,593 INFO Registration is not done -> stop
>>>> 13:47:41,578 INFO Registration is not done -> stop
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Norris Shelton
>>>> Sun Certified Java Programmer
>>>>
>>>>

0

Are you planning on supporting any of the 4.0.1
release candidates?


Yes, it's already done for IDEA 4.5 and internally for current EAP also. I'll upload the release tomorrow.

0

Do you know what changes are in 4.0.1? I can't find a changelog.

Norris Shelton
Sun Certified Java Programmer




Martin Fuhrer wrote:

>>Are you planning on supporting any of the 4.0.1
>>release candidates?
>>
>>
>
>Yes, it's already done for IDEA 4.5 and internally for current EAP also. I'll upload the release tomorrow.

>

0

Here they are:

http://sourceforge.net/docman/display_doc.php?docid=25358&group_id=22866
http://sourceforge.net/docman/display_doc.php?docid=25757&group_id=22866

Norris Shelton wrote:

Do you know what changes are in 4.0.1? I can't find a changelog.

Norris Shelton
Sun Certified Java Programmer




Martin Fuhrer wrote:

>>>Are you planning on supporting any of the 4.0.1
>>>release candidates?
>>>
>>>
>>
>>Yes, it's already done for IDEA 4.5 and internally for current EAP also. I'll upload the release tomorrow.
>>
>>

0

Thx.

Norris Shelton
Sun Certified Java Programmer




Martin Fuhrer wrote:

Here they are:

>

http://sourceforge.net/docman/display_doc.php?docid=25358&group_id=22866
http://sourceforge.net/docman/display_doc.php?docid=25757&group_id=22866

>

Norris Shelton wrote:

>
>> Do you know what changes are in 4.0.1? I can't find a changelog.
>>
>> Norris Shelton
>> Sun Certified Java Programmer
>>
>>
>>
>>
>> Martin Fuhrer wrote:
>>
>>>> Are you planning on supporting any of the 4.0.1
>>>> release candidates?
>>>>
>>>
>>>
>>> Yes, it's already done for IDEA 4.5 and internally for current EAP
>>> also. I'll upload the release tomorrow.
>>>
>>>

0

Please sign in to leave a comment.