RE: resin and struts example

2001-04-26 Thread Phil DiCorpo



Thanks 
for your feedback.   It's not really my web app.  It's the one 
provided as an example with struts ("struts-example").
When I 
run the example in Tomcat in work perfectly, however in Resin-1.2.5 I get the 
error I posted.  I'll try looking at the config files you 
mentioned.
 
Thanks,
Phil
 
 



  
  
Phillip 
  DiCorpoSoftware 
  Engineer 
 
  
SkyGo, Inc.1235 Radio Road1st FloorRedwood City, CA 94065
  
(650) 232-1192 Direct(650) 232-1100 Main(650) 232-1200 Fax[EMAIL PROTECTED]

 

  -Original Message-From: Tharwat Abdul-Malik 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 26, 2001 
  11:03 PMTo: [EMAIL PROTECTED]Subject: Re: 
  resin and struts example
  It looks like the DatabaseServlet is not being 
  loaded. If you are configuring your web app using resin.conf, you will need to 
  add the DatabaseServlet to it and have it loaded at startup. I'm using Resin 
  also, but I use an web.xml file as follows:
   
          
  DatabaseServlet    
  whatever.package.DatabaseServlet 
        
  debug  
  2    
      
  1  
  
   
  I hop this helps.
   
  
- Original Message ----- 
    From: 
Phil 
DiCorpo 
To: '[EMAIL PROTECTED]' 

Sent: Thursday, April 26, 2001 10:31 
PM
Subject: resin and struts example

 
 
Hello,
 
I was trying to 
get the struts example to work with Resin 1.2.5, and was having some 
difficulty.
When I run the 
web app I get the following stack trace ...
 
java.lang.NoSuchMethodError: javax.servlet.UnavailableException: method (Ljava/lang/String;)V not found
	at org.apache.struts.example.DatabaseServlet.init(DatabaseServlet.java:183)
	at javax.servlet.GenericServlet.init(GenericServlet.java:172)
	at com.caucho.server.http.Application.createServlet(Application.java:1734)
	at com.caucho.server.http.Application.loadServlet(Application.java:1698)
	at com.caucho.server.http.Application.initServlets(Application.java:1115)
	at com.caucho.server.http.Application.init(Application.java:1068)
	at com.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java:865)
	at com.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:613)
	at com.caucho.server.http.ServletServer.getInvocation(ServletServer.java:654)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:236)
	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:157)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
	at java.lang.Thread.run(Thread.java:484)
It seems like this should be a no brainer to get the web app example working.   Can anyone point me in the right direction?Thanks,Phil
 



  
  
Phillip DiCorpoSoftware Engineer 
 
  
SkyGo, Inc.1235 Radio Road1st FloorRedwood City, CA 94065
  
(650) 232-1192 Direct(650) 232-1100 
  Main(650) 
  232-1200 Fax[EMAIL PROTECTED]

 
 


resin and struts example

2001-04-26 Thread Phil DiCorpo



 
 
Hello,
 
I was trying to get 
the struts example to work with Resin 1.2.5, and was having some 
difficulty.
When I run the web 
app I get the following stack trace ...
 
java.lang.NoSuchMethodError: javax.servlet.UnavailableException: method (Ljava/lang/String;)V not found
	at org.apache.struts.example.DatabaseServlet.init(DatabaseServlet.java:183)
	at javax.servlet.GenericServlet.init(GenericServlet.java:172)
	at com.caucho.server.http.Application.createServlet(Application.java:1734)
	at com.caucho.server.http.Application.loadServlet(Application.java:1698)
	at com.caucho.server.http.Application.initServlets(Application.java:1115)
	at com.caucho.server.http.Application.init(Application.java:1068)
	at com.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java:865)
	at com.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:613)
	at com.caucho.server.http.ServletServer.getInvocation(ServletServer.java:654)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:236)
	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:157)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
	at java.lang.Thread.run(Thread.java:484)
It seems like this should be a no brainer to get the web app example working.   Can anyone point me in the right direction?Thanks,Phil
 



  
  
Phillip 
  DiCorpoSoftware 
  Engineer 
 
  
SkyGo, Inc.1235 Radio Road1st FloorRedwood City, CA 94065
  
(650) 232-1192 Direct(650) 232-1100 Main(650) 232-1200 Fax[EMAIL PROTECTED]