hi!

thanks for your reply. i've just tried the latest version (cvs-zip of
21.2.2001) but it's still the same. when i try to connect to
192.168.0.2:8080 i get a "Connection refused". i also tried
192.168.0.2:8080/inet_export/index.jsp --> same result.

here's the relevant portion of the server log:

<snip>
...
[EmbeddedTomcat] Starting
[EmbeddedTomcat] Starting EmbeddedTomcat....
[EmbeddedTomcat] Starting tomcat. Check logs/tomcat.log for error messages
[EmbeddedTomcat] OK
[EmbeddedTomcat] StartedQ
....
[Auto deploy] Starting
[Auto deploy] Watching /usr/local/dist/deploy
[Auto deploy] Auto deploy of file:/usr/local/dist/deploy/inet_export.ear
[J2EE Deployer Default] Deploy J2EE application:
file:/usr/local/dist/deploy/inet_export.ear
[J2EE Deployer Default] Create application inet_export.ear
[J2EE Deployer Default] inflate and install module inet_export.war
[J2EE Deployer Default] install module inet_export.jar
[J2EE Deployer Default] Starting module inet_export.war
[Container factory]
Deploying:file:/usr/local/dist/tmp/deploy/Default/inet_export.ear
[Verifier] Verifying
file:/usr/local/dist/tmp/deploy/Default/inet_export.ear/ejb1002.jar
[Verifier] ExportBean: Verified.
[Container factory] Deploying ExportBean
[Container factory] Container Invoker RMI Port='4444'
[Container factory] Container Invoker Optimize='true'
[Container factory] Mapped Container method remove HASH -1842617161
[Container factory] Mapped Container method getEJBHome HASH -993218923
[Container factory] Mapped Container method getHandle HASH 1182305581
[Container factory] Mapped Container method getPrimaryKey HASH -131865408
[Container factory] Mapped Container method isIdentical HASH 285457048
[Container factory] Mapped export -329450762to public java.lang.String
com.ediorg.odyssey.inet.export.ejb.ExportBean.export(long,int,java.lang.Long) 

throws java.io.IOException,java.sql.SQLException
[Container factory] Mapped getAllExportGroups -1005678095to public
edi.util.EDIResultSetData
com.ediorg.odyssey.inet.export.ejb.ExportBean.getAllExportGroups()
throws java.sql.SQLException
[Container factory] Mapped resetTimestamp 1376411077to public void
com.ediorg.odyssey.inet.export.ejb.ExportBean.resetTimestamp(long)
throws java.sql.SQLException
[Container factory] Mapped resetTimestamp 1376411077to public void
com.ediorg.odyssey.inet.export.ejb.ExportBean.resetTimestamp(long,java.lang.String) 

throws java.sql.SQLException
[Container factory] Mapped exportOnlyComps -701829914to public
java.lang.String
com.ediorg.odyssey.inet.export.ejb.ExportBean.exportOnlyComps(int)
throws java.io.IOException,java.sql.SQLException
[Container factory] Mapping remove
[Container factory] Mapping remove
[Container factory] Mapping getEJBMetaData
[Container factory] Mapping getHomeHandle
[Container factory] Mapping create
[Container factory] JRMP 1.3 CI initialized
[Container factory] Bound ExportBean to ExportBean
[Container factory] Deployed application:
file:/usr/local/dist/tmp/deploy/Default/inet_export.ear
[J2EE Deployer Default] J2EE application:
file:/usr/local/dist/deploy/inet_export.ear is deployed.
[Auto deploy] Started

...
</snip>


and here's the relevant console output when starting jBoss:

