Re: deploying problem

2007-03-25 Thread Deano!!

well being i cant even get the loging page to show u suppose there is a
problem with how my tomcat is setup?

Rashmi Rubdi-2 wrote:
 
 Although the JSF app worked on Tomcat 5.5, I saw some errors relating
 to JDBC connection on the console:
 
 Cannot load JDBC driver class 'org.apache.derby.jdbc.ClientDriver'
 java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 
 Some additional errors were found in the log files, but I think they
 are related to the JSF code:
 
 Mar 24, 2007 5:07:59 PM org.apache.catalina.core.StandardWrapperValve
 invoke
 SEVERE: Servlet.service() for servlet Faces Servlet threw exception
 com.sun.faces.el.impl.ElException: Encountered }, expected one of
 [INTEGER_LITERAL, FLOATING_POINT_LITERAL, STRING_LITERAL,
 true, false, null, (, -, not, !, empty, IDENTIFIER]
   at
 com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:309)
   at
 com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpression(ExpressionEvaluatorImpl.java:219)
   at
 com.sun.faces.application.ApplicationImpl.checkSyntax(ApplicationImpl.java:805)
   at
 com.sun.faces.application.ApplicationImpl.createValueBinding(ApplicationImpl.java:311)
   at
 com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:662)
   at
 com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:641)
   at
 com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:249)
   at
 com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
   at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198)
   at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
   at
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
   at
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at
 org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:619)
 Caused by: com.sun.faces.el.impl.parser.ParseException: Encountered
 } at line 1, column 3.
 Was expecting one of:
 INTEGER_LITERAL ...
 FLOATING_POINT_LITERAL ...
 STRING_LITERAL ...
 true ...
 false ...
 null ...
 ( ...
 - ...
 not ...
 ! ...
 empty ...
 IDENTIFIER ...
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/deploying-problem-tf3433368.html#a9663966
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-25 Thread Rashmi Rubdi

On 3/25/07, Deano!! [EMAIL PROTECTED] wrote:


well being i cant even get the loging page to show u suppose there is a
problem with how my tomcat is setup?



Yes, it could be possible.

In the past I've had problems with spaces in the installation path, so
from then on I never install anything on paths that have spaces in
them.

But that just scratches the surface  there could be addition
problems in how the environment was configured.

I usually follow the RUNNING.txt document and
http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html (I checked
this document, a few things are not up-to-date with Tomcat 6.0 , but
the concepts still hold true).

If you think there's something wrong or have questions about your
configuration, please feel free to address them.

-Rashmi

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-25 Thread Deano!!

cheers, all i did to install it really was jjust choose to install it on the
add/remove applications in fedora 6, and it seemed to sort it self out, then
i assumed by the manager/admin application fro tomcat working then my
project should..

Rashmi Rubdi-2 wrote:
 
 On 3/25/07, Deano!! [EMAIL PROTECTED] wrote:

 well being i cant even get the loging page to show u suppose there is a
 problem with how my tomcat is setup?

 
 Yes, it could be possible.
 
 In the past I've had problems with spaces in the installation path, so
 from then on I never install anything on paths that have spaces in
 them.
 
 But that just scratches the surface  there could be addition
 problems in how the environment was configured.
 
 I usually follow the RUNNING.txt document and
 http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html (I checked
 this document, a few things are not up-to-date with Tomcat 6.0 , but
 the concepts still hold true).
 
 If you think there's something wrong or have questions about your
 configuration, please feel free to address them.
 
 -Rashmi
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/deploying-problem-tf3433368.html#a9664107
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-25 Thread Rashmi Rubdi

On 3/25/07, Deano!! [EMAIL PROTECTED] wrote:


cheers, all i did to install it really was jjust choose to install it on the
add/remove applications in fedora 6,


I tested your app on MS Windows XP.

May be your JSF app needs to be configured for the Linux environment,
for example
paths in Linux are separated by / as opposed to \ in MS Windows. Check
your JSF app's config files. Also check different files rwx
permissions and other things that are specific to the Linux
environment.


and it seemed to sort it self out, then
i assumed by the manager/admin application fro tomcat working then my
project should..


If you are able to access the default Tomcat page on
http://localhost:8080/ then, you have Tomcat configured correctly, try
to run the examples under http://localhost:8080/examples/ and try a
simple JSF test -- if you have those working then, the problem is most
likely with how the app is configured for Linux.

-Rashmi

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-24 Thread Martin Gainty
Hi Dean-

The war that netbeans creates is specific to the configuration parameters in 
netbeans project (most notably project.xml)
Can you display or send us the catalina.out or stderr* or stdout* logs from 
$CATALINA_HOME/logs?

Thanks,
Martin --
--- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: Deano!! [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, March 20, 2007 9:08 AM
Subject: Re: deploying problem


 
 to tell the truth i really dont truly know, when in the tomcat manager it
 says that it is running, but when i go into it i get that error message, i
 then went into full server status and when i go to my apps part its added a
 count to the error count in the /faces/ part so i wondered if maybe there is
 a library/module that netbeans 5.5's bundled tomcat has that tomcat 5.5 used
 in fedora doesn't
 
 http://deansserver.serveftp.com:8080/InterfacesHCI   
 
 -- 
 View this message in context: 
 http://www.nabble.com/deploying-problem-tf3433368.html#a9572059
 Sent from the Tomcat - User mailing list archive at Nabble.com.
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: deploying problem

2007-03-24 Thread Deano!!


21-Mar-07 4:20:42 PM org.apache.catalina.core.StandardWrapperValve invoke 
SEVERE: Servlet.service() for servlet Faces Servlet threw exception 
com.sun.rave.web.ui.appbase.ApplicationException:
org.apache.jasper.JasperException: Exception in JSP: /Page1.jsp:7 

4: f:view 
5: ui:page binding=#{Page1.page1} id=page1 
6: ui:html binding=#{Page1.html1} id=html1 
7: ui:head binding=#{Page1.head1} id=head1 
8: ui:link binding=#{Page1.link1} id=link1
url=/resources/stylesheet.css/ 
9: /ui:head 
10: ui:body binding=#{Page1.body1} id=body1
style=-rave-layout: grid 


Stacktrace: 
   at
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:559)
 
   at
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:290)
 
   at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
 
   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245) 
   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137) 
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214) 
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.17.jar.sovwj9yy.so)
 
   at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198) 
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.StandardWrapperValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.StandardContextValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.StandardHostValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.StandardEngineValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.17.jar.so) 
   at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.17.jar.so)
 
   at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.17.jar.so)
 
   at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.17.jar.so)
 
   at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.17.jar.so)
 
   at java.lang.Thread.run(libgcj.so.7rh) 
