Re: deploymant failure with jsf

2010-04-18 Thread Pid
On 18/04/2010 21:13, Yucca Nel wrote: over the last four days deployment continues to fail of my simple war that I set up to get to familiar with jsf. First I will stress that I am using windows 7 and the problem occurs withboth majorra and myFaces version 1.2 andboth tomcat 6.0.2 and

Re: deploymant failure with jsf

2010-04-18 Thread Yucca Nel
Many thanks, I resolved issue this morning and was my own misunderstanding or prefix and suffix mappings in jsf. Many tutorials(and this was my first jsf project don't mention when they forward a request in index.jsp to page-y.jsf that page-y is in fact a file whith.jsp and and not jsf

[OT] Re: Tomcat Shutdown suddenly / random

2010-04-18 Thread André Warnier
Carl wrote: ... Hi. Nothing to do with the subject, but I guess that either your workstation or your email forwarding system must be off by one hour, making your questions appear after the answer has already been given. This looks strange, and reminds me of a character in one of Terry

common/endorsed - Tomcat 6.0

2010-04-18 Thread Christoph Kukulies
I'm experimenting with a wsdl enabled service deplyed to tomcat. The build.xml file has this section in it: condition property=lib.home value=${catalina.home}/shared/lib else=${as.home} /lib isset property=bld.for.tomcat/ /condition condition property=lib.endorsed

Re: [Tomcat 7-RC1] JNDI Startup Issue

2010-04-18 Thread Mark Thomas
On 18/04/2010 01:38, alvins wrote: I ran some tests and found that the resource is available fine after startup but during startup it looks like JNDI has not completely initialised yet. Define during startup. What exactly are you doing? Mark

Re: [Tomcat 7-RC1] JNDI Startup Issue

2010-04-18 Thread alvins
markt-2 wrote: Define during startup. What exactly are you doing? - I have a war-file sitting on FS - I have a context file - server/conf/Catalina/ROOT.xml. In this I have defined a dataSource. Context file references the war file. - In the war file there is a spring xml file with the

Re: common/endorsed - Tomcat 6.0

2010-04-18 Thread Christoph Kukulies
Harry Metske schrieb: 2010/4/18 Christoph Kukulies k...@kukulies.org I'm experimenting with a wsdl enabled service deplyed to tomcat. The build.xml file has this section in it: condition property=lib.home value=${catalina.home}/shared/lib else=${as.home} /lib isset

Re: common/endorsed - Tomcat 6.0

2010-04-18 Thread Harry Metske
2010/4/18 Christoph Kukulies k...@kukulies.org Harry Metske schrieb: 2010/4/18 Christoph Kukulies k...@kukulies.org I'm experimenting with a wsdl enabled service deplyed to tomcat. The build.xml file has this section in it: condition property=lib.home

Re: loading properties file from WEB-INF instead of WEB-INF/classes

2010-04-18 Thread Harry Metske
2010/4/17 Thufir hawat.thu...@gmail.com getPropsFromWebINF works so long as the properties file is within the package of the class (/. However, I'd like to put the properties file under WEB-INF: public void getPropsFromWebINF() throws IOException { Properties p = new

Re: loading properties file from WEB-INF instead of WEB-INF/classes

2010-04-18 Thread Yucca Nel
props file can be placed in src package and then placed along with classes in the Web-INF directory when compiling with the destination flag .This method has been used since jdk 1 for internationalization and is understood by new and old devs. On a side not perhaps someone can help me with a

Re: deploymant failure with jsf

2010-04-18 Thread Pid
On 19/04/2010 10:19, Yucca Nel wrote: Many thanks, I resolved issue this morning and was my own misunderstanding or prefix and suffix mappings in jsf. Many tutorials(and this was my first jsf project don't mention when they forward a request in index.jsp to page-y.jsf that page-y is in fact a

Re: loading properties file from WEB-INF instead of WEB-INF/classes

2010-04-18 Thread David Smith
An alternative exists in the ServletContext class -- ServletContext.getResource( path ) takes path as relative to the current webapp and returns a URL for opening the resource or null if the resource was not found. also there is -- ServletContext.getResourceAsStream( path ) takes a path as

Re: loading properties file from WEB-INF instead of WEB-INF/classes

2010-04-18 Thread André Warnier
Yucca Nel wrote: props file can be placed in src package and then placed along with classes in the Web-INF directory when compiling with the destination flag .This method has been used since jdk 1 for internationalization and is understood by new and old devs. On a side not perhaps someone can

Universal connection pooling Type Casting problem

2010-04-18 Thread SivaKumarl
Hi Friends, I am using universal connection pooling for connecting database , while configuring manually i able to connect to database,but while configuring in server.xml i am unable to cast the datasource i am getting the class cast exception, please find the below configuration and

Oracle Universal connection pooling type cast problem while configuring in server.xml

2010-04-18 Thread Thangavelu.V
Hi Friends, I am using universal connection pooling for connecting database , while configuring manually i able to connect to database,but while configuring in server.xml i am unable to cast the datasource i am getting the class cast exception, please find the below configuration and