Re: [JBoss-user] postgres driver failure ... could not create connection
Ok, ... seems I don't need the login-config.xml. That puts me back at the beginning ... so, any idea what I do need to make these errors go away? 18:54:13,716 ERROR [DBaseFetchBean] getTasks: Could not create connection; - nested throwable: (Something unusual has occured to cause the driver to fail. Please report this exception: java.sql.SQLException: No Postgres username specified in startup packet.); - nested throwable: (org.jboss.resource.ResourceException: Could not create connection; - nested throwable: (Something unusual has occured to cause the driver to fail. Please report this exception: java.sql.SQLException: No Postgres username specified in startup packet.)) - Original Message - From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 10, 2002 10:24 PM Subject: Re: [JBoss-user] postgres driver failure ... could not create connection > The simple config (which I should have made the default) is to put the user > and pw in the config-properties in this file. You only need to use a login > module if you don't want cleartext passwords in your config file or need to > have the db user identity depend on the app user identity in some way (in > which case you need a more complicated login module) > > david jencks > > On 2002.08.10 18:35:22 -0400 G.L. Grobe wrote: > > 18:54:13,716 ERROR [DBaseFetchBean] getTasks: Could not create > > connection; - nested throwable: (Something unusual has occured to cause > > the driver to fail. Please report this exception: java.sql.SQLException: > > No Postgres username specified in startup packet.); - nested throwable: > > (org.jboss.resource.ResourceException: Could not create connection; - > > nested throwable: (Something unusual has occured to cause the driver to > > fail. Please report this exception: java.sql.SQLException: No Postgres > > username specified in startup packet.)) > > > > I'm moving my app from 2.4 into 3.0.1 and I see that the default > > postgres-service.xml file (below) has username and password commented out > > and says I must include a login module named PostgresDbRealm ... and from > > the errors above ... am I following that right? Anyone done this or know > > how this is supposed to go? btw - I did comment the application-policy > > section out, but same results. > > > > --- postgres-service.xml --- > > > > > > > > > > > > > > > > > > > > > > > >> name="jboss.jca:service=LocalTxCM,name=PostgresDS"> > > > > > > > > > > > > > > > >> name="jboss.jca:service=LocalTxDS,name=PostgresDS"> > > > > PostgresDS > > > > > > > type="java.lang.String">jdbc:postgresql://localhost:5432/acais > > > type="java.lang.String">org.postgresql.Driver > > > > > type="java.lang.String"> > > > type="java.lang.String"> > > > > > > > > > > > > > > jboss.jca:service=RARDeployment,n ame=JBoss > > LocalTransaction JDBC Wrapper > > > > > > > > > > > > > > > >> name="jboss.jca:service=LocalTxPool,name=PostgresDS"> > > > > 0 > > 50 > > 5000 > > 15 > > > > ByContainer > > > > > > > > jboss.jca:service=CachedCo nnectionManager > > > > jboss.security:service= JaasSecurityManager > > > > java:/TransactionManager > > > > jboss.jca:service=RARDeployer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 18:54:13,716 ERROR [DBaseFetchBean] > > getTasks: Could > > not create connection; - nested throwable: (Something unusual has occured > > to > > cause the driver to fail. Please report this exception: > > java.sql.SQLException: > > No Postgres username specified in startup packet.); - nested throwable: > > (org.jboss.resource.ResourceException: Could not create connection; - > > nested > > throwable: (Something unusual has occured to cause the driver to fail. > > Please > > report this exception: java.sql.SQLException: No Postgres username > > specified in > > startup packet.)) > > I'm moving my app from 2.4 into 3.0.1 and I > > see > > that the default postgres-service.xml file (below) has username and > > password commented out and says I must include a login module named > > PostgresDbRealm ... and from the errors above ... am I following > > that > > right? Anyone done this or know how this is supposed to go? btw - I did > > comment > > the application-policy section out, but same results. > > > > --- postgres-service.xml --- > > > > > encoding="UTF-8"?> > > > > > >> > code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" > name="jboss.jca:service=LocalTxCM,name=PostgresDS"> > > On a seperate note, in addition to JXTA discussions on this list the JXTA SIG of Bangalore, India would like to invite JBoss users and developers in this region to attend this conference to discuss wonderful possibilities of a possible marriage between JBoss (J2EE) and JXTA :-) Please share this information with all whom it may be relevant. This announcement is also available at http://jxtabang.linuxbee.com the website of JXTA Special Interest Group of Bangalore (JXTABANG) and at http://www.jxta.org, the official website of Project JXTA. Best Regards, Members, JXTABANG *Announcement*** P2P with JXTA. An open architecture for peer-to-peer computing. The JXTA Special Interest Group of Bangalore INDIA (JXTABANG) invites you to the First Gathering in this region to discuss Peer-to-Peer computing using JXTA protocols. Tentative Date : Saturday, 7th September 2002 Tentative Venue: The Oberoi, MG Road. Bangalore. India. Background The Information Technology as well as other sectors are going through a rough weather. The time is right for solutions providers to innovate and stay tuned with the emerging technologies. For business houses it is time to demand cost effective alternatives through reduced infrastructure budgets and maximized utilization of hardware resources. Today's servers in enterprises are taking the pains of serving a large number of clients during peak period while they idle during off-peak period there by leading to inappropriate utilization of infrastructure. The client nodes in the network are not fully active in providing the required resources to other nodes when the need arise. Peer-To-Peer (p2p) Computing paradigm is one such alternative to maximize the ROI of enterprises. The p2p computing mostly addresses the discovery, publishing and communication channel between participating nodes may it be a PC, a Portable Lap Top Computer or a hand held PDA. According to industry analysts, the next big thing in the internet era would be the p2p computing. Though not all the forecasts by the industry analysts have been transformed into reality, there is a good chance that p2p computing will compliment the other available architectures for internet. Project JXTA, an initiative by Sun Microsystems, started as a research project with an open source model, has come a long way where ISVs have started integrating/developing their p2p applications using JXTA Platform (Java Reference implementation) To know more about Project JXTA visit http://www.jxta.org Program Morning Session - Track 01 Open Conference (No entry fee) Key Note. 09.30 AM to 09.45 AM Introduction to P2P. 09.45 AM to 10.00 AM Introduction to JXTA. 10.00 AM to 10.30 AM JXTA protocols and specifications. 10.30 AM to 11.00 AM Programming in JXTA 11.00 AM to 11.30 AM (Java reference implementation). JXTA book authors' experience. 11.30 PM to 12.00 PM Demonstration of JXTA applications. 12.00 PM to 12.45 PM Conclusion. 12.45 PM to 01.00 PM Noon Session - Track 02 JXTA Business Luncheon (Rs. 650 for lunch and other expenses) Casual interaction while having a pleasant lunch. 01.30 PM to 3.00 PM Discussions include : "Insight into p2p and JXTA", "Advantages and Shortcomings in current reference implementation of JXTA", "Most compelling business applications of JXTA" Please Note: 1.This initiative is purely voluntary. 2.The Noon Session is intended to support the activities of Morning Session. 3.Corporate Houses and individuals are welcome to sponsor the event partly or wholly. 4.Actual date and venue will be notified upon receipt of confirmed attendees through e-mail to their respective addresses and through media and local press. 5.Interested developers looking for an opportunity to speak on the technology or potential JXTA based products please contact us before 15th August at the given address. 6.Companies interested in display/demonstration of JXTA based applications/products may contact us before 15th August at the given address. 7.Attendance through invitations only, based on early registrations. How to register: Mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] for registration and sponsorship details. (PREFERRED) Call 91-80-5234448 Ext 328 or 329 (Rajesh Acharya, Infoglyptic Software, Bangalore. INDIA) for tele-registration from 05.30 PM to 6.30PM Indian Standard Time (12.00PM to 01.00PM GMT) (ALTERNATE) Please quot
[JBoss-user] ClusteredHttpSession Question
Shouldn't this work? I am running JBoss 3.0.1final, all configuration I have jbossha-httpsession.sar in deploy directory. My jetty-web.xml has EXTENDED Clustering turned on. I startup 2 instances of JBoss; there are memebershipChanged messages from ReplicantManager I deploy a war on one instance with a servlet that gets an Integer from session, display it, adds 1, puts it back into session Browsing the servlet works fine. When I take the instance with the war down, shouldn't the session info be replcated to the other instance so that when I bring it back up, it gets Integer from session? The servlet gets null from session and starts count over. Greg --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Newbie CMP problems
Hi... I'm quite a newbie to jboss (and j2ee in general), and am having no end of trouble getting started: I'm attempting to create a state machine using a number of entity beans: State, Transition, and ProcessInstance. The ProcessInstance bean represents an actual instantiation of the state machine. State consists of some state data, together with a collection of transitions, and transition consists of a source state, a target state, and a list of validators. ProcessInstance contains a reference to the current state. Using xdoclet, I ended up with the jbosscmp-jdbc.xml file shown at the end of this message (I'm getting an error trying to attach files). When I attempt to deploy my code with this file, I end up getting a javax.management.InstanceAlreadyExistsException exception. If I remove the section of the file, the code deploys OK, but then does not work as desired. I use xdoclet tags similar to the following: @ejb:relation name="CurrentState-relation" role-name="current-state" target-role-name="the-state" target-ejb="State" target-multiple="yes" (I've also tried adding @jboss:relation tags, with no luck) to indicate that the currentState for a processInstance is a unidirectional relationship, and that many processInstances could point to one state. This relation appears in my ProcessInstance file. I have similar tags to deal with states and processes, with one bidirectional relation indicating that a transition's source state can hold many transitions. As you may be able to tell from this message, I have no idea why none of this is working. The mistakes (as far as I can tell) could lie in a number of places: 1) I am misunderstanding how to use relationships in CMP 2) I am misusing the xdoclet tags 3) I am misusing jboss. I'm using postgres 7.2.1 as my backend db, running jboss-3.0.0 (I'm downloading 3.0.1 as I type), xdoclet 1.1.2, and java 1.4 all under linux. Any and all help would be greatly appreciated. Nir Oren The relations extract of my jbosscmp-jdbc.xml file: SourceState-Transition-Relation state-has-many-possible-transitions state-from-which-we-transition TargetState-Transition-Relation target-state target-for-transition-state CurrentState-relation current-state the-state --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.0.1 EAR fails deployment but unzipped works
Hi Jonathan. Do you have an manifest classpath entry in one of your jars for TIPS_baseentity_1.0.0.jar? JBoss has been having some issues lately with Manifest Classpath Entries that have EJB-Jars in them. -Steve Jonathan.O'[EMAIL PROTECTED] wrote: > > Folks, > I'm trying to move over to JBoss 3.0.1 from JBoss 3.0.0 and I can't > figure out my problem. When I deploy my EAR it fails due to one of my > JARs being already registered. > However, the same EAR works perfectly in JBoss 3.0.0. > Stranger still, in JBoss 3.0.1, if I unzip the EAR file into a directory > called myapp.ear and copy that to my deploy directory, suddenly it > deploys correctly. > > Any help would be gratefully appreciated. > Here's the stack trace: > > 2002-08-09 12:13:14,748 INFO [org.jboss.ejb.EjbModule] Registration is > not done -> destroy > 2002-08-09 12:13:14,768 DEBUG [org.jboss.util.NestedThrowable] > org.jboss.util.NestedThrowable.parentTraceEnabled=true > 2002-08-09 12:13:14,768 DEBUG [org.jboss.util.NestedThrowable] > org.jboss.util.NestedThrowable.nestedTraceEnabled=true > 2002-08-09 12:13:14,768 DEBUG [org.jboss.util.NestedThrowable] > org.jboss.util.NestedThrowable.detectDuplicateNesting=true > 2002-08-09 12:13:14,778 ERROR > [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: > org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@9549f73e{ > url=file:/C:/bin/jboss-3.0.1/server/Traxbahn/deploy/traxbahn.ear, > deployedLastModified=0 } > org.jboss.deployment.DeploymentException: error in create of EjbModule: > >file:/C:/bin/jboss-3.0.1/server/Traxbahn/tmp/deploy/server/Traxbahn/deploy/traxbahn.ear/63.traxbahn.ear-contents/TIPS_baseentity_1.0.0.jar; > > - nested throwable: (javax.management.InstanceAlreadyExistsException: > >jboss.j2ee:service=EjbModule,url=file%/C%/bin/jboss-3.0.1/server/Traxbahn/tmp/deploy/server/Traxbahn/deploy/traxbahn.ear/63.traxbahn.ear-contents/TIPS_baseentity_1.0.0.jar > > already registered.) > at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:380) > at org.jboss.deployment.MainDeployer.create(MainDeployer.java:749) > at org.jboss.deployment.MainDeployer.create(MainDeployer.java:741) > at org.jboss.deployment.MainDeployer.create(MainDeployer.java:741) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580) > at java.lang.reflect.Method.invoke(Native Method) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy4.deploy(Unknown Source) > at > >org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:427) > > > at > >org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:648) > > > at > >org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499) > > at > >org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:238) > > > at > org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164) > at java.lang.reflect.Method.invoke(Native Method) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967) > > at $Proxy0.start(Unknown Source) > at > org.jboss.system.ServiceController.start(ServiceController.java:396) > at java.lang.reflect.Method.invoke(Native Method) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy3.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:796) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564) > at java.lang.reflect.Method.invoke(Native Method) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > > > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324) > at org.jboss.system.server.ServerI
RE: [JBoss-user] java.util.ConcurrentModificationException on XAPoolDataSource - need help...
Hi David, I do not have any idea about the exact reason for this error. But, I feel that this may be one of the main reasons Straight from Java API on HashMap The iterators returned by all of this class's "collection view methods" are fail-fast: if the map is structurally modified at any time after the iterator is created, in any way except through the iterator's own remove or add methods, the iterator will throw a ConcurrentModificationException. Thus, in the face of concurrent modification, the iterator fails quickly and cleanly, rather than risking arbitrary, non-deterministic behavior at an undetermined time in the future. It will happen when collection is being modified after creating the iterator. -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Brady Sent: Saturday, August 10, 2002 9:52 AM To: [EMAIL PROTECTED] Subject: FW: [JBoss-user] java.util.ConcurrentModificationException on XAPoolDataSource - need help... Hi everyone - I still need some help/guidance on this. Didn't get a response last time around. This is a huge problem since I can't reliably get connections when needed. Thanks, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Brady Sent: Thursday, June 27, 2002 1:50 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] java.util.ConcurrentModificationException on XAPoolDataSource - need help... Using Jboss 2.44 I'm tracking down a problem we occasionally have during load tests when we try to get a connection from a XAPoolDataSource. The exception is not very informative and doesn't give me a concrete approach to solve the problem. Anybody give me insight/help with this? Thanks! java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.next(HashMap.java(Compiled Code)) at org.jboss.pool.ObjectPool.getObject(Unknown Source) at org.jboss.pool.ObjectPool.getObject(Unknown Source) at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(Unknown Source) ... The datasource is setup as: jdbc/yyy org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:mysql://x:3306/logging?autoReconnect=true 120 x 150 false false false true 12 180 false false 1.0 0 Thanks very much, David --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.0.1 and PostgresDS
I can't figure out which part you want me to look at. I'm saying, remove all *-ds.xml files from a jboss Branch_3_0 version, they cannot be deployed. *-ds.xml files work only in 3.2 and 4 (head) david jencks On 2002.08.10 01:52:59 -0400 G.L. Grobe wrote: > Not sure I understood this reply. What's happening is that 3.0.1 is > hanging > at this point. I've placed the last lines of the output at the end of > this > reply where it hangs. > > - Original Message - > From: "David Jencks" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, August 10, 2002 12:09 AM > Subject: Re: [JBoss-user] 3.0.1 and PostgresDS > > > > Believe the deployer: null part. *-ds.xml files are only for 3.2 and > > later. > > > > david jencks > > > > On 2002.08.09 23:47:10 -0400 G.L. Grobe wrote: > > > I'm having a few problems w/ my 3.0.1 postgres setup. I've included > the > > > error message (which I don't really understand) below along w/ the > > > postgres-service.xml and postgres-ds.xml files below that ... (it > just > > > seemed to complain about the postgres-ds.xml) ... > > > > > > Any help much appreciated. > > > > > > output > > > > > > 00:14:16,873 INFO [MainDeployer] Deployment of package: > > > file:/u/public/jboss/jboss-3.0.1/server/default/deploy/postgres-ds.xml > is > > > waiting for an appropriate deployer. > > > 00:14:16,893 ERROR [URLDeploymentScanner] MBeanException: Exception > in > > > MBean operation 'checkIncompleteDeployments()' > > > Cause: Incomplete Deployment listing: > > > Packages waiting for a deployer: > > > [org.jboss.deployment.DeploymentInfo@385a8857 { > > > > url=file:/u/public/jboss/jboss-3.0.1/server/default/deploy/postgres-ds.xml > > > } > > > deployer: null > > > status: null > > > state: INIT_WAITING_DEPLOYER > > > watch: > file:/u/public/jboss/jboss-3.0.1/server/default/deploy/postgres-ds.xml > > > lastDeployed: 1028952856872 > > > lastModified: 1028952856000 > > > mbeans: > > > ]Incompletely deployed packages: > > > > > > > > > -- postgres-ds.xml --- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > web-app, > > > not sure if that goes there --> > > > > > > > > > PostgresDS > > > > jdbc:postgresql://localhost:5432/acais > > > org.postgresql.Driver > > > user > > > pass > > > > > > > > > > > > > > > > > > -- postgres-service.xml --- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" > > > name="jboss.jca:service=LocalTxCM,name=PostgresDS"> > > > > > > > > > > > > > > > > > > > > > > > >> > name="jboss.jca:service=LocalTxDS,name=PostgresDS"> > > > > > > PostgresDS > > > > > > > > > > > > type="java.lang.String">jdbc:postgresql://localhost:5432/acais rty> > > > > > type="java.lang.String">org.postgresql.Driver > > > > > > > > type="java.lang.String"> > > > > > type="java.lang.String"> > > > > > > > > > > > > > > > > > > > > > optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,n > ame=JBoss > > > LocalTransaction JDBC Wrapper > > > > > > > > > > > > > > > > > > > > > > > >code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" > > > name="jboss.jca:service=LocalTxPool,name=PostgresDS"> > > > > > > 0 > > > 50 > > > 5000 > > > 15 > > > > > > ByContainer > > > > > > > > > > > > optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedCo > nnectionManager > > > > > > optional-attribute-name="JaasSecurityManagerService">jboss.security:service= > JaasSecurityManager > > > > > > name="TransactionManager">java:/TransactionManager > > > > > > jboss.jca:service=RARDeployer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm having a few problems w/ my 3.0.1 > > > postgres > > > setup. I've included the error message (which I don't really > understand) > > > below > > > along w/ the postgres-service.xml and postgres-ds.xml files below > that > > > ... (it > > > just seemed to complain about the postgres-ds.xml) ... > > > > > > Any help much appreciated. > > > > > > output > > > > > > 00:14:16,873 INFO [MainDeployer] > > > Deployment > > > of package: > > > file:/u/public/jboss/jboss-3.0.1/server/default/deploy/postgres-ds.xml > is > > > > > > waiting for an appropriate deployer.00:14:16,893 ERROR > > > [URLDeploymentScanner] MBeanException: Exception in MBean operation > > > 'checkIncompleteDeployments()'Cause: Incomplete Deployment > > > listing:Packages waiting for a > > > deployer:[
Re: [JBoss-user] 3.0.1 error about cluster
You have specified that your weba-app is Unless you really mean it this is a BAD idea. If you do mean it, then as Scott says, you need to deploy the clustered httpsession support, and read the FAQ and jetty-web.xml in docs.examples.jbossweb. Jules Emerson Cargnin - SICREDI Serviços wrote: > I'm trying to upgrade to 3.0.1 and get the following error even when > starting with -c default: > > 16:28:44,418 WARN [Manager] distributed Store > (org.jboss.jetty.session.ClusterStore) failed to initialise > java.lang.NoClassDefFoundError: > org.jboss.ha.httpsession.server.ClusteredHTTPSessionServiceMBean > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] problem starting jboss-3.0.1
Hi, Thanks. Thats solved. I also have a problem getting the logging service up. This is the listing from boot.log. Do I have to make modifications to jboss-service.xml also? Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.system:type=Log4jService,service=Logging state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No property editor for attribute: ConfigurationURL; type=class java.net.URL] at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.ja va:1081) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:583) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:565) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat cher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:319) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216) at org.jboss.Main.boot(Main.java:142) at org.jboss.Main$1.run(Main.java:375) at java.lang.Thread.run(Thread.java:484) Regards, Shankar. From: Stephen Davidson Subject: Re: [JBoss-user] problem starting jboss-3.0.1 Date: Fri, 09 Aug 2002 04:38:36 -0700 Hi Shankar. The following has been changed; Was: jboss.security:name=Jaa sSecurityManager Now: jboss.security:service= JaasSecurityManager shankar wrote: > Hi, > I am trying to setup Jboss3.0.1. The following shows up in the boot.xml. > Have added a oracle-service.xml in the default/deploy dir. > This was working fine on Jboss3.0 (with Tomcat). > Do I have anything else to the oracle-service.xml file? > > Thanks in advance, > Shankar. > > Here is oracle-service.xml > > > > > - > -> > > - > -> > > > > > > > > > > >code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" > name="jboss.jca:service=LocalTxCM,name=OracleDS"> > > > > > > > > >name="jboss.jca:service=LocalTxDS,name=OracleDS"> > > OracleDS > > > > type="java.lang.String">jdbc:oracle:thin:@192.168.0.124:2000:ORCL operty> > type="java.lang.String">oracle.jdbc.driver.OracleDriver > > type="java.lang.String">overseer2 > type="java.lang.String">overseer > > > > > > > optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,n > ame=JBoss LocalTransaction JDBC Wrapper > > > > > >code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" > name="jboss.jca:service=LocalTxPool,name=OracleDS"> > > 0 > 50 > 5000 > 15 > > ByContainer > > > > optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedCo > nnectionManager > > optional-attribute-name="JaasSecurityManagerService">jboss.security:name=Jaa > sSecurityManager > > name="TransactionManager">java:/TransactionManager > > > jboss.jca:service=RARDeployer > > > > > > > > > Here are the MESSAGES FROM boot.log > > Packages waiting for a deployer: > > Incompletely deployed packages: > > MBeans waiting for classes: > > MBeans waiting for other MBeans: > [ObjectName: jboss.system:type=Log4jService,service=Logging > state: FAILED > I Depend On: > Depends On Me: org.jboss.deployment.DeploymentException: No property editor > for attribute: ConfigurationURL; type=class java.net.URL, ObjectName: > jboss.jca:service=LocalTxCM,name=OracleDS > state: CONFIGURED > I Depend On: jboss.jca:service=LocalTxDS,name=OracleDS > jboss.jca:service=LocalTxPool,name=OracleDS > jboss.jca:service=CachedConnectionManager > jboss.security:name=JaasSecurityManager > jboss.jca:service=RARDeployer > > Depends On Me: ] > 14:00:52,140 DEBUG [AbstractDeploymentScanner$ScannerThread] Notified that > enabled: true > 14:00:52,140 INFO [URLDeploymentScanner] Started > 14:00:52,140 DEBUG [MainDeployer] Final (start) deployment step successfully > completed on package: jboss-service.xml > 14:00:52,140 INFO [MainDeployer] Deployed package: > file:/D:/download/jboss-3.0.1RC1/server/default/conf/jboss-service.xml > 14:00:52,190 ERROR [Server] start failed > Incomplete Deployment listing: > Packages waiting for a deployer: > > Incompletely deployed packages: > > MBeans waiting for classes: > > MBeans waiting for other MBeans: > [ObjectName: jboss.system:type=Log4jService,service=Logging > state: FAILED > I Depend On: > Depends On Me: org.jboss.deployment.DeploymentException: No property editor > for attribute: ConfigurationURL; type=class java.net.URL, ObjectName: > jboss.jca:
Re: [JBoss-user] Mapping Configuration Error
That's much better. Thank you. Will the Tomcat examples run from under the ../catalina/webapps directory or do they need to be deployed in a .war to ../server/default/deploy ? SD Scott M Stark <[EMAIL PROTECTED]>wrote: The earlier post was wrong. Use http://localhost:8080/jmx-console/ Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: scott ditzenberger To: [EMAIL PROTECTED] Sent: Friday, August 09, 2002 11:54 PM Subject: [JBoss-user] Mapping Configuration Error Greetings, I am new to the JBoss experience. I have recently installed jboss-3.0.1RC1_tomcat-4.0.4 on a RedHat 7.3 box. I execute /usr/local/jboss/bin/run.sh There appears to be no errors in the /usr/local/jboss/server/default/log/server.log. When I bring up a browser and enter http://localhost:8080/admin/jmx.jsp (spied from an earlier post) I get no love. I do get a status 500 from Tomcat: No Context configured to process this request. The server.log then shows a Mapping configuration error for request URI. There is a similar response at http://localhost:8080/examples/ However, when I startup Tomcat standalone I get the examples index.html and the jsp and servlets function properly. My latest effort with running both JBoss and Tomcat shows output at http://localhost:8080/examples/examples/servlets/index.html (I am not sure how this address found it's way into my browser) But when I click on any of the Execute or Source links I am back to the status 500. Thanks for your time, Scott Ditzenberger Do You Yahoo!?HotJobs, a Yahoo! service - Search Thousands of New JobsDo You Yahoo!? HotJobs, a Yahoo! service - Search Thousands of New Jobs