Caused by: javax.faces.FacesException: org.apache.jasper.JasperException:
Exception in JSP: /Page1.jsp:7 

4: f:view 
5: ui:page binding=#{Page1.page1} id=page1 
6: ui:html binding=#{Page1.html1} id=html1 
7: ui:head binding=#{Page1.head1} id=head1 
8: ui:link binding=#{Page1.link1} id=link1
url=/resources/stylesheet.css/ 
9: /ui:head 
10: ui:body binding=#{Page1.body1} id=body1
style=-rave-layout: grid 


Stacktrace: 
   at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:351)
 
   at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152) 
   at
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
 
   ...21 more 
Caused by: org.apache.jasper.JasperException: Exception in JSP: /Page1.jsp:7 

4: f:view 
5: ui:page binding=#{Page1.page1} id=page1 
6: ui:html binding=#{Page1.html1} id=html1 
7: ui:head binding=#{Page1.head1} id=head1 
8: ui:link binding=#{Page1.link1} id=link1
url=/resources/stylesheet.css/ 
9: /ui:head 
10: ui:body binding=#{Page1.body1} id=body1
style=-rave-layout: grid 


Stacktrace: 
   at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(jasper5-compiler-5.5.17.jar.so)
 
   at
org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.17.jar.so)
 
   at
org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.17.jar.so)
 
   at
org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.17.jar.so) 
   at
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so) 
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.ApplicationDispatcher.invoke(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.ApplicationDispatcher.processRequest(catalina-5.5.17.jar.sovwj9yy.so)
 
   at
org.apache.catalina.core.ApplicationDispatcher.doForward(catalina-5.5.17.jar.sovwj9yy.so)
 
   at

Re: deploying problem

2007-03-24 Thread Rashmi Rubdi

Hi there,

I think JSF questions will be appropriate here:
http://forum.java.sun.com/forum.jspa?forumID=427

If you are trying to use Unified EL then you need Tomcat 6.0.x because
it is built to JSP 2.1 which supports Unified EL.

-Rashmi

On 3/24/07, Deano!! [EMAIL PROTECTED] wrote:



21-Mar-07 4:20:42 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
com.sun.rave.web.ui.appbase.ApplicationException:
org.apache.jasper.JasperException: Exception in JSP: /Page1.jsp:7


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-24 Thread Deano!!

but netbeans uses tomcat 5.5 aswell? and it works there jsut not on another
tomcat 5.5

-- 
View this message in context: 
http://www.nabble.com/deploying-problem-tf3433368.html#a9653538
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-24 Thread Rashmi Rubdi

I have manually (independent of an IDE) configured Tomcat 6.0.x , JSF
1.2 and have tried a simple JSF example and the example works on
Tomcat 6.0.x.

I haven't tested on Tomcat 5.5, but I'm sure if everything is
configured correctly things should work.

Check your log files for additional information on the error, and post
the stack trace if it is different.

I recommend closing the IDE , and manually starting tomcat from the
command line to test your JSF app.

1) The other Tomcat 5.5 needs to be configured correctly , set
CATALINA_HOME to the other Tomcat 5.5 and JAVA_HOME correctly.

