Re: connection pool docu

2004-07-30 Thread Betto McRose G,
try putting the jstl.jar and standard.jar into WEB-INF/lib

they're usually in jsp-examples/WEB-INF/lib


- Original Message - 
From: Lee Chin Khiong [EMAIL PROTECTED]
To: Tomcat Users List (E-mail) [EMAIL PROTECTED]
Sent: Friday, July 30, 2004 1:31 AM
Subject: connection pool docu



 Is the example in tomcat site document works ?

 I do what it say but not working, especially the taglib?

 Anybody knows what problem ?

 type Exception report

 message

 description The server encountered an internal error () that prevented it
 from fulfilling this request.

 exception

 org.apache.jasper.JasperException: The absolute uri:
 http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or
 the jar files deployed with this application


org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
 java:50)


org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409
 )


org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118
 )


org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibrary
 InfoImpl.java:316)


org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java
 :147)

 org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
 org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
 org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
 org.apache.jasper.compiler.Parser.parse(Parser.java:126)


org.apache.jasper.compiler.ParserController.doParse(ParserController.java:22
 0)


org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
 org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)


org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
 11)


org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
 95)

 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TC5.0.27 and JSF, again

2004-07-29 Thread Betto McRose G,
: javax.faces.context.FacesContextFactory
 at javax.faces.FactoryFinder.getImplementationName(FactoryFinder.java:400)
 at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:203)
 at javax.faces.webapp.FacesServlet.init(FacesServlet.java:114)
 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
 at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:687)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
 at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
 at org.apache.catalina.core.StandardService.start(StandardService.java:480)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

2004-07-29 07:54:27 StandardContext[/servlets-examples]ContextListener: 
contextInitialized()
2004-07-29 07:54:27 StandardContext[/servlets-examples]SessionListener: 
contextInitialized()

Betto McRose G,
Dpto. Informático
TECNOMYL S.R.L.

tomcat startup with beans error :-s

2004-07-29 Thread Betto McRose G,
what is the problem here ?

Jul 29, 2004 3:13:53 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Jul 29, 2004 3:13:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3345 ms
Jul 29, 2004 3:13:53 PM org.apache.catalina.mbeans.ServerLifecycleListener createMBeans
SEVERE: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with DefaultContext
 at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:326)
 at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:534)
 at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:654)
 at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:596)
 at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:779)
 at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:747)
 at 
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:365)
 at 
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:190)
 at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2291)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:547)
 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:286)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:387)
 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.apache.commons.launcher.ChildMain.run(ChildMain.java:269)


Re: tomcat startup with beans error :-s

2004-07-29 Thread Betto McRose G,
yep, I inserted DefaultContext  /DefaultContext to define a postgres
pool.

but I restarted the server having postmaster running before tomcat

problem resolve.


- Original Message - 
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Betto McRose G,
[EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 3:37 PM
Subject: RE: tomcat startup with beans error :-s



 Hi,
 How have you modified server.xml? ;)  If you took out the
 LifecycleListener or MBean declarations, that could cause this error.

 Yoav Shapira
 Millennium Research Informatics


 -Original Message-
 From: Betto McRose G, [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 29, 2004 3:17 PM
 To: Tomcat Users List
 Subject: tomcat startup with beans error :-s
 
 what is the problem here ?
 
 Jul 29, 2004 3:13:53 PM org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on port 8080
 Jul 29, 2004 3:13:53 PM org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 3345 ms
 Jul 29, 2004 3:13:53 PM
 org.apache.catalina.mbeans.ServerLifecycleListener
 createMBeans
 SEVERE: createMBeans: MBeanException
 java.lang.Exception: ManagedBean is not found with DefaultContext
  at
 org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:326)
  at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
 ifec
 ycleListener.java:534)
  at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
 ifec
 ycleListener.java:654)
  at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
 ifec
 ycleListener.java:596)
  at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
 ifec
 ycleListener.java:779)
  at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
 ifec
 ycleListener.java:747)
  at
 org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
 ifec
 ycleListener.java:365)
  at
 org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Serve
 rLif
 ecycleListener.java:190)
  at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
 uppo
 rt.java:119)
  at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:2291)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:547)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
 va:3
 9)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
 rImp
 l.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:286)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:387)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
 va:3
 9)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
 rImp
 l.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)



 This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.0.27 / JavaServer Faces

2004-07-28 Thread Betto McRose G,
I deleted all in work/localhost/ and re-run the server... it works !




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.0.27 / JavaServer Faces

