RE: [JBoss-user] CMP- Hypersonic problems
Thanks, Where could I find the syntax of creating such table?.Also, are there some examples? > -Original Message- > From: viktor [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, September 02, 2003 9:56 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] CMP- Hypersonic problems > > > On Monday, Sep 1, 2003, at 18:33 Europe/Stockholm, Subramanian > Ananthram wrote: > > > If JBOSS is terminated abnormally, then we have observed that some of > > the > > tables in the database is corrupted. > > Yes I would expect that ;-) > > Try to create Your tables in HSQLDB as "create cashed table" that will > force HSQLDB to write out the data to disk at once instead of writing > it out at clean shutdown. > > > > --- > 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
[JBoss-user] CMP- Hypersonic problems
Hi, We are using Hypersonic database with JBOSS 3.0.0, tomcat 4.0.3 with CMP. If JBOSS is terminated abnormally, then we have observed that some of the tables in the database is corrupted. For eg: we are using Jbossautoutilnumber table for auto generation of primary keys. But we have seen that after this abnormal termination that the auto number key is haivng a number which is already used for creating a primary key Eg: Table: Jbossautoutilnumber field ABC -> 50 Table: Employee OID - 2 Name - CDE | | OID - 56 Name - ABC In the above example, we have a employee table with OID 56 and to generate a new employee record we generate the auto number from Jbossautoutilnumber and field ABC ( this number is 50) , so obviously when try to create a record with OID as 50, it will thro a duplicate key exception. This behaviour happens when JBOSS is abnormally terminated. Can somebody help me here. Thanking in advance --- 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] RemoteMBeanServer by using RMIConnector
Hi , I am using Jboss 3.0.0. Is it possbile to bind the RMI connector to the IPaddress rather than to the machine name?. eg: Currently, jmx:machineName:rmi Is this possible jmx:155.228.34.21:rmi Thanks in Advance. Regards, Subu --- 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] Jboss Minimal
Hi, I was wondering if I could call a remote MBean using JMX rmi adaptor which is running under Jboss minimal. The deploy directory under minimal folder does not contain jmx-rmi-adaptor.sar . So I suppose under minimal mode, I want be able to call the remote mbean which is running under Jboss minmal. Am i rite?. Thanks, Subu --- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Remote MBean Invocation
Hi, I am trying to invoke a method on a Mbean remotely (ie) from two different machines connected on the network. Below is the snippet of code, i am using to invoke the remote Mbean. Agent name is the IPaddress of the remote machine and operation name is the name of the operation which needs to be invoked. public void invokee(String agentName, String operationName) throws Exception { RMIAdaptor mRemoteAdaptor; Hashtable environment = new Hashtable(); environment.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingCo ntextFactory" ); environment.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.int erfaces"); environment.put("java.naming.rmi.security.manager", "yes"); environment.put(Context.PROVIDER_URL,agentName); InitialContext context = new InitialContext(environment); mRemoteAdaptor = (RMIAdaptor)context.lookup("jmx:"+agentName+ ":rmi"); ObjectName objectName = new ObjectName("test", "service", "KCS"); String returnValue = (String) mRemoteAdaptor.invoke(objectName,operationName,null,null); System.out.println("### The Value is :"+returnValue+" ###"); } I get the following error: javax.naming.NameNotFoundException: jmx:155.229.83.31:rmi not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) at org.jnp.server.NamingServer.getObject(NamingServer.java:509) at org.jnp.server.NamingServer.lookup(NamingServer.java:282) 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:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7 01) at java.lang.Thread.run(Thread.java:536) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC all.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:445) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429) at javax.naming.InitialContext.lookup(InitialContext.java:347) at Agent.invokee(Agent.java:57) at Agent.(Agent.java:18) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:786) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:240) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:267) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.jav a:190) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153) at org.jboss.system.ServiceController.install(ServiceController.java:194) 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.
RE: [JBoss-user] CMP and relationships -
Where could I find the list of issues present in 3.0.0 and what issues are fixed in 3.0.2 Thanks, Subu > -Original Message- > From: Dain Sundstrom [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, September 26, 2002 1:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] CMP and relationships - > > Subramanian Ananthram wrote: > >>From: Dain Sundstrom [SMTP:[EMAIL PROTECTED]] > >>Sure, but don't use 3.0.0. Use 3.0.2. > > > > *** We are currently using Jboss 3.0.0 with CMP. Are there any > > issues with 3.0.0??. > > Yes, tons. > > -dain > > > > --- > 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] CMP and relationships -
Hi, > -Original Message- > From: Dain Sundstrom [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 5:12 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] CMP and relationships - > > Sure, but don't use 3.0.0. Use 3.0.2. > *** We are currently using Jboss 3.0.0 with CMP. Are there any issues with 3.0.0??. > -dain > > Victor Batista wrote: > > Hello! > > I am developing a J2EE application with JBoss 3.0.0. My application > has > > 10-15 Entity beans. I am using CMP for all of them and I am also > creating > > all the relationships between them. Can any one tell me if this is the > best > > option, or can this be very hard-processing? > > I would really appreciate to have your feedback with this issue. > > > > Thanks in advance, > > Victor Batista > > > > Thanks, Subu --- 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] Jboss and JMX
I am currently writing JMX agent. And this agent will run on different machines. I wanted to know if there is a way to run JBOSS only for MBeans. I dont want the normal start which would have EJB container and etc. Thanks, Subu --- 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] Testing EJBs with JUnit
Hi Emerson, Can you send me a copy too. Thanks, Subu > -Original Message- > From: Emerson Cargnin - SICREDI Serviços [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 12:55 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Testing EJBs with JUnit > > I just did a test with ejb / jaas and junit, let me know if you want so > I can send it to you (about 1 meg). If someone else want too, just tell > me. > > Emerson > > John Moore wrote: > > > Yes we're doing itfor all of our beans as well. When it's run you need > > the jndi.properties file or to pass all of the jndi on the command > > line.I would guess that you don't have the classes available (Home > > /Remote interface) available. Also, could that app that you are > > running through not have the classes in their path OR does it have it's > > own naming server and the properties for jboss are not being used. Dump > > > out the environment before you do your lookup to see what the properties > > > are set to. > > > > John Moore > > > > -Original Message- > > From: Dimitri PISSARENKO [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, July 17, 2002 6:57 AM > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] Testing EJBs with JUnit > > > > > > Hello! > > > > Has someone experience with testing EJBs using JUnit? > > > > I've some entity beans and want to ensure that their basic functions > > (creation, editing and deletion of records in the database) do work > > properly after changes (see attachment TestProjectBean.java). > > > > But I get a NoClassDefFoundError when I run this test, although all > > classes used are in the classpath (full stacktrace is given in > > attachment 2002_07_17_stackTrace.txt). > > > > If I put the same statements into a normal Java application, > > everything works fine. > > > > Any help is highly appreciated > > > > Dimitri Pissarenko > > > > > -- > Emerson Cargnin - MSA > SICREDI - Tel : 3358-4860 > > > > --- > 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
[JBoss-user] Memory Requirement
Hi, What is the minimum memory requirement to run JBOSS 3.0???. I was told that it requires atleast 128mb of RAM. - Subu --- This sf.net email is sponsored by:ThinkGeek PC Mods, Computing goodies, cases & more http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user