<snip>
...
[EmbeddedTomcat] Starting
[EmbeddedTomcat] Starting EmbeddedTomcat....
2001-02-22 02:56:35 - ContextManager: Adding context Ctx( /examples )
[EmbeddedTomcat] Starting tomcat. Check logs/tomcat.log for error messages
2001-02-22 02:56:35 - ContextManager: Adding context Ctx( )
2001-02-22 02:56:36 - PoolTcpConnector: Starting Ajp12ConnectionHandler
on 8007
[EmbeddedTomcat] OK
[EmbeddedTomcat] Started
...
[J2EE Deployer Default] Starting
[J2EE Deployer Default] Cleaning up deployment directory
[J2EE Deployer Default] Started
[Auto deploy] Starting
[Auto deploy] Watching /usr/local/dist/deploy
[Auto deploy] Auto deploy of file:/usr/local/dist/deploy/inet_export.ear
[J2EE Deployer Default] Deploy J2EE application:
file:/usr/local/dist/deploy/inet_export.ear
[J2EE Deployer Default] Create application inet_export.ear
[J2EE Deployer Default] inflate and install module inet_export.war
[J2EE Deployer Default] install module inet_export.jar
[J2EE Deployer Default] Starting module inet_export.war
2001-02-22 02:56:39 - ContextManager: Adding context Ctx( /inet_export )
[Container factory]
Deploying:file:/usr/local/dist/tmp/deploy/Default/inet_export.ear
[Verifier] Verifying
file:/usr/local/dist/tmp/deploy/Default/inet_export.ear/ejb1002.jar
[Container factory] Deploying ExportBean
[Container factory] Deployed application:
file:/usr/local/dist/tmp/deploy/Default/inet_export.ear
[J2EE Deployer Default] J2EE application:
file:/usr/local/dist/deploy/inet_export.ear is deployed.
[Auto deploy] Started

</snip>


here is tomcat's servlet.log:

2001-02-22 02:56:36 - path="/examples" :jsp: init
2001-02-22 02:56:36 - path="" :jsp: init
2001-02-22 02:56:39 - path="/inet_export" :jsp: init


here is tomcat's jasper.log:

  > cat jasper.log
2001-02-22 03:22:50 - Scratch dir for the JSP engine is:
/usr/local/tomcat/work/localhost_8080%2Fexamples
2001-02-22 03:22:50 - IMPORTANT: Do not modify the generated servlets

i don't know if it helps, but here's the output of "netstat -t". i can't
find port 8080, but i'm not sure if i should see it...

  > netstat -t
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 localhost:clvm-cfg      localhost:dbsa-lm
ESTABLISHED
tcp        0      0 localhost:dbsa-lm       localhost:clvm-cfg
ESTABLISHED
tcp        0      0 dumpfbacke.:netbios-ssn 192.168.0.3:1036
ESTABLISHED
tcp        0      0 localhost:13000         localhost:1287
ESTABLISHED
tcp        0      0 localhost:1287          localhost:13000
ESTABLISHED
tcp        1      0 ::ffff:19:objective-dbc ::ffff:207.200:www-http
CLOSE_WAIT


i hope this helps. please help me, i don't know what i'm doing wrong!

tnx,

patrick

ps: an earlier release of jBoss/embedded tomcat  (cvs from 12.2. or so)
works perfectly!! (except the thing with the basic authentication...)



Anatoly Akkerman wrote:

 > This is strange, if tomcat is running, it is running on port 8080. 
Can you
 > post the portion of your server.log where EmbeddedTomcat start up 
messages
 > appear and deployment messages?
 >
 > On Wed, 21 Feb 2001, Patrick Buchinger wrote:
 >
 >> hi!
 >>
 >> thanks for your help, i downloaded the latest snapshot (20.2.2001) and
 >> compiled. now embedded tomcat seems to read tomcat's server.xml. but 
i'm
 >> not able to check if the new version solves my problem, because it
 >> raises a new one: nothing is running on port 8080??
 >>
 >> what is the port embedded tomcat now runs on? where can i change it?
 >>
 >> please help a very confused jboss user!
 >>
 >> tnx
 >>
 >> patrick
 >>
 >>
 >> Anatoly Akkerman wrote:
 >>
 >>> Update to the latest jboss. This is a well-known issue that has been
 >>> resolved very recently, when tomcat-service.jar was updated.
 >>>
 >>> 
-------------------------------------------------------------------------
 >>> Anatoly Akkerman
 >>> Computer Science Dept.
 >>> Courant Institute of Mathematical Sciences, NYU
 >>> 719 Broadway, #715                      Tel: 212 998-3525
 >>> New York, NY 10003                      Fax: 212 995-4123
 >>> 
-------------------------------------------------------------------------
 >>>
 >>> On Tue, 20 Feb 2001, Patrick Buchinger wrote:
 >>>
 >>>> hi everyone!
 >>>>
 >>>> i just tried to protect parts of a webapplication by BASIC
 >>>> authentication. i followed the steps described on the tomcat 