2) If you have explicitly set a CLASSPATH system variable , then
un-set it, Tomcat 5.5 doesn't require a CLASSPATH

3) Your project's web.xml should have web-app exactly as follows for
Tomcat 5.5 , but this was for JSTL EL, might apply for your case also:

?xml version=1.0 encoding=UTF-8?

web-app version=2.4
xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;

/web-app

4) Check if the other Tomcat and JDK are installed on a path that has
no spaces in it.


On 3/24/07, Deano!! [EMAIL PROTECTED] wrote:


but netbeans uses tomcat 5.5 aswell? and it works there jsut not on another
tomcat 5.5



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-24 Thread Deano!!

yeah, well how its all set up is i produce the projects on netbeans 5.5 on my
desktop, cause it is quite a demanding ide, and then i wanna run them on my
home server which is much less powerful.
if i say gave u a link to download my .war could u see it if works on yours?
the first page is a long on page any1s but just to see if its the server or
the .war file to blame?

Rashmi Rubdi-2 wrote:
 
 I have manually (independent of an IDE) configured Tomcat 6.0.x , JSF
 1.2 and have tried a simple JSF example and the example works on
 Tomcat 6.0.x.
 
 I haven't tested on Tomcat 5.5, but I'm sure if everything is
 configured correctly things should work.
 
 Check your log files for additional information on the error, and post
 the stack trace if it is different.
 
 I recommend closing the IDE , and manually starting tomcat from the
 command line to test your JSF app.
 
 1) The other Tomcat 5.5 needs to be configured correctly , set
 CATALINA_HOME to the other Tomcat 5.5 and JAVA_HOME correctly.
 
 2) If you have explicitly set a CLASSPATH system variable , then
 un-set it, Tomcat 5.5 doesn't require a CLASSPATH
 
 3) Your project's web.xml should have web-app exactly as follows for
 Tomcat 5.5 , but this was for JSTL EL, might apply for your case also:
 
 ?xml version=1.0 encoding=UTF-8?
 
 web-app version=2.4
  xmlns=http://java.sun.com/xml/ns/j2ee;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
 
 /web-app
 
 4) Check if the other Tomcat and JDK are installed on a path that has
 no spaces in it.
 
 
 On 3/24/07, Deano!! [EMAIL PROTECTED] wrote:

 but netbeans uses tomcat 5.5 aswell? and it works there jsut not on
 another
 tomcat 5.5

 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/deploying-problem-tf3433368.html#a9653736
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-24 Thread Rashmi Rubdi

Sure, post the link to your WAR file, we will take a look at it.

I'm heading out so it might take a while for me to respond.

-Rashmi

On 3/24/07, Deano!! [EMAIL PROTECTED] wrote:

if i say gave u a link to download my .war could u see it if works on yours?
the first page is a long on page any1s but just to see if its the server or
the .war file to blame?


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-24 Thread Deano!!

http://deansserver.serveftp/InterfacesHCI.war


but when u get prompt make sure u change the extension from zip to war,
though i have actually uploaded the .war file windows seems to think its a
.zip file.

thanks
Deano!!

Rashmi Rubdi-2 wrote:
 
 Sure, post the link to your WAR file, we will take a look at it.
 
 I'm heading out so it might take a while for me to respond.
 
 -Rashmi
 
 On 3/24/07, Deano!! [EMAIL PROTECTED] wrote:
 if i say gave u a link to download my .war could u see it if works on
 yours?
 the first page is a long on page any1s but just to see if its the server
 or
 the .war file to blame?
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/deploying-problem-tf3433368.html#a9653832
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-24 Thread Rashmi Rubdi

I also have Tomcat 5.5 in addition to 6.0,

I dropped your WAR file to:
C:\dev\apache-tomcat-5.5.12\webapps\InterfacesHCI.war

Tomcat unpacked the war, and I was able to successfully access your app on
http://localhost:9090/InterfacesHCI/

