[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat

2006-07-03 Thread mnrz
Resolved

I deleted all useless jar files of Tomcal lib directory and undeployed other 
application and also use ant command to deploy the project. and now everything 
is OK.

thank you so much Gavin



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955038#3955038

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955038

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat

2006-07-02 Thread mnrz
if you see the error messages somewhere it warned :

WARN 03-07 08:30:52,250 (Log4JLogger.java:warn:104) -There should only be one 
Seam phase listener per application 

and it seems there are more than one listener registered, however, it might be 
a useless warning. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954942#3954942

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954942

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat

2006-07-02 Thread mnrz
Hi Gavin

I ran the command "ant deploy.tomcat" and ant build a war file to deploy into 
Tomcat but still the problem exists. however, the error message has been 
changed to this:
--
INFO: Deploying web application archive jboss-seam-numberguess.war
ERROR 03-07 08:30:50,031 (Log4JLogger.java:error:119)  -Exception sending 
context initialized event to listene
r instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.lang.ClassCastException: 
org.jboss.seam.jsf.SeamPhaseListener
at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:336)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788)
at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.ClassCastException: org.jboss.seam.jsf.SeamPhaseListener
at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:741)
at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:400)
at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:332)
... 24 more
INFO  03-07 08:30:50,406 (Log4JLogger.java:info:94)  -Reading standard config 
org/apache/myfaces/resource/stan
dard-faces-config.xml
INFO  03-07 08:30:51,562 (Log4JLogger.java:info:94)  -Reading config 
jar:file:/E:/Tomcat/jakarta-tomcat-5.5.9/
webapps/jboss-seam-numberguess/WEB-INF/lib/jboss-seam.jar!/META-INF/faces-config.xml
INFO  03-07 08:30:51,593 (Log4JLogger.java:info:94)  -Reading config 
/WEB-INF/faces-config.xml
WARN  03-07 08:30:51,828 (Log4JLogger.java:warn:104)  -Locale name in 
faces-config.xml null or empty, setting
locale to default locale : fa_IR
WARN  03-07 08:30:52,250 (Log4JLogger.java:warn:104)  -There should only be one 
Seam phase listener per applic
ation
INFO  03-07 08:30:52,296 (Log4JLogger.java:info:94)  -ServletContext 
'E:\Tomcat\jakarta-tomcat-5.5.9\webapps\j
boss-seam-numberguess\' initialized.
INFO  03-07 08:30:52,296 (Log4JLogger.java:info:94)  -Welcome to Seam 1.0.1.GA
INFO  03-07 08:30:52,328 (Log4JLogger.java:info:94)  -reading components.xml
INFO  03-07 08:30:52,968 (Log4JLogger.java:info:94)  -reading properties from: 
/seam.properties
INFO  03-07 08:30:52,984 (Log4JLogger.java:info:94)  -reading properties from: 
/jndi.properties
INFO  03-07 08:30:53,000 (Log4JLogger.java:info:94)  -initializing Seam
INFO  03-07 08:30:53,187 (Log4JLogger.java:info:94)  -Component: 
org.jboss.seam.core.init, scope: APPLICATION,
 type: JAVA_BEAN, class: org.jboss.seam.core.Init
INFO  03-07 08:30:53,890 (Log4JLogger.java:info:94)  -Component: 
org.jboss.seam.core.pages, scope: APPLICATION
, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
INFO  03-07 08:30:53,953 (Log4JLogger.java:info:94)  -Component: events, scope: 
APPLICATION, type: JAVA_BEAN,
class: org.jboss.seam.core.Events
INFO  03-07 08:30:53,984 (Log4JLogger.java:info:94)  -Component: 
org.jboss.seam.core.manager, scope: EVENT, ty
pe: JAVA_BEAN, class: org.jboss.seam.core.Manager
INFO  03-07 08:30:54,078 (Log4JLogger.java:info:94)  -Component: switcher, 
scope: PAGE, type: JAVA_BEAN, class
: org.jboss.seam

[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat

2006-07-02 Thread [EMAIL PROTECTED]
Definitely don't try to build the war file yourself.

The Ant task does some replacements of @foo@ in components.xml.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954898#3954898

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954898

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat

2006-07-02 Thread mnrz
No I am using Eclipse to run the Ant task. but again, I tried to build a war 
file myself to deploy it. 

Are you mean I do it in command console by typing "ant..."?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954897#3954897

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954897

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat

2006-07-02 Thread [EMAIL PROTECTED]
Just to make sure, you have deployed the example by typing "ant deploy.tomcat" 
in a totally fresh unzip of the Seam distributing, right? Not by some other 
means...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954892#3954892

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954892

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat

2006-07-02 Thread mnrz
"[EMAIL PROTECTED]" wrote : That is _extremely_ wierd. It is working perfectly 
for me on Tomcat 5.5.12.
  | 
  | Do you have any other applications installed in the server?

Hi 
yes I have some other application, but first of all I delete any additional jar 
file from the tomcat lib directory and tried to deploy my seam application but 
the problem didnt resolved. let me tell you, I put every needed jar files on 
the lib directory of the project, afterwards, I put some of them in the lib of 
tomcat. just that, I never did any thing else.

thanks



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954890#3954890

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954890

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat

2006-07-02 Thread [EMAIL PROTECTED]
That is _extremely_ wierd. It is working perfectly for me on Tomcat 5.5.12.

Do you have any other applications installed in the server?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954887#3954887

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954887

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user