homepage,
 >>>> and everything works just great if i run tomcat and jboss seperatly.
 >>>>
 >>>> now i created an .ear file so that i can deploy it on jboss/embedded
 >>>> tomcat. the file deploys perfectly, but it seams that embedded tomcat
 >>>> completly ignores the authentication-part! request.getRemoteUser()
 >>>> returns null - which is clear because the login-box never appears.
 >>>>
 >>>> i don't think that there's something wrong in my web.xml file, 
because
 >>>> within stand-alone tomcat everything works perfect!
 >>>>
 >>>> but to be sure, here's my web.xml:
 >>>>
 >>>> <?xml version="1.0" encoding="ISO-8859-1"?>
 >>>>
 >>>> <!DOCTYPE web-app
 >>>>    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
 >>>>    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
 >>>>
 >>>> <web-app>
 >>>>   <session-config>
 >>>>    <session-timeout>30</session-timeout>
 >>>>   </session-config>
 >>>>
 >>>>   <welcome-file-list>
 >>>>    <welcome-file>index.jsp</welcome-file>
 >>>>   </welcome-file-list>
 >>>>
 >>>>   <security-constraint>
 >>>>    <web-resource-collection>
 >>>>      <web-resource-name>Protected Area</web-resource-name>
 >>>>      <!-- Define the context-relative URL(s) to be protected -->
 >>>>      <url-pattern>/*</url-pattern>
 >>>>      <!-- If you list http methods, only those methods are 
protected -->
 >>>>      <http-method>DELETE</http-method>
 >>>>      <http-method>GET</http-method>
 >>>>      <http-method>POST</http-method>
 >>>>      <http-method>PUT</http-method>
 >>>>    </web-resource-collection>
 >>>>
 >>>>    <auth-constraint>
 >>>>      <!-- Anyone with one of the listed roles may access this area -->
 >>>>      <role-name>inet_export</role-name>
 >>>>    </auth-constraint>
 >>>>   </security-constraint>
 >>>>
 >>>>   <!-- Default login configuration uses BASIC authentication -->
 >>>>   <login-config>
 >>>>    <auth-method>BASIC</auth-method>
 >>>>    <realm-name>Login</realm-name>
 >>>>   </login-config>
 >>>> </web-app>
 >>>>
 >>>>
 >>>> and here's my application.xml:
 >>>>
 >>>> <?xml version="1.0" encoding="ISO-8859-1"?>
 >>>>
 >>>> <application>
 >>>>   <display-name>My application</display-name>
 >>>>   <module>
 >>>>    <web>
 >>>>      <web-uri>inet_export.war</web-uri>
 >>>>      <context-root>/inet_export</context-root>
 >>>>    </web>
 >>>>   </module>
 >>>>   <module>
 >>>>    <ejb>inet_export.jar</ejb>
 >>>>   </module>
 >>>> </application>
 >>>>
 >>>>
 >>>> please help me!
 >>>>
 >>>> tnx,
 >>>>
 >>>> patrick
 >>>>
 >>>>
 >>>>
 >>>> --
 >>>> --------------------------------------------------------------
 >>>> To subscribe:        [EMAIL PROTECTED]
 >>>> To unsubscribe:      [EMAIL PROTECTED]
 >>>> List Help?:          [EMAIL PROTECTED]
 >>>>
 >>>>
 >>>
 >>>
 >>> --
 >>> --------------------------------------------------------------
 >>> To subscribe:        [EMAIL PROTECTED]
 >>> To unsubscribe:      [EMAIL PROTECTED]
 >>> List Help?:          [EMAIL PROTECTED]
 >>>
 >>>
 >>>
 >>>
 >>
 >>
 >> --
 >> --------------------------------------------------------------
 >> To subscribe:        [EMAIL PROTECTED]
 >> To unsubscribe:      [EMAIL PROTECTED]
 >> List Help?:          [EMAIL PROTECTED]
 >>
 >>
 >
 >
 >
 > --
 > --------------------------------------------------------------
 > To subscribe:        [EMAIL PROTECTED]
 > To unsubscribe:      [EMAIL PROTECTED]
 > List Help?:          [EMAIL PROTECTED]
 >
 >
 >
 >




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to