It shows a login page with yellow text boxes.

Then I tried a few pages:
http://localhost:9090/InterfacesHCI/faces/Page2.jsp - shows a Welcome
message Add Student, Logout buttons.

It also gave a login error message, when I tried to login with some
random credentials
http://localhost:9090/InterfacesHCI/faces/Page1.jsp

In some cases when I tried to directly access
http://localhost:9090/InterfacesHCI/faces/pageStudent.jsp
I get HTTP Status 500 -  , probably because those pages are supposed
to be accessed in sequence after logging in.

Please note that I've used port 9090 , the default port on Tomcat is
8080 unless you change it.

-Rashmi

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-24 Thread Rashmi Rubdi

Although the JSF app worked on Tomcat 5.5, I saw some errors relating
to JDBC connection on the console:

Cannot load JDBC driver class 'org.apache.derby.jdbc.ClientDriver'
java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

Some additional errors were found in the log files, but I think they
are related to the JSF code:

Mar 24, 2007 5:07:59 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
com.sun.faces.el.impl.ElException: Encountered }, expected one of
[INTEGER_LITERAL, FLOATING_POINT_LITERAL, STRING_LITERAL,
true, false, null, (, -, not, !, empty, IDENTIFIER]
at 
com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:309)
at 
com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpression(ExpressionEvaluatorImpl.java:219)
at 
com.sun.faces.application.ApplicationImpl.checkSyntax(ApplicationImpl.java:805)
at 
com.sun.faces.application.ApplicationImpl.createValueBinding(ApplicationImpl.java:311)
at 
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:662)
at 
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:641)
at 
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:249)
at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.faces.el.impl.parser.ParseException: Encountered
} at line 1, column 3.
Was expecting one of:
   INTEGER_LITERAL ...
   FLOATING_POINT_LITERAL ...
   STRING_LITERAL ...
   true ...
   false ...
   null ...
   ( ...
   - ...
   not ...
   ! ...
   empty ...
   IDENTIFIER ...

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: deploying problem

2007-03-21 Thread Deano!!

21-Mar-07 4:20:42 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
com.sun.rave.web.ui.appbase.ApplicationException:
org.apache.jasper.JasperException: Exception in JSP: /Page1.jsp:7

4: f:view
5: ui:page binding=#{Page1.page1} id=page1
6: ui:html binding=#{Page1.html1} id=html1
7: ui:head binding=#{Page1.head1} id=head1
8: ui:link binding=#{Page1.link1} id=link1
url=/resources/stylesheet.css/
9: /ui:head
10: ui:body binding=#{Page1.body1} id=body1
style=-rave-layout: grid


Stacktrace:
   at
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:559)
   at
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:290)
   at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.17.jar.sovwj9yy.so)
   at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198)
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.StandardWrapperValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.StandardContextValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.StandardHostValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.StandardEngineValve.invoke(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.17.jar.so)
   at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.17.jar.so)
   at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.17.jar.so)
   at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.17.jar.so)
   at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.17.jar.so)
   at java.lang.Thread.run(libgcj.so.7rh)
Caused by: javax.faces.FacesException: org.apache.jasper.JasperException:
Exception in JSP: /Page1.jsp:7

4: f:view
5: ui:page binding=#{Page1.page1} id=page1
6: ui:html binding=#{Page1.html1} id=html1
7: ui:head binding=#{Page1.head1} id=head1
8: ui:link binding=#{Page1.link1} id=link1
url=/resources/stylesheet.css/
9: /ui:head
10: ui:body binding=#{Page1.body1} id=body1
style=-rave-layout: grid


Stacktrace:
   at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:351)
   at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
   at
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
   ...21 more
Caused by: org.apache.jasper.JasperException: Exception in JSP: /Page1.jsp:7

4: f:view
5: ui:page binding=#{Page1.page1} id=page1
6: ui:html binding=#{Page1.html1} id=html1
7: ui:head binding=#{Page1.head1} id=head1
8: ui:link binding=#{Page1.link1} id=link1
url=/resources/stylesheet.css/
9: /ui:head
10: ui:body binding=#{Page1.body1} id=body1
style=-rave-layout: grid


Stacktrace:
   at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(jasper5-compiler-5.5.17.jar.so)
   at
org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.17.jar.so)
   at
org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.17.jar.so)
   at
