-
1. Re: Help EAR will not deploy
jonlee Sep 15, 2003 8:59 PM (in response to jocarlyle)There are probably errors earlier in the log. Please show those ones - from server.log.
Also show the environment output from your screen console when JBoss starts. It should be something like this:
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: /java/JBoss-3.2.0/bin/..
.
JAVA: /java/j2sdk1.4.1/bin/java
.
JAVA_OPTS: -server -Dprogram.name=run.bat -Xms64m -Xmx256m
.
CLASSPATH: /java/j2sdk1.4.1/lib/tools.jar:/java/JBoss-3.2.0/bin/run.jar
.
===============================================================================
That will give a better indication of what it is barfing about. -
2. Re: Help EAR will not deploy
jocarlyle Sep 15, 2003 10:36 PM (in response to jocarlyle)The classpath are as followed:
=========================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/jboss-3.0.6
JAVA: /usr/java/j2sdk1.4.1_03/bin/java
JAVA_OPTS: -server -Dprogram.name=run.sh
CLASSPATH: /usr/jboss-3.0.6/bin/run.jar:/usr/java/j2sdk1.4.1_03/lib/tools.jar
============================================
I have attached the server.log
Thanks for your help -
3. Re: Help EAR will not deploy
jocarlyle Sep 15, 2003 11:49 PM (in response to jocarlyle)would help if i attached the file
-
4. Re: Help EAR will not deploy
jonlee Sep 15, 2003 11:53 PM (in response to jocarlyle)The instance you are trying to start seems to be clashing with an already running JBoss instance. If you look at the logs, there are several cases where the address cannot be bound or the port is already in use.
So shut down the old instance. You should be able to start clean then as the environment settings are fine for your new JDK. -
5. Re: Help EAR will not deploy
jocarlyle Sep 16, 2003 12:15 AM (in response to jocarlyle)Have rebooted the machine, the log looks better but still have the waiting for an appropriate deployer error for my ear.
The only other errors are that it can't write log file and a warning saying can't reuse /tmp/Jetty_0_0_0_0_8080__jmx-console, using /tmp/Jetty_0_0_0_0_8080__jmx-console_28383.
Don't understand what is going on :( -
6. Re: Help EAR will not deploy
jonlee Sep 16, 2003 6:56 AM (in response to jocarlyle)The write errors are being caused by lack of file permissions. You are probably starting JBoss now with an account that is different to the other instance. Since the other instance wrote the files first, it has ownership to write the files and directories. With a privileged account, change the ownership of the files in question to that of the account with which you are now starting JBoss. That should fix the problems.
-
7. Re: Help EAR will not deploy
jocarlyle Sep 16, 2003 5:01 PM (in response to jocarlyle)Hi
Changed the permissions so everyone has permission to do everything and still get the waiting for an appropriate deployer. Will attach the server.log again for you to have a look at.
Thanks for your help. -
8. Re: Help EAR will not deploy
jonlee Sep 16, 2003 5:56 PM (in response to jocarlyle)It doesn't look like it knows what to do with the EAR as I see no deployment information. Try renaming with lower-case .ear. e.g. NetWorthEx.ear.
-
9. Re: Help EAR will not deploy
jocarlyle Sep 16, 2003 6:46 PM (in response to jocarlyle)That has helped Thanks now the ear is trying to deploy but iam getting errors. Could you please have a look. I know what the dori/jasper/engine stuff is about but not sure how to fix it. Have put the library jar in the ear under the library file but not sure if this is right.
Thanks -
10. Re: Help EAR will not deploy
jonlee Sep 16, 2003 8:16 PM (in response to jocarlyle)I'm not sure what this helper library supports but assuming it is for only one WAR, you can put it in the WEB-INF/lib directory for your WAR. I'm assuming it is a JAR library, rather than just a single class, otherwise you would put it in the WEB-INF/classes directory instead.
-
11. Re: Help EAR will not deploy
jocarlyle Sep 16, 2003 8:27 PM (in response to jocarlyle)Have done that but it didn't make any different. Still got the same errors. Any other ideas?
Thanks -
12. Re: Help EAR will not deploy
jonlee Sep 16, 2003 8:30 PM (in response to jocarlyle)Strange. Try putting the helper library in the JBOSS_HOME/server/default/lib directory instead.
-
13. Re: Help EAR will not deploy
jocarlyle Sep 16, 2003 8:49 PM (in response to jocarlyle)Thank You so much Jonlee. It is how working great. You don't know what a weight off that is. Thanks Again