[JBoss-user] struts web application Missing message for key application.title
Hi, I have web application using struts. Its runs in the standalone tomcat -4.1.18. same .war file with jboss-3.0.5_tomcat-4.1.18 bundle it's giving me the following error message. org.apache.jasper.JasperException: Missing message for key application.title any help? -SR server.log file message. === 2003-01-18 21:18:01,769 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.0.5 (CVSTag=JBoss_3_0_5 Date=200301130206)] Started in 0m:40s:27ms 2003-01-18 21:18:23,230 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-3.0.5_tomcat-4.1.18/server/default/deploy/webfiles.war 2003-01-18 21:18:23,500 INFO [org.jboss.web.catalina.EmbeddedCatalinaService41] deploy, ctxPath=/webfiles, warUrl=file:/C:/jboss-3.0.5_tomcat-4.1.18/server/default/tmp/deploy/server/d efault/deploy/webfiles.war/21.webfiles.war 2003-01-18 21:18:23,691 INFO [org.jboss.web.localhost.Engine] WebappLoader[/webfiles]: Deploying class repositories to work directory C:\jboss-3.0.5_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\webfiles 2003-01-18 21:18:23,811 INFO [org.jboss.web.localhost.Engine] WebappLoader[/webfiles]: Deploy class files /WEB-INF/classes to C:\jboss-3.0.5_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\webfiles \WEB-INF\classes 2003-01-18 21:18:23,821 INFO [org.jboss.web.localhost.Engine] WebappLoader[/webfiles]: Deploy JAR /WEB-INF/lib/struts.jar to C:\jboss-3.0.5_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\webfiles \WEB-INF\lib\struts.jar 2003-01-18 21:18:28,027 INFO [org.jboss.web.localhost.Engine] ContextConfig[/webfiles]: Added certificates -> request attribute Valve 2003-01-18 21:18:28,658 INFO [org.jboss.web.catalina.EmbeddedCatalinaService41] Using Java2 parent classloader delegation: true 2003-01-18 21:18:28,658 INFO [org.jboss.web.localhost.Engine] StandardManager[/webfiles]: Seeding random number generator class java.security.SecureRandom 2003-01-18 21:18:28,668 INFO [org.jboss.web.localhost.Engine] StandardManager[/webfiles]: Seeding of random number generator has been completed 2003-01-18 21:18:28,668 INFO [org.jboss.web.localhost.Engine] StandardWrapper[/webfiles:default]: Loading container servlet default 2003-01-18 21:18:28,668 INFO [org.jboss.web.localhost.Engine] StandardWrapper[/webfiles:invoker]: Loading container servlet invoker 2003-01-18 21:18:41,196 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-3.0.5_tomcat-4.1.18/server/default/deploy/webfiles.war 2003-01-18 21:19:03,158 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Missing message for key application.title at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 48) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext
[JBoss-user] deploying war file on jboss-3.0.5RC1_tomcat-4.1.18
Hi, I want to move my application from JBoss-2.4.6_Tomcat-4.0.3 to jboss-3.0.5RC1_tomcat-4.1.18. Jboss 3 is starting, I was able to access http://192.168.1.110:8080/jmx-console/index.jsp jmx-console page. I copied my war file to deploy (G:\jboss-3.0.5RC1_tomcat-4.1.18\server\default\deploy) directory, my application is not deployed, I re-started the jboss, still its not deploying the web application. Do I have to add anything on my war file? Thanks SR
[JBoss-user] deploying war file on jboss-3.0.5RC1_tomcat-4.1.18
Hi, I want to move my application from JBoss-2.4.6_Tomcat-4.0.3 to jboss-3.0.5RC1_tomcat-4.1.18. Jboss 3 is starting, I was able to access http://192.168.1.110:8080/jmx-console/index.jsp jmx-console page. I copied my war file to deploy (G:\jboss-3.0.5RC1_tomcat-4.1.18\server\default\deploy) directory, my application is not deployed, I re-started the jboss, still its not deploying the web application. Do I have to add anything on my war file? Thanks SR
[JBoss-user] Why PHP why not JSP?
Hi, Today I visited jboss.org web site, it looks different (with php . I dont know much about php. Is there any advantage in PHP compare to JSP? Thanks -SR
[JBoss-user] Pre compiling JSP Pages
Hi, I am using jboss with tomcat. I want to precompiled my JSP pages, how will I do that. thanks in advance. -SR
Re: [JBoss-user] xdoclet creating wrong package
yes, I am using xdoclet 1.1.2, JDK 1.3 Did you make any change in the build.xml script.?? my output looks like this. Buildfile: build.xml check-environment: check-jboss: wrong-jboss: check-xdoclet: wrong-xdoclet: init: [echo] build.compiler = ${build.compiler} [echo] user.home = C:\Documents and Settings\sundaram.SUNDARAM [echo] java.home = c:\jdk\jre [echo] ant.home = c:\javatools\ant [echo] jboss.home = D:/jboss-3.0.0_tomcat-4.0.3 [echo] xdoclet.home = C:/javatools/xdoclet [echo] java.class.path = c:\javatools\ant\lib\jaxp.jar;c:\javatools\ant\lib\crimson.jar;c:\javatools\ ant\lib\ant.jar;.;c:\javatools\ant\lib\ant.jar;c:\javatools\ant\lib\crimson. jar;c:\javatools\ant\lib\jaxp.jar;c:\javatools\drivers\oraclethin.zip;c:\jav atools\drivers\mm.mysql-2.0.4-bin.jar;c:\javatools\drivers\jdbc2_0-stdext.ja r;c:\jdk\xdoclet\lib\xdoclet.jar;c:\javatools\log4j\lib\log4j.jar;c:\javatoo ls\log4j\lib\log4j-core.jar;c:\tomcat\lib;c:\tomcat\lib\jasper.jar;c:\tomcat \lib\jaxp.jar;c:\tomcat\lib\parser.jar;c:\tomcat\lib\servlet.jar;c:\tomcat\l ib\webserver.jar;.;.;c:\jdk\lib\tools.jar [echo] xdoclet-generate: [ejbdoclet] Generating Javadoc [ejbdoclet] Javadoc execution [ejbdoclet] Loading source file D:\work\group\src\main\ejb\com\percipia\auth\entity\UserEntityBean.java... [ejbdoclet] Constructing Javadoc information... [ejbdoclet] javadoc: warning - Cannot find class com.percipia.auth.entity.UserEntityData [ejbdoclet] javadoc: warning - Cannot find class com.percipia.auth.entity.UserEntityPK [ejbdoclet] Running [ejbdoclet] Generating Home interface for 'com.percipia.auth.entity.UserEntityBean'. [ejbdoclet] Running [ejbdoclet] Generating Remote interface for 'com.percipia.auth.entity.UserEntityBean'. [ejbdoclet] Running [ejbdoclet] Generating PK class for 'com.percipia.auth.entity.UserEntityBean'. [ejbdoclet] Running [ejbdoclet] Generating Data Object class for 'com.percipia.auth.entity.UserEntityBean'. [ejbdoclet] Running [ejbdoclet] Generating CMP class for 'com.percipia.auth.entity.UserEntityBean'. [ejbdoclet] Running [ejbdoclet] Generating EJB deployment descriptor. [ejbdoclet] Running [ejbdoclet] Generating jboss.xml. [ejbdoclet] Generating jaws.xml. [ejbdoclet] Generating jbosscmp-jdbc.xml. [ejbdoclet] 2 warnings compile: [mkdir] Created dir: D:\work\group\build\classes [javac] Compiling 9 source files to D:\work\group\build\classes [javac] D:\work\group\build\generate\com\percipia\auth\interfaces\UserEntity.java:38 : cannot resolve symbol [javac] symbol : class UserEntityData [javac] location: package entity [javac]public com.percipia.auth.entity.UserEntityData getValueObject( ) throws java.rmi.RemoteException; [javac] ^ [javac] D:\work\group\build\generate\com\percipia\auth\interfaces\UserEntity.java:44 : cannot resolve symbol [javac] symbol : class UserEntityData [javac] location: package entity [javac]public void setValueObject( com.percipia.auth.entity.UserEntityData pUserEntity ) throws com.percipia.auth.interfaces.InvalidValueException, java.rmi.RemoteException; [javac]^ [javac] D:\work\group\build\generate\com\percipia\auth\interfaces\UserEntityHome.jav a:47: cannot resolve symbol [javac] symbol : class UserEntityData [javac] location: package entity [javac]public com.percipia.auth.interfaces.UserEntity create(com.percipia.auth.entity.UserEntityData pUserEntity) throws com.percipia.auth.interfaces.InvalidValueException, javax.ejb.EJBException, java.rmi.RemoteException,javax.ejb.CreateException; [javac] ^ [javac] 3 errors BUILD FAILED d:\work\group\build.xml:191: Compile failed, messages should have been provided. Total time: 13 seconds - Original Message ----- From: "wonder sonic" <[EMAIL PROTECTED]> To: "Sundaram Ramasamy" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 25, 2002 5:33 AM Subject: Re: [JBoss-user] xdoclet creating wrong package > I had no problem: > Buildfile: build.xml > > check-environment: > > check-jboss: > > wrong-jboss: > > check-xdoclet: > > wrong-xdoclet: > > init: > [echo] build.compiler = ${build.compiler} > [echo] user.home = C:\Documents and > Settings\Administrateur > [echo] java.home = e:\jdk1.4.0\jre > [echo] ant.home = E:\ant-1.4\bin\\.. > [echo] jboss.home = E:/jboss-3.0.0_tomcat-4.0.3 > [echo] xdoclet.home = E:/xdoclet-1.1.2 > [echo] java.class.path = > e:\jdk1.4.0\lib\tools.jar;E:\ant-1.4\bin\\..\lib\jaxp.jar;E:\ant-1.4\bin\\.. \lib\jakarta-ant-1.4 > -optional.jar;E:\ant-1.4\bin\\..\lib\crimson.jar;E:\ant-1.4\bin\\..\lib\an t.jar;E:\Apache~1.0\common\lib\servlet.jar > [echo] > &
Re: [JBoss-user] xdoclet creating wrong package
yes, I have those lines in my build.xml file. - Original Message - From: "wonder sonic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 7:50 AM Subject: Re: [JBoss-user] xdoclet creating wrong package > Hi, > I'm not an xdoclet expert but did you put the line: > > substituteWith="interfaces"/> > > in the build.xml ant file? > > look at the example: > > ... > > name="ejbdoclet" > classname="xdoclet.ejb.EjbDocletTask" > > > > > > sourcepath="${src.ejb.dir}" > destdir="${build.generate.dir}" > classpathref="base.path" > excludedtags="@version,@author" > ejbspec="${ejb.version}" > mergedir="${src.resources.dir}/xdoclet" > force="${xdoclet.force}" > > > > > > > packages="session,entity" > substituteWith="interfaces"/> > > > > > > destdir="${build.dir}/META-INF"/> > > xmlencoding="UTF-8" > typemapping="${type.mapping}" > datasource="${datasource.name}" > destdir="${build.dir}/META-INF" > validateXml="false" > /> > > > ... > > Hope it helps... > Wonder Sonic > > --- Sundaram <[EMAIL PROTECTED]> a écrit : > Hi, > > > > I have modified template example , created user > > entity bean. some how it > > creating wrong package name. > > > > user entity class, it generating wrong package > > name. > > com.percipia.auth.entity, but it suppose to be > > com.percipia.auth.interfaces. > > > > generated line: > >public com.percipia.auth.entity.UserEntityData > > getValueObject( ) throws > > java.rmi.RemoteException; > > > > > > > > UserEntityBean.java > > --- > > > > package com.percipia.auth.entity; > > > > import com.percipia.auth.interfaces.*; > > > > import java.sql.Date; > > import java.rmi.RemoteException; > > import java.util.Collection; > > import java.util.Iterator; > > > > import javax.ejb.CreateException; > > import javax.ejb.EJBException; > > import javax.ejb.EntityBean; > > import javax.ejb.EntityContext; > > import javax.ejb.FinderException; > > import javax.ejb.RemoveException; > > import javax.naming.Context; > > import javax.naming.InitialContext; > > import javax.naming.NamingException; > > import javax.rmi.PortableRemoteObject; > > > > /** > > * The Entity bean represents a UserEntity > > * > > * @author Andreas Schaefer > > * @version $Revision: 1.1 $ > > * > > * @ejb:bean name="User/UserEntity" > > * display-name="UserEntity working on > > projects to support > > clients" > > * type="CMP" > > * jndi-name="ejb/User/UserEntity" > > * > > * @ejb:transaction type="Required" > > * > > * @ejb:data-object > > extends="com.percipia.auth.interfaces.AbstractData" > > * setdata="false" > > * > > * @ejb:finder signature="java.util.Collection > > findAll()" > > * > > * @ejb:finder > > signature="com.percipia.auth.interfaces.UserEntity > > findByName( java.lang.String pSurname, > > java.lang.String pLastName )" > > * > > * @jboss:finder-query name="findByName" > > * query="First_Name = {0} AND > > Last_Name = {1}" > > * > > * @ejb:finder > > signature="com.percipia.auth.interfaces.UserEntity > > findAnotherByName( int pId, java.lang.String > > pSurname, java.lang.String > > pLastName )" > > * > > * @jboss:finder-query name="findAnotherByName" > > * query="Id != {0} AND > > First_Name = {1} AND Last_Name = > > {2}" > > * > > * @jboss:table-name table-name="UserEntity" > > * > > * @jboss:create-table create="true" > > * > > * @jboss:remove-table remove="true" > > **/ > > public abstract class UserEntityBean > >implements EntityBean > > { > > > > > > > > > > // > > > - > >// Members > > > > > > > > // > > > - > > > >public EntityContext mContext; > > > > > > > > > > // > > > - > >// Methods > > > > > > > > // > > > - > > > >/** > >* Store the data within the provided data object > > into this bean. > >* > >* @param pUserEntity The Value Object containing > > the UserEntity values > >* > >* @ejb:interface-method view-type="remote" > >**/ > >public void setValueObject( UserEntityData > > pUserEntity ) > > throws > > InvalidValueException > >{ > > // Check for Data Integrity in the Value > > Object > > if( pUserEntity == null ) { > > throw new InvalidValueException( > > "object.undefined", > > "UserEntity" ); > > } > >
[JBoss-user] warning in the template example
Hi, When I try to build the template example I am getting following xdoclet warning message, How will I fix this? Thanks xdoclet-generate: [ejbdoclet] Generating Javadoc [ejbdoclet] Javadoc execution [ejbdoclet] Loading source file D:\work\template\src\main\ejb\test\entity\TestEntityBean.java... [ejbdoclet] Loading source file D:\work\template\src\main\ejb\test\message\TestMessageDrivenBean.java... [ejbdoclet] Loading source file D:\work\template\src\main\ejb\test\session\SequenceGeneratorBean.java... [ejbdoclet] Loading source file D:\work\template\src\main\ejb\test\session\TestSessionBean.java... [ejbdoclet] Constructing Javadoc information... [ejbdoclet] D:\work\template\src\main\ejb\test\entity\TestEntityBean.java:10: Class test.interfaces.TestEntity not found in import. [ejbdoclet] import test.interfaces.TestEntity; [ejbdoclet]^ [ejbdoclet] D:\work\template\src\main\ejb\test\entity\TestEntityBean.java:11: Class test.interfaces.TestEntityData not found in import. [ejbdoclet] import test.interfaces.TestEntityData; [ejbdoclet]^ [ejbdoclet] D:\work\template\src\main\ejb\test\entity\TestEntityBean.java:12: Class test.interfaces.TestEntityHome not found in import. [ejbdoclet] import test.interfaces.TestEntityHome; [ejbdoclet]^ [ejbdoclet] D:\work\template\src\main\ejb\test\entity\TestEntityBean.java:13: Class test.interfaces.TestEntityPK not found in import. [ejbdoclet] import test.interfaces.TestEntityPK; [ejbdoclet]^ [ejbdoclet] D:\work\template\src\main\ejb\test\entity\TestEntityBean.java:16: Class test.interfaces.SequenceGenerator not found in import. [ejbdoclet] import test.interfaces.SequenceGenerator; [ejbdoclet]^ [ejbdoclet] javadoc: warning - Import not found: test.interfaces.TestEntity - ignoring! [ejbdoclet] javadoc: warning - Import not found: test.interfaces.TestEntityData - ignoring! [ejbdoclet] D:\work\template\src\main\ejb\test\entity\TestEntityBean.java:17: Class test.interfaces.SequenceGeneratorHome not found in import. [ejbdoclet] javadoc: warning - Import not found: test.interfaces.TestEntityHome - ignoring! [ejbdoclet] javadoc: warning - Import not found: test.interfaces.TestEntityPK - ignoring! [ejbdoclet] import test.interfaces.SequenceGeneratorHome; [ejbdoclet]^ [ejbdoclet] javadoc: warning - Import not found: test.interfaces.SequenceGenerator - ignoring! [ejbdoclet] javadoc: warning - Import not found: test.interfaces.SequenceGeneratorHome - ignoring! [ejbdoclet] javadoc: warning - Cannot find class test.interfaces.TestEntityData [ejbdoclet] javadoc: warning - Cannot find class test.interfaces.TestEntityPK [ejbdoclet] javadoc: warning - Import not found: test.interfaces.TestEntity - ignoring! [ejbdoclet] javadoc: warning - Import not found: test.interfaces.TestEntityData - ignoring! [ejbdoclet] javadoc: warning - Import not found: test.interfaces.TestEntityHome - ignoring! [ejbdoclet] Running [ejbdoclet] Generating Home interface for 'test.entity.TestEntityBean'. [ejbdoclet] Generating Home interface for 'test.session.SequenceGeneratorBean'. [ejbdoclet] Generating Home interface for 'test.session.TestSessionBean'. [ejbdoclet] Running [ejbdoclet] Generating Remote interface for 'test.entity.TestEntityBean'. [ejbdoclet] Generating Remote interface for 'test.session.SequenceGeneratorBean'. [ejbdoclet] Generating Remote interface for 'test.session.TestSessionBean'. [ejbdoclet] Running [ejbdoclet] Generating PK class for 'test.entity.TestEntityBean'. [ejbdoclet] Running [ejbdoclet] Generating Data Object class for 'test.entity.TestEntityBean'. [ejbdoclet] Running [ejbdoclet] Generating CMP class for 'test.entity.TestEntityBean'. [ejbdoclet] Running [ejbdoclet] Generating EJB deployment descriptor. [ejbdoclet] Running [ejbdoclet] Generating jboss.xml. [ejbdoclet] Generating jaws.xml. [ejbdoclet] Generating jbosscmp-jdbc.xml. [ejbdoclet] 11 warnings --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ERROR Proxy: getClasses
create all EJB class into jar file and put it in JBOSS_DIST/lib/ext directory, also re-start the application server. - Original Message - From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 20, 2002 10:49 AM Subject: RE: [JBoss-user] ERROR Proxy: getClasses > The run script I'm running on HP-UX (run.sh) is identical to that on W2K > (run.bat) but both are different from the original as well as the > java.policy, in which I grant all permissions: > > grant { > permission java.security.AllPermission; > }; > > and run.sh script I added 2 options (java.security.policy and > java.security.manager): > > java $HOTSPOT $JAXP -classpath $JBOSS_CLASSPATH > -Djava.security.policy=$JBOSS_DIST/bin/java.policy -Djava.security.manager > org.jboss.Main $@ > > One last issue is that calls between EJB's are made dynamically. > > > Tiago Fernandes Thomaz > > > -Original Message- > From: Sundaram Ramasamy [mailto:[EMAIL PROTECTED]] > Sent: quinta-feira, 20 de Junho de 2002 13:47 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] ERROR Proxy: getClasses > > > Did you changed anything in the run.sh script, like CLASSPATH or > JBOSSCLASSPATH > > -SR > > > - Original Message - > From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, June 20, 2002 8:19 AM > Subject: [JBoss-user] ERROR Proxy: getClasses > > > > I run JBoss2.4.6-Tomcat4.0.3 in my W2K and deploy my application (1 .ear, > > 3.war, several .jar) and all goes well. Some beans reference other beans > > which are confined in different jars. > > When I run it on HP-UX I got the following exception: > > > > [ERROR, ProxyProxy] getClasses > > java.lang.ClassNotFoundException: My_SessionBeanHome > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at org.jboss.proxy.ProxyProxy.getClasses(ProxyProxy.java:35) > > at org.jboss.proxy.ProxyProxy.readResolve(ProxyProxy.java:49) > > at java.lang.reflect.Method.invoke(Native Method) > > at java.io.ObjectStreamClass.invokeMethod(Unknown Source) > > at java.io.ObjectInputStream.readObject(Unknown Source) > > at java.io.ObjectInputStream.readObject(Unknown Source) > > at java.rmi.MarshalledObject.get(Unknown Source) > > at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:439) > > at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:419) > > at javax.naming.InitialContext.lookup(InitialContext.java:350) > > at java.lang.Thread.run(Unknown Source) > > > > > > Any ideas what might be causing this? > > Any help would be great. > > Thanks in advance for your help. > > My best, > > > > Tiago Fernandes Thomaz > > > > > > --- > >Bringing you mounds of caffeinated joy > >>>> http://thinkgeek.com/sf<<< > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > --- >Bringing you mounds of caffeinated joy >>>> http://thinkgeek.com/sf<<< > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > --- >Bringing you mounds of caffeinated joy >>>> http://thinkgeek.com/sf<<< > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Tomcat/Jetty/JBoss Authentication through NT Domain
check out here: http://sfg.sourceforge.net/ - Original Message - From: Michael Angelo Libio To: [EMAIL PROTECTED] Sent: Friday, June 14, 2002 1:04 PM Subject: [JBoss-user] Tomcat/Jetty/JBoss Authentication through NT Domain I was wondering if anyone has ever come up with or thought of a solution for an internal web application that authenticates the users against the NT Domain controller. Id like to use the built-in authentication mechanism provided by Tomcat of Jetty (via Realms), maybe even delegate it to JBoss security. Oh, one thing to note, were not using MS Active Directory. As a plus, it would be nice to be able to use NT user groups for roles, but I can manage this separately if its not available. Any reference to URLs and/or sample code/snippet is greatly appreciated.
Re: [JBoss-user] Code generation Utilty
Thanks, This tool also use full. http://sourceforge.net/projects/jbossdruid/ -SR - Original Message - From: "Marius Kotsbak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 2:26 PM Subject: Re: [JBoss-user] Code generation Utilty > Xdoclet have some links to programs that do that. > > Or search for jboss or ejb at sf.net > > On Fri, 2002-05-31 at 20:18, Frederick N. Brier wrote: > > I know Togethersoft's Together Control Center does it, combined with Mike > > Swainston-Rainford's JBoss Deployer Plugin. Mike's extension is only $60, > > but TCC is pricey. > > > > Fred. > > > > At 01:54 PM 5/31/2002, you wrote: > > >Hi, > > > > > >I have set of table's in my database, I want to generate entity bean class > > >and deployment descriptor for jboss application server. What is the best > > >code generation utility for this?. > > > > > >Thanks > > >SR > > > > > > > > >___ > > > > > >Don't miss the 2002 Sprint PCS Application Developer's Conference > > >August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > > > >___ > > >JBoss-user mailing list > > >[EMAIL PROTECTED] > > >https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > ___ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > ___ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Code generation Utilty
Hi, I have set of table's in my database, I want to generate entity bean class and deployment descriptor for jboss application server. What is the best code generation utility for this?. Thanks SR ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Struts Class loading error
Hi I am using JBoss-2.4.6_Tomcat-4.0.3 bundle. I packed struts jar in the web application WEB-INF/lib direcotry. when I try to access JSP page I am getting Class not found error message. If I copy the struts.jar file into jboss/lib/ext directory application is running fine. I have do the same thing for application Servlet class too. Is there way other way? I can solve this problem without copying into jboss/lib/ext directory. Thanks -SR ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBOSS 2.4.6 primkey Error message
Thanks, It solved my problem. -SR - Original Message - From: "Alex Loubyansky" <[EMAIL PROTECTED]> To: "Sundaram Ramasamy" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, May 24, 2002 2:57 AM Subject: Re: [JBoss-user] JBOSS 2.4.6 primkey Error message > Hello Sundaram, > > have you tried changing itemid type from int to Integer. Though, I am > not sure that is the problem. > > Good luck, > > alex > > Thursday, May 23, 2002, 11:03:12 PM, you wrote: > > SR> Hi > > SR> I am getting following error in JBoss-2.4.6_Tomcat-4.0.3. I don't know what I am doing wrong. > > SR> Error > SR> > SR> [ERROR,ContainerFactory] > SR> Bean : RoomService > SR> Section: 9.4.7.1 > SR> Warning: The type of the field named in the primkey-field element must match the > SR> class in the prim-key-class element. > > SR> ejb-jar.xml > SR> --- > > SR> > SR> RoomService > SR> RoomService > SR> com.percipia.ptce.xmlapps.RoomServiceHome > SR> com.percipia.ptce.xmlapps.RoomService > SR> com.percipia.ptce.xmlapps.RoomServiceBean > SR> Container > SR> java.lang.Integer > SR> False > SR> itemid > SR> itemname > SR> itemdesc > SR> price > SR> itemid > SR> > > SR> jaws.xml > SR> > > > SR> > SR> DefaultDS > SR> mySQL > > SR> > SR> false > SR> false > SR> true > SR> false > SR> 300 > SR> > > SR> > SR> > SR> RoomService > SR> roomservice > SR> false > SR> false > SR> true > SR> false > SR> 300 > SR> false > SR> > SR> itemid > SR> itemid > SR> int > SR> INTEGER > SR> > SR> > SR> itemname > SR> itemname > SR> varchar(50) > SR> VARCHAR > SR> > SR> > SR> itemdesc > SR> itemdesc > SR> varchar(200) > SR> VARCHAR > SR> > SR> > SR> price > SR> price > SR> float > SR> FLOAT > SR> > SR> > SR> > SR> > > SR> my MySQL table > > SR> CREATE TABLE roomservice( > SR> itemid INT NOT NULL AUTO_INCREMENT, > SR> itemname VARCHAR(50), > SR> itemdesc VARCHAR(200), > SR> price float DEFAULT 0 , > SR> PRIMARY KEY (itemid)); > > > SR> my Bean Class > SR> /** > SR> * Implementation of Business Methods for RoomService objects. > SR> */ > SR> public class RoomServiceBean implements EntityBean { > SR> /* CMP FIELDS AND ACCESSORS */ > SR> public int itemid; > SR> public int getItemid() { return itemid; } > SR> public void setItemid(int value) { itemid = value; } > SR> public java.lang.String itemname; > SR> public java.lang.String getItemname() { return itemname; } > SR> public void setItemname(java.lang.String value) { itemname = value; } > SR> public java.lang.String itemdesc; > SR> public java.lang.String getItemdesc() { return itemdesc; } > SR> public void setItemdesc(java.lang.String value) { itemdesc = value; } > SR> public float price; > SR> public float getPrice() { return price; } > SR> public void setPrice(float value) { price = value; } > > SR> /* > SR> * EJB Create Methods > SR> */ > SR> public java.lang.Integer ejbCreate(java.lang.Integer id) > SR> throws CreateException { > SR> /** > SR> * @todo You must set the properties of this bean > SR> * based on what was passed to this create method. > SR> */ > SR> return null; > SR> } > SR> public void ejbPostCreate(java.lang.Integer id) { > SR> } > > SR> my Home Interface > > SR> public interface RoomServiceHome extends EJBHome { > > SR> /* EJB CREATE METHODS */ > SR> public RoomService create(java.lang.Integer id) > SR> throws RemoteException, CreateException; > > > SR> /* EJB FINDER METHODS */ > SR> public RoomService findByPrimaryKey(java.lang.Integer id) > SR> throws RemoteException, FinderException; > > SR> public Collection findAll() throws java.rmi.RemoteException, javax.ejb.FinderException; > > SR> } > > SR> any help? > > > > SR> Sundaram Ramasamy > > > -- > Best regards, > Alex Loubyansky > > > > ___ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBOSS 2.4.6 primkey Error message
HiI am getting following error in JBoss-2.4.6_Tomcat-4.0.3. I don't know what I am doing wrong.Error[ERROR,ContainerFactory]Bean : RoomServiceSection: 9.4.7.1Warning: The type of the field named in the primkey-field element must match theclass in the prim-key-class element.ejb-jar.xml---RoomServiceRoomServicecom.percipia.ptce.xmlapps.RoomServiceHomecom.percipia.ptce.xmlapps.RoomServicecom.percipia.ptce.xmlapps.RoomServiceBeanContainerjava.lang.IntegerFalse itemid itemname itemdesc price itemidjaws.xmlDefaultDSmySQLfalsefalsetruefalse300RoomServiceroomservicefalsefalsetruefalse300falseitemiditemidintINTEGERitemnameitemnamevarchar(50)VARCHARitemdescitemdescvarchar(200)VARCHARpricepricefloatFLOATmy MySQL tableCREATE TABLE roomservice(itemid INT NOT NULL AUTO_INCREMENT,itemname VARCHAR(50),itemdesc VARCHAR(200),price float DEFAULT 0 ,PRIMARY KEY (itemid));my Bean Class/*** Implementation of Business Methods for RoomService objects.*/public class RoomServiceBean implements EntityBean {/* CMP FIELDS AND ACCESSORS */public int itemid;public int getItemid() { return itemid; }public void setItemid(int value) { itemid = value; }public java.lang.String itemname;public java.lang.String getItemname() { return itemname; }public void setItemname(java.lang.String value) { itemname = value; }public java.lang.String itemdesc;public java.lang.String getItemdesc() { return itemdesc; }public void setItemdesc(java.lang.String value) { itemdesc = value; }public float price;public float getPrice() { return price; }public void setPrice(float value) { price = value; }/** EJB Create Methods*/public java.lang.Integer ejbCreate(java.lang.Integer id)throws CreateException {/*** @todo You must set the properties of this bean* based on what was passed to this create method.*/return null;}public void ejbPostCreate(java.lang.Integer id) {}my Home Interfacepublic interface RoomServiceHome extends EJBHome {/* EJB CREATE METHODS */public RoomService create(java.lang.Integer id)throws RemoteException, CreateException;/* EJB FINDER METHODS */public RoomService findByPrimaryKey(java.lang.Integer id)throws RemoteException, FinderException;public Collection findAll() throws java.rmi.RemoteException, javax.ejb.FinderException;}any help?Sundaram Ramasamy
Re: [JBoss-user] unable to call CMP (HELP)
I am also had the same problem. copy your jar file into lib/ext directory. -SR - - Original Message - From: Kiran MN To: [EMAIL PROTECTED] Sent: Friday, November 23, 2001 2:02 AM Subject: [JBoss-user] unable to call CMP (HELP) Hi, I have simple Jsp form where a user inputs some data and clicks ADD button on the form which intern calls another Jsp(cntrl.jsp) where i am invoking CMP. I have made a jar file (Remote, home and ejb with Meta-Inf containing ejb-jar.xml and jaws.xml) and a war file (all jsps with web-inf containing web.xml and jboss-web.xml files) Then I made an ear using the above two jar and war files and deployed it in deploy folder of Jboss. My problem is when I submit the first form after entering values, It is throwing exception saying ProjectHome.class not found. When I tried this by importing the bean package (com.mms.*) in my Jsp, It is saying.. Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:\JBoss-2.4.3_Tomcat-3.2.3\tomcat\work\localhost_8080%2Fmms\_0002fadd_0005fproject_0005fctrl_0002ejspadd_0005fproject_0005fctrl_jsp_0.java:16: Package com.mms not found in import.import com.mms.*; ^PS: I have even tried by setting jar file to classpath variable. I am using JBoss-2.4.3_Tomcat-3.2.3 and my database is Oracle 8i. I have also attached my log file for reference. Can any one please suggest me how to solve this..and also let me know whether I need to create any virtual directory in tomcat for this application. ThanksKiran
[JBoss-user] passing value between applications
Hi, I want to share information between two web application. Is there a way for this.!!! I tried with servlet context also. Still its not working. I am getting the null value. For More Info about the problem. Different Web applications hosted on the same container do not share the clients' session information. That is, if you have two Web applications deployed on the same container, servlets in both applications "see" two different sessions for the same client. This is a marked difference from the old servlet model in which a container (a.k.a., "servlet engine") can establish only one client session. You now need to implement more ingenious ways to share data between your Web applications. http://www.allaire.com/handlers/index.cfm?ID=18434 How will i make only one session id for same client??? - Original Message - From: "Nicholas" <[EMAIL PROTECTED]> To: "Sundaram Ramasamy" <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 12:21 PM Subject: Re: [JBoss-user] passing value between applications > Use the servlet context instead of the session. > > //Nicholas > > > --- Sundaram Ramasamy <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have deployed two .ear files ( employee.ear and > > funnel.ear ) into > > jboss-tomcat. I want to pass the value between two > > application. > > > > using session scope store value in one application > > trying to retrive > > another applcation, but i am getting different > > session id. > > > > Is there any other way i can pass the value between > > applications. > > > > -SR > > > > --code to set ( sset.jsp ) > > <%@ page language="java" import="java.io.*"%> > > > > > > Set Session > > > > > > > > > > <% > > session.setAttribute("name", "Sundaram Ramasamy"); > > > > %> > > > > Session id : <%= session.getId() %> > > > > http://localhost/funnel/sget.jsp";>Click > > Here to get > > > > > > > > > > --- code to get ( sget.jsp ) > > > > <%@ page language="java" import="java.io.*"%> > > > > > > get Session > > > > > > > > > > <% > > String name = (String)session.getAttribute("name"); > > > > %> > > > > Session id : <%= session.getId() %> > > > > > > > > Name : <%= name %> > > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > = > Nicholas Whitehead > Home: (973) 377 9335 > Cell: (201) 615 2716 > Work(@ JP Morgan): (212) 235 5783 > [EMAIL PROTECTED] > > ___ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] passing value between applications
Hi, I have deployed two .ear files ( employee.ear and funnel.ear ) into jboss-tomcat. I want to pass the value between two application. using session scope store value in one application trying to retrive another applcation, but i am getting different session id. Is there any other way i can pass the value between applications. -SR --code to set ( sset.jsp ) <%@ page language="java" import="java.io.*"%> Set Session <% session.setAttribute("name", "Sundaram Ramasamy"); %> Session id : <%= session.getId() %> http://localhost/funnel/sget.jsp";>Click Here to get --- code to get ( sget.jsp ) <%@ page language="java" import="java.io.*"%> get Session <% String name = (String)session.getAttribute("name"); %> Session id : <%= session.getId() %> Name : <%= name %> ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] XML warning
Hi, I am running my web application on JBoss-2.4.3_Tomcat-3.2.3. While browsing my application I getting the following message on the console window. But my application works fine. any idea why I am getting this error. Thanks SR [Default] Warning: validation was turned on but an org.xml.sax.ErrorHandler was not [Default] set, which is probably not what is desired. Parser will use a default [Default] ErrorHandler to print the first 10 errors. Please call [Default] the 'setErrorHandler' method to fix this. [Default] Error: URI=null Line=41: Element "web-app" does not allow "servlet" he re. [Default] Error: URI=null Line=59: Element "web-app" does not allow "servlet" he re. [Default] Warning: validation was turned on but an org.xml.sax.ErrorHandler was not [Default] set, which is probably not what is desired. Parser will use a default [Default] ErrorHandler to print the first 10 errors. Please call ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] sorting finer resutl!!!!
I have changed like this. findByUserid userid like {0} userid, last_update true from my client program I will call like this s.findByUserid( "%"); it returns all records order by userid and last_update field. Thanks -SR - Original Message - From: "danch" <[EMAIL PROTECTED]> To: "Sundaram Ramasamy" <[EMAIL PROTECTED]> Cc: "Frank Morton" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 10:22 AM Subject: Re: [JBoss-user] sorting finer resutl > There's a bug in versions from about 2.4 to 2.4.3 that causes this to > not work. The workaround is simply to call the finder something other > than findAll. Fix is in for version 2.4.4 > > -danch > > Sundaram Ramasamy wrote: > > > Hi, > > > > I want to sort the findAll result by userid and last_update field. I defined > > my jaws.xml file like this. > > > > > > findAll > > 1=1 > > userid, last_update > > true > > > > > > But this is not returning the sorted result. > > > > Any help on this??? > > > > -SR > > > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] sorting finer resutl!!!!
Hi, I want to sort the findAll result by userid and last_update field. I defined my jaws.xml file like this. findAll 1=1 userid, last_update true But this is not returning the sorted result. Any help on this??? -SR ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Best JDK for Linux
Hi, Which is best JDK implementation for Linux Sun or IBM?. I am planning to install in Redhat 7.2. Thanks -SR ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Problem in connecting to Oracle 8i using JBoss/Tomcat
in jboss.jcml change like this oracle.jdbc.driver.OracleDriver DefaultDS org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:oracle:thin:@192.168.1.197:1521:A 120 sti sti 10 false false false true 12 180 false false 1.0 0 Give correct URL, user name and passowrd. no need to have jboss.properites file. bye - Original Message - From: Kiran MN To: [EMAIL PROTECTED] Sent: Friday, November 09, 2001 6:27 AM Subject: [JBoss-user] Problem in connecting to Oracle 8i using JBoss/Tomcat Hello All, Can any one tell me the procedure to to configure Oracle 8i ( ver is 8.1.5) on JBoss-2.4.3_tomcat-3.2.3. I have followed the procedure given in the documentation... The changes I made are:- 1. In the jboss.properties file I have added the following line jboss.xa.xidclass=oracle.jdbc.xa.OracleXid 2. In jboss.jcml file I have included the following script oracle.jdbc.driver.OracleDriver OracleDB org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl[JBoss 2.4] jdbc:oracle:thin:@192.168.1.5:1521:numbers scott tiger copied classes111_01.zip to lib/ext folder of Jboss.( my oracle8i version is 8.1.5even if if copy classes12.zip still not working.) Please let me know any thing more I need to do to create Connection Pool for Oracle 8i. Thanks in Advance -Kiran
RE: [JBoss-user] JBoss on Win98
How to you redirect the output to the file. I used run.bat > out.txt. It is not redirecting to out.txt Thanks Sundaram Ramasamy mailto: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Peter Routtier-Wone Sent: Saturday, March 31, 2001 8:41 AM To: [EMAIL PROTECTED] Subject:Re: [JBoss-user] JBoss on Win98 | 1. Does run.bat work ? The set command on windows98 doesn't seem to | like an '=' character as an rvalue in the expression, ie | | set JAXP=-Dthis=that | isn't allowed on Windows 98. I've got round this just by putting the | -D options inline on the invocation of jBoss, in the call to the | java interpreter. My version of run.bat works. Don't know about this problem though. | 2. Does anyone who is (forced) to work with Windows98 have any top tips | for being able to scroll back through the output to the console...I'm | trying to look at all the text that scrolls past when I start JBoss, | and I can'tany top tips on better command line interpreters, etc. I use an editor called Textpad that can be configured not to use file locks. I redirect output to a file and open the file with Textpad, which also helpfully reloads the file whenever it has changed and Textpad receives focus. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] security error while running interest client.
Hi, Today I downloaded the jboss-2.1.zip. while try to run the interest client program. Its giving the following error. The same program I was able to run old version of jboss. Got context Got reference Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/security/Se curityAssociation at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(Gener icProxy.java:184) at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java :231) at $Proxy0.create(Unknown Source) at InterestClient.main(InterestClient.java:52) Thanks Sundaram ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user