Re: [JBoss-user] problem with jboss with catalina
Manu KY wrote: > hello all, > i installed jboss with catalina. > but when the jsp and servelts in examples in catalina are invoked i > get a 404 error. > please help > > thanks in advance, > manu > > > _ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > It is normal. You have to repackage the catalina examples as .war applications and deploy them in de jboss/deploy directory -- --- Jean-Louis PASTURELmail [EMAIL PROTECTED] Perso http://perso.wanadoo.fr/jean-louis.pasturel/ ___ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Help !! Strange ejbStore behaviour, Cant Update
Binoy wrote: >Hi Everybody, >I am still using jboss version 2.2.2 jetty RC6 on win2k with postgresql >7.1.2 >I have a strange problem here I am using this certain architecture >Servlets --> Session Bean --> EntityBean -- Database; > >I am trying to call a business method of Entity Bean from session bean and >passing a delegate object to modify values of the attributes of the entity >bean :- > >SessionBean : - updateCustomerInfo() --- > EntityBean :- >updateCustomer(CustomerInfo info) > >Method In the Session Bean: >updateCustomerInfo(CustomerInfo info ) >{ > CustomerEntityRemote remote = customerHome.findByPrimaryKey() // finds >customer Entity Bean > remote.updateCustomer( info); >} > >Method n the EntityBean : >updateCustomer(CustomerInfo info) >{ >this.customerName = info.customerName; >this.customerAge = info.customerAge; >this.customerAddress = info.customer; >} > >The transaction type attribute in the deployment descriptor is: >--RequiresNew >I have tried with -Required- too > >Now calling the session bean method updateCustomerInfo calls remote method >on the entity bean which does nothing but >assign the attributes from the delegate class to entity bean attributes >which logically should call ejbstore and ejbload .. >things are fine till there . but i am getting a strange NullPointer >Exception after ejbstore and ejbload is called > >__ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user > In the Session Bean do -you locate the EntityBean like this ? : Object ref= initial.lookup("MyEB in ejb-jar.xml"); MyEBeanHome home = (JbossModEBHome) PortableRemoteObject.narrow(ref, MyEBBeanHome.class); -- --- Jean-Louis PASTURELmail [EMAIL PROTECTED] Perso http://perso.wanadoo.fr/jean-louis.pasturel/ ___ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Can't start Jboss2.4.1a with catalina embedded
Pasturel wrote: > hi > I download contrib/catalina from jboss CVS and i compile with no problem > > I put the embedded.jar file under jboss/lib/ext > I configure jboss.conf and jboss.jcml like said in readme file. > I start Jboss and there is no error. It seems to start Catalina ( see > below) but the URL http://localhost:8080/examples is not found. > > The screen logs of jboss : > [SNIP]___ > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user I answer myself. Now catalina embedded and Jboss start, but i get an NPE when deploying the war file ( the deployment of jar seems OK). Below extract of the trace of Jboss : [AutoDeployer] Auto deploy of file:/opt/jboss/deploy/tomcat-test.ear [J2EE Deployer Default] Deploy J2EE application: file:/opt/jboss/deploy/tomcat-t est.ear [J2eeDeployer] Create application tomcat-test.ear [J2eeDeployer] inflate and install WEB module tomcat-test.war [J2eeDeployer] install EJB module tomcat-test.jar [J2eeDeployer] add all ejb jar files to the common classpath [Container factory] Deploying:file:/opt/jboss/tmp/deploy/Default/tomcat-test.ear [Verifier] Verifying file:/opt/jboss/tmp/deploy/Default/tomcat-test.ear/ejb1002. jar [Container factory] Deploying Optimized [Container factory] Deploying NonOptimized [ContainerManagement] Initializing [ContainerManagement] Initialized [ContainerManagement] Starting [ContainerManagement] Started [ContainerManagement] Initializing [ContainerManagement] Initialized [ContainerManagement] Starting [ContainerManagement] Started [Container factory] Deployed application: file:/opt/jboss/tmp/deploy/Default/tom cat-test.ear [J2EE Deployer Default] Starting module tomcat-test.war [Default] Deploy WAR:/jboss,file:/opt/jboss/tmp/deploy/Default/tomcat-test.ear/w eb1001/ [Default] java.lang.NullPointerException [Default] at org.jboss.contrib.catalina.ConfigMapper.deploy(ConfigMapper.j ava) an idea ? If no, i wait for the package catalina+jboss embedded by jboss team ... -- --- Jean-Louis PASTURELmail [EMAIL PROTECTED] Perso http://perso.wanadoo.fr/jean-louis.pasturel/ ___ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] error runing tomcat
John LYC wrote: > hi , > yes it is in unix form.. > im runnning in on a linux box.. > > John > > - Original Message ----- > From: "Pasturel" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 21, 2001 10:34 PM > Subject: Re: [JBoss-user] error runing tomcat > > > John LYC wrote: > > > > > hi all, > > > i get this error wherever i run the run_with_tomcat.sh. > > > - > > > JBOSS_CLASSPATH=:/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier. > > > - > > > > > > this is due to the first line the run_with_tomcat.sh > > > the path to the tools.jar is correct.. > > > > > > when i exec run.sh. > > > my jboss starts up okay. > > > > > > i only change the jboss.jcml in both the default and tomcat directory. > > > the changes are identical... > > > i have change nothing else... > > > do i need to do any configuration to the tomcat conf? > > > > > > thanks > > > john > > > > > > ___ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > Is your run_with_tomcat.sh in unix format ? and not in dos format ? > > > > -- > > -- > - > > Jean-Louis PASTURELmail [EMAIL PROTECTED] > > Perso http://perso.wanadoo.fr/jean-louis.pasturel/ > > > ___ > > > > > > > > > > ___ > > 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 Try to create the same file with vi . I got this error with other shell and the reason was that there was escape caracters like ^M in the file. -- --- Jean-Louis PASTURELmail [EMAIL PROTECTED] Perso http://perso.wanadoo.fr/jean-louis.pasturel/ ___ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Can't start Jboss2.4.1a with catalina embedded
gerService] Starting [TransactionManagerService] Started [ClientUserTransactionService] Starting [ClientUserTransactionService] Started [JaasSecurityManagerService] Starting [JaasSecurityManagerService] startService, cachePolicy=null [JaasSecurityManagerService] startService, SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@6c79d7 [JaasSecurityManagerService] Started [JdbcProvider] Starting [JdbcProvider] Started [HypersonicDatabase] Starting [HypersonicDatabase] Database started [HypersonicDatabase] Started [XADataSourceLoader] Starting [PostgresDB] XA Connection pool PostgresDB bound to java:/PostgresDB [Default] Server 1.4 is running [Default] Press [Ctrl]+[C] to abort Is there any thing to do in server.xml in catalina/conf ? Thanks for your help -- --- Jean-Louis PASTURELmail [EMAIL PROTECTED] Perso http://perso.wanadoo.fr/jean-louis.pasturel/ ___ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] error runing tomcat
John LYC wrote: > hi all, > i get this error wherever i run the run_with_tomcat.sh. > - > JBOSS_CLASSPATH=:/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier. > - > > this is due to the first line the run_with_tomcat.sh > the path to the tools.jar is correct.. > > when i exec run.sh. > my jboss starts up okay. > > i only change the jboss.jcml in both the default and tomcat directory. > the changes are identical... > i have change nothing else... > do i need to do any configuration to the tomcat conf? > > thanks > john > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user Is your run_with_tomcat.sh in unix format ? and not in dos format ? -- --- Jean-Louis PASTURELmail [EMAIL PROTECTED] Perso http://perso.wanadoo.fr/jean-louis.pasturel/ ___ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] A little DOC Apache/mod-jk/Jboss/tomcat but in French
Hy, I wrote a little tutorial for beginners in EJB ( Jboss ) on my home page. See below the URL. This doc is in french ;-( I hope this doc help you Best regards... -- --- Jean-Louis PASTURELmail [EMAIL PROTECTED] Perso http://perso.wanadoo.fr/jean-louis.pasturel/ ___ ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] example ant file for creating an EAR file
Marcel Schepers wrote: > Hello, > > Besides the connection troubles mentioned in an earlier post I have > one other thing on my mind. While investigating the connection problem > I found out that I am not deploying my web application in a correct > manner. For the record, I am using JBoss with Tomcat embedded. The > deal seems to be to create one ear file and let JBoss/Tomcat sort it > out. The creation of one EAR file is very confusing for me. For > instance, do need to create at least two jar files? One containing > only EJB's and one containing the regular java classes who act as > proxy for the EJB's. And futhermore, I would like to automate the > creation of the .ear file using Ant. Has anyone done that? And if so, > could you give me some guidelines on how to setup the directory > structure? Perhaps some Ant example code? > > Thanks, > Marcel > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user Do you understand French ? If OK, go to my home page : http://perso.wanadoo.fr/jean-louis.pasturel/ I begin a little tutorial for Jboss, and i use ant to make ear file. regards ... -- --- Jean-Louis PASTURELmail [EMAIL PROTECTED] Perso http://perso.wanadoo.fr/jean-louis.pasturel/ ___ ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss2.2.2 : Error in deploying
This is the error catch when deploying my ear application with jboss2.2.2 : [Auto deploy] : java.net.UnknownHostException: java.sun.com ... My Ear Application works fine with jboss2.2.1. ( Deploy anrd run). Il put my ear file with the message : -- --- Jean-Louis PASTURELmail [EMAIL PROTECTED] Perso http://perso.wanadoo.fr/jean-louis.pasturel/ ___ jbossBD3.ear