org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.17.jar.so)
   at
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so)
   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.ApplicationDispatcher.invoke(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.ApplicationDispatcher.processRequest(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.ApplicationDispatcher.doForward(catalina-5.5.17.jar.sovwj9yy.so)
   at
org.apache.catalina.core.ApplicationDispatcher.forward(catalina-5.5.17.jar.sovwj9yy.so)
   at

Re: deploying problem

2007-03-20 Thread Rob Kirkbride

Deano,

What is the specific error?

Rob

Deano!! wrote:

Hi, yeah im creating a project named InterfacesHCI using netbeans 5.5 with
visual web pack, now when running it locally on the machine with netbeans
and using bundled tomcat it works fine, but when deploying the .war file to
tomcat on my server it says its deployed it fine, but when trying to run i
get this message: 

HTTP Status 500 - 

 

type Status report 

message 


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



 

Apache Tomcat/5.5.17 


When i go in my tomcat manager it says there is a problem with the faces, so
i was wondering if there is some  type of library/module that netbeans
bundled tomcat has that tomcat on fedora doesn't. if so how would i go about
sortting this. 


Many Thanks
  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-20 Thread Deano!!

to tell the truth i really dont truly know, when in the tomcat manager it
says that it is running, but when i go into it i get that error message, i
then went into full server status and when i go to my apps part its added a
count to the error count in the /faces/ part so i wondered if maybe there is
a library/module that netbeans 5.5's bundled tomcat has that tomcat 5.5 used
in fedora doesn't

http://deansserver.serveftp.com:8080/InterfacesHCI   

-- 
View this message in context: 
http://www.nabble.com/deploying-problem-tf3433368.html#a9572059
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-20 Thread Rob Kirkbride

Deano,

What does the log file have to say?

Rob

Deano!! wrote:

to tell the truth i really dont truly know, when in the tomcat manager it
says that it is running, but when i go into it i get that error message, i
then went into full server status and when i go to my apps part its added a
count to the error count in the /faces/ part so i wondered if maybe there is
a library/module that netbeans 5.5's bundled tomcat has that tomcat 5.5 used
in fedora doesn't

http://deansserver.serveftp.com:8080/InterfacesHCI   

  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-20 Thread Deano!!

well im a tomcat beginner so where would i find the logs? i realise that
sounds like a stupid question but i have only recently starting trying to
use tomcat

Rob Kirkbride-2 wrote:
 
 Deano,
 
 What does the log file have to say?
 
 Rob
 
 Deano!! wrote:
 to tell the truth i really dont truly know, when in the tomcat manager it
 says that it is running, but when i go into it i get that error message,
 i
 then went into full server status and when i go to my apps part its added
 a
 count to the error count in the /faces/ part so i wondered if maybe there
 is
 a library/module that netbeans 5.5's bundled tomcat has that tomcat 5.5
 used
 in fedora doesn't

 http://deansserver.serveftp.com:8080/InterfacesHCI   

   
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/deploying-problem-tf3433368.html#a9580682
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying problem

2007-03-20 Thread Deano!!

this is it,
http://deansserver.serveftp.com:8080/InterfacesHCI


Rob Kirkbride-2 wrote:
 
 Deano,
 
 What does the log file have to say?
 
 Rob
 
 Deano!! wrote:
 to tell the truth i really dont truly know, when in the tomcat manager it
 says that it is running, but when i go into it i get that error message,
 i
 then went into full server status and when i go to my apps part its added
 a
 count to the error count in the /faces/ part so i wondered if maybe there
 is
 a library/module that netbeans 5.5's bundled tomcat has that tomcat 5.5
 used
 in fedora doesn't

 http://deansserver.serveftp.com:8080/InterfacesHCI   

   
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/deploying-problem-tf3433368.html#a9580784
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: deploying problem

2007-03-20 Thread Propes, Barry L [GCG-NAOT]
usually in the root of the tomcat directory in a folder called logs. At least 
older versions are.

-Original Message-
From: Deano!! [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 20, 2007 3:11 PM
To: users@tomcat.apache.org
Subject: Re: deploying problem



well im a tomcat beginner so where would i find the logs? i realise that
sounds like a stupid question but i have only recently starting trying to
use tomcat

Rob Kirkbride-2 wrote:
 
 Deano,
 
 What does the log file have to say?
 
 Rob
 
 Deano!! wrote:
 to tell the truth i really dont truly know, when in the tomcat manager it
 says that it is running, but when i go into it i get that error message,
 i
 then went into full server status and when i go to my apps part its added
 a
 count to the error count in the /faces/ part so i wondered if maybe there
 is
 a library/module that netbeans 5.5's bundled tomcat has that tomcat 5.5
 used
 in fedora doesn't

 http://deansserver.serveftp.com:8080/InterfacesHCI   

   
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/deploying-problem-tf3433368.html#a9580682
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]