2004-07-28 Thread Betto McRose G,
I cannot understand what you're asking man :(
the tomcat started again to serve, but the faces jar gets me error alwyas


- Original Message - 
From: Hiroshi Iwatani [EMAIL PROTECTED]
To: Betto McRose G, [EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 3:00 PM
Subject: Re: Tomcat 5.0.27 / JavaServer Faces


 I see. Is that JSP auto-recompile problem and Tomcat specific?

 Betto McRose G, wrote:
  I deleted all in work/localhost/ and re-run the server... it works !
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -- 
 Hiroshi Iwatani

 *stop cruelty* Annual number of institutionally euthanized cats and dogs
 including kittens and puppies: US 5 million, JP 500 thousand. How about
your
 country? *for our better karma*
 -




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.0.27 / JavaServer Faces

2004-07-27 Thread Betto McRose G,
I cannot run a war file into the server

the war file has jsf files, the message is the resource is not available

I also tried to run sample dirs directly copying the entire dir, but I got always the 
same error


Betto McRose G,

Re: Tomcat 5.0.27 / JavaServer Faces

2004-07-27 Thread Betto McRose G,
well, I'm new on this so I can consider I'm and end user :)

this is the log:
2004-07-27 15:57:06 StandardContext[/login]Excepción enviando evento
inicializado de contexto a instancia de escuchador de clase
com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/faces/el/MethodBinding
 at
com.sun.faces.config.ConfigureListener.initialized(ConfigureListener.java:10
14)
 at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.
java:146)
 at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3827)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
23)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
 at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:277)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:617)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1068)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
 at
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:80
0)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1619)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1628)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
ainerBase.java:1608)
 at java.lang.Thread.run(Unknown Source)

2004-07-27 15:57:06 StandardContext[/login]Excepción enviando evento de
contexto destruído a instancia de escuchador de clase
com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/faces/el/MethodBinding
 at
com.sun.faces.config.ConfigureListener.release(ConfigureListener.java:1250)
 at
com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.ja
va:337)
 at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3
868)
 at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4500)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
23)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
 at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:277)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:617)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1068)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
 at
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:80
0)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1619)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1628)
 at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
ainerBase.java:1608)
 at java.lang.Thread.run(Unknown Source)

Betto McRose G,
- Original Message - 
From: QM [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 3:48 PM
Subject: Re: Tomcat 5.0.27 / JavaServer Faces


 On Tue, Jul 27, 2004 at 03:29:15PM -0400, Betto McRose G, wrote:
 : the war file has jsf files, the message is the resource is not
available
 :
 : I also tried to run sample dirs directly copying the entire dir, but I
got
 : always the same error

 The message the resource is not available is for the end-users.
 The server admin (that's you ;) should check the logs.  What's reported
 there?

 -QM

 -- 

 software  -- http://www.brandxdev.net
 tech news -- http://www.RoarNetworX.com


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: address is already in use

2004-07-20 Thread Betto McRose G,
Steve!  did you leave Maiden ?


(je je je, sorry)
- Original Message - 
From: Steve Harris [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 2:55 PM
Subject: Re: address is already in use


 Hi,

 If your running on Solaris install a utility called lsof and use the
 command,

 lsof -i :8080

 This will list all processes using that port.  I have had instances where
 8080 has got 'stolen' by another process that started up and used that
 port.  Once you've identified the process then you can decide what to do.

 Cheers - Steve

 On Mon, 19 Jul 2004, Damien July wrote:

  Hi,
  i'm under sun solaris 8 sparc
 
  and i had been restart the server.
  and there is no one that listen on port 80 or 8080
 
  Damien
  Le lun 19/07/2004  18:56, Aman Raheja a crit :
   Are you on Windows platform ? Are you restarting it?
   Check your process list and End Task if you find it there.
  
   Also try netstat and see who's using the 8080 port (if that's what you
   have in server.xml).
  
   Aman Raheja
   http://www.techquotes.com
  
  
   On Mon, 19 Jul 2004 18:45:41 +0200, Damien July [EMAIL PROTECTED]
   securite.org wrote :
  
Hello,
   
i try to start tomcat 4.1.24 and when i start it , i have the
address
already in use error message.
   
the is , i don't have some webserver or other thant listen on port
8  or
8080.
   
I don't why i have this error.
   
If someone could help Me.
   
thx.
Damien
   
   
  
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
   
   
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]