-
1. Re: JBoss 3.0 and Tomcat 4 Problem
kschmidt Apr 14, 2002 3:52 AM (in response to mklose)as far as i can tell all apps must be deployed as jar/war/ear files under jboss/deploy not under catalina. try http://localhost:8080/jboss to view the test app deployed under jboss
-
2. Re: JBoss 3.0 and Tomcat 4 Problem
mischulze Apr 16, 2002 10:17 AM (in response to mklose)Hi!
Unfortunately I also have the same problems...
I tried to deploy a WAR-File that worked fine unter JBoss 2.4.4 (just a simple App, so no version-trouble might be the reason). And I also can´t use the examples...
Do you have a solution already?
Thanks,
Michael -
3. Re: JBoss 3.0 and Tomcat 4 Problem
mulicheng Apr 16, 2002 1:56 PM (in response to mklose)I've compiled the lated CVS on Branch_3_0. When I deploy the tomcat-test.ear that is built in the catalina directory, I can access the index page ok. Tomcat seems to be working fine but the executing servlet can't talk to an ejb. I get:
java.lang.NullPointerException
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96)
at $Proxy23.create(Unknown Source)
at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:71)
at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:40)
(followd by the rest of tomcat's stack trace...)
This is the exact same problem I had with beta 2 before RC1 came out. Is the test app configured wrong?? Has anyone got it to work?
Thanks Dennis -
4. Re: JBoss 3.0 and Tomcat 4 Problem
mischulze Apr 17, 2002 6:01 AM (in response to mklose)I´ve got a solution! Remove the cluster-service.xml-File from your deploy-dir. That should work.
Please give me am message, if it really works!
Michael -
5. Re: JBoss 3.0 and Tomcat 4 Problem
lenua Apr 17, 2002 8:10 AM (in response to mklose)It did not help jboss.
I had the same problem with tomcat-test.
I have removed a file.
But exception has remained. -
6. Re: JBoss 3.0 and Tomcat 4 Problem
mischulze Apr 17, 2002 9:16 AM (in response to mklose)You still have the problem?
I don´t have that problem with self-deployed Archives now...
When you start your server, what is said in it´s window when it´s ready?
Does it "connect to a channel" or did is "start"?
You wrote you "had" this problem too, do you still have it? -
7. Re: JBoss 3.0 and Tomcat 4 Problem
kenwjennings Apr 19, 2002 6:22 PM (in response to mklose)Did anyone ever solve this? I'm having the same problem with tomcat-test.ear.
Ken -
8. Re: JBoss 3.0 and Tomcat 4 Problem
svevor Apr 22, 2002 11:13 PM (in response to mklose)I am using jboos-3RC1 bundle with tomcat-4.0.3
It works but to configure context i
went to /opt/jboss/server/default/deploy( new place for deploy directory in this version),
and find file tomcat4-service.xml
Then created context (in my case)as
Created interest.ear file which contain interest.war and
interest.jar pluss application.xml as descriptor.
Then deploy it to jboss.
look http://localhost:8080/interest to see the result.
interest example I took from free jboss documentation.
but rewrite client to servlet to use it in tomcat.
interest.ear attached. -
9. Re: JBoss 3.0 and Tomcat 4 Problem
dsnyckers Jul 4, 2002 10:01 AM (in response to mklose)Where exactly did you put the context lines in the tomcat4-service.xml file? I can't seem to get it working.
TIA -
10. Re: JBoss 3.0 and Tomcat 4 Problem
dsnyckers Jul 4, 2002 10:04 AM (in response to mklose)Where exactly did you put the context lines in the tomcat4-service.xml file? I can't seem to get it working.
TIA -
11. Re: JBoss 3.0 and Tomcat 4 Problem
benyao Jul 9, 2002 1:51 PM (in response to mklose)I've made it work as the default web root, my ear directory structure is as following:
root.ear\
root.ear\META-INF
root.ear\META-INF\application.xml
root.ear\root.war
root.ear\root.war\WEB-INF
root.ear\root.war\WEB-INF\web.xml
root.ear\root.war\test.jsp
And the content of application.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<display-name>ROOT</display-name
RootContext
<web-uri>root.war</web-uri>
<context-root> / </context-root>
After copy the whole directory "root.ear" to "deploy",
I can access the test.jsp with the url:
http://localhost:8080/test.jsp
For your reference.
benyao@so-net.net.tw -
12. Re: JBoss 3.0 and Tomcat 4 Problem
benyao Jul 9, 2002 1:53 PM (in response to mklose)I've made it work as the default web root, my ear directory structure is as following:
root.ear\
root.ear\META-INF
root.ear\META-INF\application.xml
root.ear\root.war
root.ear\root.war\WEB-INF
root.ear\root.war\WEB-INF\web.xml
root.ear\root.war\test.jsp
And the content of application.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<display-name>ROOT</display-name
RootContext
<web-uri>root.war</web-uri>
<context-root> / </context-root>
After copy the whole directory "root.ear" to "deploy",
I can access the test.jsp with the url:
http://localhost:8080/test.jsp
For your reference.
benyao@so-net.net.tw -
13. Re: JBoss 3.0 and Tomcat 4 Problem
benyao Jul 9, 2002 1:55 PM (in response to mklose)I've made it work as the default web root, my ear directory structure is as following:
root.ear\
root.ear\META-INF
root.ear\META-INF\application.xml
root.ear\root.war
root.ear\root.war\WEB-INF
root.ear\root.war\WEB-INF\web.xml
root.ear\root.war\test.jsp
And the content of application.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
<display-name>ROOT</display-name
RootContext
<web-uri>root.war</web-uri>
<context-root> / </context-root>
After copy the whole directory "root.ear" to "deploy",
I can access the test.jsp with the url:
http://localhost:8080/test.jsp
For your reference.
benyao@so-net.net.tw -
14. Re: JBoss 3.0 and Tomcat 4 Problem
benyao Jul 9, 2002 1:59 PM (in response to mklose)Sorry for the multi-post:p