[JBoss-user] [Installation & Configuration] - Re: JSP tag
This is a Tomcat/Servlet issue, ask them. As I haven't seen this feature before, you might have to write it yourself. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844340#3844340 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844340 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Managing Memory
Why only 64/128MB for the JVM when you have 512 on the system? What does RMI have to do with fetching database records? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844339#3844339 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844339 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Problem in migrating to jboss from weblogic
Maybe you should stick to a single question, with one example, and one test case... WRT connection pool What's your JBoss version? Use 3.2.6RC1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844337#3844337 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844337 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Deploy old and new appliacation on the same server insta
It's actually a JMX error. There ought to be a way to specify different ObjectNames for your EJBs. I would file a bug on this View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844336#3844336 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844336 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Custom JNDI Resource Factories
There is a jboss-web.xml that you put this stuff into, which goes into xxx.war/META-INF. There should be a DTD you can look at someplace... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844335#3844335 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844335 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: IllegalStateException
This is a servlet issue. Probably the example is wrong. The first thing you should do, if you want to create a session is to create it before you output anything in the response... Not a JBoss issue, AFAIK. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844334#3844334 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844334 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Problem stopping JBoss: wrong port number
Last line of shutdown.sh, you can specify the port number to use: org.jboss.Shutdown -S -s jnp://localhost:10990 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844333#3844333 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844333 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Data processing with Creation-Expensive Beans
There is the famous SingletonMessageDrivenBean -- take a look at standardjboss.xml in JBoss 3.2.5. Or, store your crap in a MBean, which is effectively a singleton. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844332#3844332 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844332 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss and LDAP
Sometimes the best thing to do is Use the Source. Download the source and take a look at the code. It will be much clearer what's going on then. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844331#3844331 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844331 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Memory problem when sending large number of messages
Where are the thousands of messages going? Are they being consumed or not? Are they going to the DB, and what DB is being used? Reusing the same object doesn't improve anything, as it gets serialized (copied) on the way to the server anyway. If it's easy enough to reproduce, I would first upgrade to JBoss 3.2.6RC1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844330#3844330 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844330 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: true
i wanted to post a more clear explanation. I was able to configure jboss to delay the insert after ejbpost create. In order to do this, the following lines must be added to jboss.xml: INSERTPOSTCREATE true Another thing that must be done, is to mark the entity beans to use this configuration (this is also done in jboss.xml) The last thing that must be done, when the primary key is generated by the database server, is to set a dummy id for the entity bean in ejbCreate, something like: setId(new Integer(DUMMY_ID)); this will be overwritten by the database server with the right id. This hack must we done, otherwise an CreateException will be thrown (this is probably a jboss bug for now - not taking in account the fact that the primary key will be generated by the database server). HTH View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844329#3844329 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844329 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: lookup for jmx/invoker/RMIAdaptor returns null
Include log4j.jar in your classpath and turn on trace/debug. You should see some JNP server stuff coming across the wire. Likely, you're not connecting at all...but you should see it try to anyway. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844328#3844328 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844328 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: a personal service that calls an EJB
If you can find the MBean name for the EJB deployment, you can add a to the -service.xml file. Or, just as easy, you can wait for the object to appear in JNDI in a while() loop. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844327#3844327 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844327 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: JMX Performance
There is some indirection and Reflection to get attributes. And there are some byte-code performance tricks which can optimize the call, if you hunt around you can find more data on this. If you are working within one JVM or with a serializeable object remotely, add a "getInstance" method which returns "this" and you don't have to call the MBeanServer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844326#3844326 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844326 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?
In standardjboss.xml, the clustered Stateless Bean will use InvokerInterceptor and JRMPInvokerHA, JRMPInvokerProxyHA when the container is "by-reference" MarshallingInvokerInterceptor and JRMPInvokerHA, JRMPInvokerProxyHA when the container is "by-value" If I don't change JRMPInvokerHA/JRMPInvokerProxyHA, they will be too smart to use LocalInvoker. :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844325#3844325 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844325 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: ServiceMBean doesn't start when using jboss.xmbean
You have to add stop/start methods. Unfortunately, there is no way to add "interheritence" to an XMBean file. I think you should be able to add opertions from another XMBean .xml file to your own via XDoclet, but it would require a lot of changes and I haven't made the effort yet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844324#3844324 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844324 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Memory problem when sending large number of messages
I have a complex J2EE application which uses JMS quite a lot. There is a batch process which it runs overnight which is causing a memory leak. Each morning the server has used more and more memory and eventually it will run out of memory. The memory is never reclaimed by the JVM. I think I have isolated the problem to a part of the batch process which sends a large number of messages. The pesudo code is something like the following: 1. Lookup queue connection factory 2. Create queue connection 3. Lookup queue 4. Create queue session 5. Create queue sender 6. Send 1,000s of messages using the queue sender 7. Close the queue connection This all occurrs within an MDBs onMessage method. Each message is a map message and I am reusing the same message object each time by calling message.clearBody after each call. I am running JBoss 3.2.3 on Mac OS 10.3 Server (Java 1.4.2) and am using an Oracle database for message persistence. I am using JMS in many other parts of the application but generally only sending one message at a time. Any help in identifying the possible cause of the memory leak would be much appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844323#3844323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844323 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?
You should only have to replace the InvokerInterceptor. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844322#3844322 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844322 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: SessionBean Interceptor--accessing SessionContext
If your past the instance acquisition interceptor then its available from the Invocation.getEnterpriseContext() method. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844321#3844321 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844321 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: conf/web.xml gets truncated
And when you remove the write mode from the file there is not an exception indicating what is overwriting this file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844320#3844320 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844320 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?
Found a solution: skiping "isLocal()" Replaced 4 classes: InvokerInterceptor, MarshallingInvokerInterceptor, JRMPInvokerHA, JRMPInvokerProxyHA. Change the standardjboss.xml for InvokerInterceptor and MarshallingInvokerInterceptor, Change the cluster-service.xml for JRMPInvokerHA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844319#3844319 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844319 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Is Runaway EJB control possible ?
I find it hard to believe you have marketing people speaking of units of work. Your right that this is not a j2ee specific issue. Generically how to you cause a thread of execution to break out of this loop: |long i = 0; |while( true ) |i ++; | Getting hold of the thread and invoking stop (which is deprecated, see http://java.sun.com/j2se/1.4.2/docs/api/index.html) or interrupt are not guraneteed to work. The real issue is that java has no reliable capability for stopping a rouge thread. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844318#3844318 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844318 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Why not Unpacked / Expanded / Exploded deployment from r
The problem is simply that we don't support treating an http/webdav directory as an exploded deployment in the same way that we treat an exploded file. Its just an imlementation limitation at this point. If you want to take a look at generalizing this that would be great. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844317#3844317 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844317 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Urgent production issue regarding to jboss security
There should not be an access control exception without a security manager. Perhaps your missing a class and the exception was not about not being able to use dynamic class loading because the lack of security manager. Show the access control exception. Otherwise there still must be a problem with building a secure privileged proxy with this driver. What version is the driver? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844316#3844316 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844316 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Can't get SSL properly configured for web app
Changing the ports to standard ones solved the problem View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844315#3844315 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844315 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Throwing extended LoginException from SRPLoginModule
The ideal way to be setting the cause on the LoginException, but this is a 1.4.x extension to the exception base classes that will not work with jdk 1.3 which we still support at least for compilation. I could look at reflectively adding this info when the runtime supports it. The problem with introducing a JBossLoginException that supports nested exception is non-standard code for something that does exist in jdk 1.4.x. Is this something you need with jdk 1.3 or could you look to the LoginException cause in a 1.4.x runtime? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844314#3844314 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844314 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Beans debuging
How can I get information from session bean? I try to print it to standart output, but it is not working. Can I don not use Logging for that ? What can I use instead System.out.println ? Help please! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844313#3844313 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844313 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: How to include two data-sources in jbosscmp-jdbc.xml fil
hi, Thanks for the reply!. we have specified default datasource in the jbosscmp-jdbc.xml as given below: java:/PSESPDS Oracle9i true false CandidatePedu CANDIDATE_PEDU candidateId CANDIDATE_ID pQualification P_QUALIFICATION instute INSTITUTE memberId MEMBER_ID instituteCountryCode INSTITUTE_COUNTRY_CODE street1 STREET_1 institutePhoneCode INSTITUTE_PHONE_CODE street2 STREET_2 instituteCityCode INSTITUTE_CITY_CODE city CITY district DISTRICT province PROVINCE zipCode ZIP_CODE countryId COUNTRY_ID fromDate FROM_DATE toDate TO_DATE addInfo ADD_INFO peduSeq PEDU_SEQ houseNo HOUSE_NO -- that is we can define datasource for any entity bean by including this entity bean within the tag given below and having multiple tag in one jbosscmp-jdbc.xml from Team member View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844312#3844312 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844312 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to expose ConnectionFactory to clients using Global
please ignore my post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844311#3844311 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844311 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?
I checked the stacktrace, it seems InvokerInterceptor and MarshallingInvokerInterceptor will always bypass TCP port if it's "Local". So I plan to write my own interceptor and change standardjboss.xml. :-) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.invocation.Interceptor.invoke(InvokerInterceptor.java:49) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100) | 2004-08-05 18:23:56,184 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844309#3844309 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844309 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - EJB clustering doesn't work if client is in same JVM?
Jboss: 3.2.5 OS: Windows XP I have a clustered StatelessSessionBean installed in Server1/Server2 (actually same machine but different port settings). Another client (MBean) in Server1 calls this Stateless bean repeatedly. But it seems to use the LocalInvoker to call the StatelessBean in the same JVM. (I didn't make the stupid lookup mistake) However, I wrote a standalone client calling Clustered SLSB, it works! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844308#3844308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844308 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: tusc tutorial
Just add the missing libaray in .server file from the preferences section of lomboz in eclipse, and librarires are in /server /all/lib area. for server side and client side is in clients ditrectory under jboss Vishal. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844307#3844307 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844307 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Problems Using DabaseServerLoginModule
Can you post your jboss-web.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844306#3844306 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844306 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Weird problem while testing JBoss for Messaging
Hi all, I am trying to evaluate the performance for JBoss using JMS However of late I have run into some really weird problem. I start up a publisher object, publishing to a particular topic and I realize that it publishes close to 800 msg\sec however the moment i start up a subscriber to the same topic, the publishing as well as subscribing rate goes down drastically and eventually comes to a halt. I am using the Soniq benchmarking framework and jboss 3.2.5 as the server. I have 10 publihsers running and 1- subscribers running. Has this got anything todo with increasing the sockets etc on windows as some of the posts indicate. If so then would someone please point me to docs that help me overcome this error. Anuj View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844301#3844301 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844301 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - How to expose ConnectionFactory to clients using Global JNDI
I have this conde inside the servlet | InitialContext ctx = new InitialContext(); | QueueConnectionFactory qconFactory = (QueueConnectionFactory)ctx.lookup( "java:/ConnectionFactory" ); | And surely it provides me with connection factory but when I use this code: | Properties env = new Properties(); | env.put( Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory" ); | env.put( Context.PROVIDER_URL, "jnp://myhost:11099" ); | env.put( "java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces" ); | InitialContext ctx = new InitialContext( env ); | QueueConnectionFactory qconFactory = (QueueConnectionFactory)ctx.lookup( "java:/ConnectionFactory" ); | from the client in different JVM I cannot get connection factory. I guess this is because the only JNDI name space available for this client is Global JNDI. My question is, how would I configure JMS to be able to get connection factory from the client in different JVM? Couldn't find answer in FAQ, sorry. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844299#3844299 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844299 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - SessionBean Interceptor--accessing SessionContext
Is there a way to retrieve the active SessionContext from within a custom Interceptor? I have a static method I would like to make avaliable at any point in some session beans that evaluates additional credentials stored with the currently authenticated subject. I would like to initialize the ThreadLocal or TransactionLocal variable of this static method uses in an interceptor with the current SessionContext so each method in these session beans is not required to initialize it with the SessionContext. Is this possible? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844298#3844298 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844298 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Any plans for any other databases?
Hi fbeatty, I just installed MaxDB and plan to use it with nukes. Can you send me the ddl please... would be a great help! sqirl at web.de greetings sqirl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844295#3844295 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844295 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Throwing extended LoginException from SRPLoginModule
Hi, I would like to login to a server using the SRP protocol. I am using JBoss' SRPLoginModule in my client side jaas config to do this. Now since I am working in a clustered environment I have to determin if a thrown LoginException was caused by a true authentication problem or simply because the authenticating server was down. SRPLoginModule logs IOExceptions while trying to connect but since LoginException is not providing any information about the cause, I am probably forced to parse the log message :-( I thought maybe it would be acceptable to have JBoss provided login modules throw JBossLoginException that extend LoginException and provide access to the caused exception if it applies. Regards, Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844296#3844296 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844296 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jbossmq writes transaction to database even for non-tran
There is a NoLogging Persistence Manager configuration. Do a search for this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844293#3844293 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844293 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 4.0 Release Date
Will the 9/3/04 release be certified by SUN? Or will that process still be on going after 9/3/04 if so what is the estimated date for SUN Certification? Thanks, Chad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844292#3844292 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844292 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - update..
still seek for solution View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844291#3844291 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844291 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - jbossmq writes transaction to database even for non-transact
I've got a MDB with the trans-attribute set to 'Supports.' Some database reads and writes are performed within the onMessage method. I'm running with p6spy, which shows me all SQL statements executed by the application. This shows that jbossmq issues 3 additional database writes every time onMessage is invoked. This is performance problem for me. I don't understand why its even executing these transaction-related statements when my bean isn't even transactional. Could someone please help me make whatever config changes are necessary to disable this behavior. Thanks in advance. The 3 SQL statements are: INSERT INTO JMS_TRANSACTIONS (TXID) values(?) DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=? DELETE FROM JMS_TRANSACTIONS WHERE TXID = ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844290#3844290 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844290 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 4.0 Release Date
In the JBoss 4.0 Development (J2EE-1.4 certified) section: http://jboss.org/wiki/attach?page=JBossRoadmap%2FJBoss4ProjectDevSchedule.html anonymous wrote : | Primary goal for the release is J2EE certification. Per Scott, we have officially announced that we will ship our J2EE 1.4 compatible product - JBoss 4.0 by September 3, 2004. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844289#3844289 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844289 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - EJB Creator Wizard
I cannot open the EJB Creator Wizard, Everything opens but the Wizard. Anybody knows what could be wrong. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844288#3844288 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844288 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: tusc tutorial
"atoi" wrote : Chapter 1: trying to deploy the test project and getting the following errors: | | Project Test is missing required library: 'C:jboss/jboss-3.2.3/server/all/lib/javagroups-2.0.jar' | Project Test is missing required library: 'C:jboss/jboss-3.2.3/server/all/lib/jbossmqha.jar' | | How to fix? Please I need to solve this as soon as possible. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844287#3844287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844287 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Could not enlist in transaction on entering meta-aware o
Guys It worked, the mistake is false THanks Sunny View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844286#3844286 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844286 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Need a better transaction manager than the default one
Hi, I read in JBoss manuals that its default transaction manager "does not do transactional logging, and is thus incapable of automated recovery after a server crash". I need a transaction manager that will work with JBoss and database clusters to provide high availability, redundancy and failover. Does Tyrex satisfy these criteria? How does JBoss compare to commercial J2EE app servers? Thanks! Alex View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844285#3844285 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844285 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Problems running shutdown.bat from directory other than
Forgot... running 4.0.0 RC1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844284#3844284 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844284 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Problems running shutdown.bat from directory other than bin
I have found that if you run shutdown.bat from any directory other than the bin directory you get the following error message: Exception in thread "main" javax.naming.NamingException: Could not dereference object. Root exception is javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.rmi.RMIAdaptor (no sec urity manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:521) at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:6 39) at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:309 ) at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStrea m.java:241) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1469) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1432) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:3 0) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:551) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:965) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:614) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.Shutdown.main(Shutdown.java:182) RMIAdapter is found in jbossall-client.jar and in shutdown.bat when setting the JBOSS_CLASSPATH it has ../client/jbossall-client.jar If I change this to the full path name it works. Is there a patch that addresses this bug yet? Thanks Jeff Smith Software Developer Compuware Corporation View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844283#3844283 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844283 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Oracle to JBoss RMI question
I am having difficulty connecting an Oracle package running on a different server to a class file running on another server. Has someone done this before and can you provide some help/examples? System Environment: 1. Oracle database on a different box. 2. Unix box listening on 1099 (rmi port). 3. Jboss-3.2.3 What i have done so far: > Created and compiled a single class that has one method that returns a string - such > as "Hello". > Created Stub and Skel using rmic -d classfilename > Created a client class and loaded it into Oracle. This class does a > Naming.lookup("rmi://10.2.86.190:1099/"+rmiName); > Created an Oracle package that has a procedure calling this java method. Questions: 1. How do I register the class in RMI on the Jboss app server. Note that my class is not acting as a daemon. 2. How do I deploy the class file in jboss so it can be called from Oracle? (Do i need to package it into a war file and be able to map it somehow?) 3. Is the calling protocol for the lookup ("rmi://") correct? or do i need to use "http://"; ? Please help. thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844281#3844281 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844281 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Could not enlist in transaction on entering meta-aware objec
Hi all I am using XATransaction in JBOSS. Since in our application, Transaction involves JDBC, Entiry beans, and JMS. Local Tranacation may works for us, but we do see another issue with the consistency of the data. In order to avoid the inconsistency data problems in a cluster env (where we are not going to enable either object replication or sending a message to invalidate the cache at other nodes), we are programatically locking the particular record using JDBC and Select for update Here is the structure Session bean method (Transaction requires new){ calls POJO.method { call getConnection, execute Select for update call entity beans call to closeConnection } } When program control exits this method, it releases the lock In this application, this particular logic works fine from 3 different routes, and fails from only one route. Not able to figure it out why? OPPS (Ordering System) -> BSC Delegegate -> BSC Session Bean (Transaction = RequiresNew) -> BSC POJO (Calls to get the lock(jdbc), calls entity beans) -> Entity Beans Works fine BSC Message Driven Bean (Transaction = Required) -> BSC POJO (Calls to get the lock(jdbc), calls entity beans) -> Entity Beans Works fine Junit -> BSC Delegegate -> BSC Session Bean (Which is for read only, Transaction = Any, tried all) -> BSC POJO (for readonly, calls entity beans) -> Entity Beans Works fine CSR -> OPPS (Ordering Comp) -> BSC Delegegate -> BSC Session Bean (Which is for read only, Transaction = Any, tried all) -> BSC POJO (for readonly, calls entity beans) -> Entity Beans Fails, Fails, Fails Here is the Datasource file (Pad = true set) bscDS true true oracle.jdbc.xa.client.OracleXADataSource jdbc:oracle:oci:@devdb02_dcoreint janus_devl_app frontline org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter true true true 1 6 Error: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: enlistResource failed Here is the exception: 2004-08-05 12:31:19,649 WARN [org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=WS1543//27, BranchQual=] errorCode=XAER_NOTA oracle.jdbc.xa.OracleXAException at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1159) at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:311) at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:143) at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1148) at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:629) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:455) at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:483) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) at com.register.util.status.BillingResultInfo.(BillingResultInfo.java:62) at com.register.bsc.dao.BillingInfoDAO.init(BillingInfoDAO.java:1441) at com.register.bsc.dao.BillingInfoDAO.(BillingInfoDAO.java:107) at com.register.bsc.ejb.BillingInformationHandlerEJB.getBillingLineItem(BillingInformationHandlerEJB.java:61) 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 org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb
[JBoss-user] [HTTPD, Servlets & JSP] - Re: XML Parser cannot parse Files with spaces in their names
Yes, even if i try File f = new File("C:\\jboss-3.2.4\\server\\default\\deploy\\cm.ear\\cm.war\\htm\\Rep\\Gland 5.xml"); boolean b = f.exists(); System.out.println("EXISTS" + b); Document oDocument = dBuilder.parse(f); I still get a problem. In the above case b = true. But the Xerces parser I believe has a problem. 2004-08-05 13:46:35,422 INFO [STDOUT] EXISTStrue 2004-08-05 13:46:35,432 INFO [STDOUT] java.io.FileNotFoundException: C:\jboss-3.2.4\server\default\deploy\cm.ear\cm.war\htm\Rep\Gland%205.xml 2004-08-05 13:46:35,432 INFO [STDOUT] at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:71) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:80) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2004-08-05 13:46:35,432 INFO [STDOUT] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2004-08-05 13:46:35,442 INFO [STDOUT] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 2004-08-05 13:46:35,442 INFO [STDOUT] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 2004-08-05 13:46:35,442 INFO [STDOUT] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:161) The problem goes away if i have a file without any spaces in it View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844279#3844279 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844279 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - JBoss 4.0 Release Date
I am looking for the estimated release date for JBoss 4.0. I need and App Server that is J2EE 1.4 compliant. The JBoss roadmap I found was for JBoss 4.x which has a release date of 9/13/05. I am hoping that 9/13/05 is not the release date for JBoss 4.0 just later point releases. Thanks, Chad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844276#3844276 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844276 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - IllegalStateException
I tried to run the J2eeTurorial (Duke's Bank) after installing JBoss. But I got an error when I am trying to log in: java.lang.IllegalStateException: Cannot create a session after the response has been committed at org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:2270) . . . I hope this is a known issue, so I can continue to learn JBoss ASAP. I have jboss-3.2.6RC1 downloaded and installed. The assemble-app commando on ant (in "Getting Started with JBoss" on page 20) is also screwing up and I had to run it manually. It tries to copy the EAR-file in a directory on JBoss without using backspace( i.e: jboss-3.2.6RC1servedefault)... I hope there is a simple solution to the IllegalStateException... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844275#3844275 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844275 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Tying JBoss Into Idea
Mat, That did the trick. I got the jsp-api.jar and the servlet-api.jar from JBOSS_HOME/server/xxx/deploy/tomcat.sar, and the jboss-j2ee.jar from JBOSS_HOME/server\default\lib Those jars satisfied idea, and I'm moving forward again. Bill. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844269#3844269 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844269 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Custom JNDI Resource Factories
Hi, I'm trying to migrate a web app from Tomcat 5.0.25 onto JBoss 3.2 On my original deployment, I had a custom JNDI resource, with a custom ResourceFactory class thaht initialized the instance. I configured that using server.xml with the following code snippet: | | | | factory | gr.talent.messaging.http.server.components.ResolverFactory | | | | systemConfigPath | /projects/dataman/res/server | | | Then , I modified my web.xml file to include the following: | | Resolver for IHandler instances. | | | | messaging/MessageResolver | | | | gr.talent.messaging.http.server.components.ResolverImpl | | ... and that worked like a charm :] Unfortunately, now that I'm trying to deploy on JBoss I've not the slightest clue as to how to configure JBoss to achieve the same effect. Any pointers will be GREATLY appreciated !!! Cheers, Angel O:] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844267#3844267 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844267 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Uploading images in JBoss
Guys, Problem resolved. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844266#3844266 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844266 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss and LDAP
Hi, I'm really newbie in jboss and also in ldap. I found into documentation that ldap authentication with jboss is possible using org.jboss.security.auth.spi.LdapLoginModule. I find some exemples to configure JBoss, but what is the ldap shema used by jboss ? I can't find some exemples to put user/role in my LDAP directory. Any body's got some idea and some exemples ? One other question, is it possible to use ldap in place of jboss naming service to register services in it ? Thanks a lot View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844264#3844264 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844264 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Problem with farming
We are experiences the exact same problems. I did notice that our server's times are slightly different, would this make any difference? At this point to me it appears to be a jboss bug. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844263#3844263 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844263 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - JNDI lookup
I have an entity bean that calls another entity bean. I noticed that the following lookup doesn't work: XXXHome xxxHome = (XXXLocalHome) ctx.lookup("java:comp/env/ejb/XXXLocalHome"); but if I remove "java:comp/env", it works. Any idea why? What should I do if I want to use the full path? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844262#3844262 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844262 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?
also: - when I modify the permissions of one of my HtmlBlocks with the permission module, it's implicite that the component-pattern will be "mycomponent::", isn't it? and - what are the three regions "reg1:reg2:reg3" of a pattern for htmlBlock component compared to? when I read in the call of secAuthAction: " fileId + "::" " I understand the "/pathIwanttoauthorize/.*::" pattern, but what if I want to forbid the whole block, not only html content? what is the fileId in that case, or what is tested in that case? which module has for instance pattern "nameofblockIwanttoforbid::" ? I tried core module and block module... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844260#3844260 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844260 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Uploading images in JBoss
Hi Guys, I am migrating an application (struts, EJBs) from WebLogic 8.1 to JBoss 3.2.5. Uploading images and later presenting them per users' request is a crucial part of the application. In WebLogic design I used virtual directory mapping in weblogic.xml and stored images in there. In database I stored only location using that virtual directory mapping (virtual directory + file name). Now I am trying to do the same (or similar) in JBoss and I am failing and thinking to go back to WebLogic. Can somebody help me? How can I place images somewhere on disk, store paths to those files in database and use those paths for presenting images back to users? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844259#3844259 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844259 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - XML Parser cannot parse Files with spaces in their names
Here is my jsp code <%@ page import="java.net.URLDecoder,org.w3c.dom.Document,java.io.*,javax.xml.parsers.DocumentBuilder, javax.xml.parsers.DocumentBuilderFactory" %> <% try { //create a factory instance DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder dBuilder = dbFactory.newDocumentBuilder(); File f = new File(URLDecoder.decode("C:\\jboss-3.2.4\\server\\default\\deploy\\cm.ear\\cm.war\\html\\Rports\\Gland 5.xml")); Document oDocument = dBuilder.parse(f); } catch(Exception e) { e.printStackTrace(); } %> The above code gives my FileNotFoundException. It does not like the space in the file name. If i rename my file and change the filename in the above code to Gland5.xml everything is fine. Same thing happens if I remove the decode call also. Can someone please help Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844258#3844258 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844258 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JVM crash
issue disappeared with jdk 142_05. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844257#3844257 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844257 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - ServiceMBean doesn't start when using jboss.xmbean
When deploying a class with following XDoclet tags: @jmx.mbean name="xx:service=yy" extends="org.jboss.system.ServiceMBean" @jboss.service servicefile="jboss" @jboss.xmbean on JBoss 3.2.3, the service is never started. I saw that in the generated yy.xml file the start and stop method are not included. Does somebody know why and how to fix this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844242#3844242 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844242 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - JMX Performance
I have done some performance tests and have compared two scenarios. 1. Getting 100,000 times 8 properties from an mbean. 2. Getting 100,000 times 8 propeties by a simple getter method. My results are like this : 10:55:08,535 INFO [STDOUT] property Time :31 msec 10:55:44,913 INFO [STDOUT] JMX Time :36378 msec does that means I should cache the configuration properties i get from MBeans? or is there something bad with my code? A sample code of getting a property from an MBean that I used : | public String getEmailProtocol() { | String value = "imap"; | try { | value = _mBeanServer.getAttribute(_objectName, "EmailProtocol").toString(); | } catch (AttributeNotFoundException e) { | _log.error(e.getMessage(), e); | } catch (InstanceNotFoundException e) { | _log.error(e.getMessage(), e); | } catch (MBeanException e) { | _log.error(e.getMessage(), e); | } catch (ReflectionException e) { | _log.error(e.getMessage(), e); | } | return (value); | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844241#3844241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844241 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Caching of entity beans
Hi I'm trying to figure out how the caching for cmp entity beans works in JBoss. I had this (maybee naive) idea that if an entity bean was loaded the cmp engine would load this bean only once from the database (One time for each transaction for commit option B). This is the scenario: I repeatedly call a findBySomeParameter(xxx) within one transaction with the same parameters. So the result set is the same each time. The parameters are not the primary key. This results in db access for each find. So it obviously does not use the cache even if it sustains one. I'm using standard entity cmp 2.0 configuration with commit option B and read-ahead 100 on-load. I could of course cache this in my own application but isn't this what cmp should be good at? I do see that it can be difficult for the container to do this, but all this talk about the wonders of the EJB and caches has led me to believe that there where a solution to this. I would really apretiate if someone could explain this to me. How can I code my application to make any use of the bean cache? Best regards Oystein View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844240#3844240 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844240 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Data processing with Creation-Expensive Beans
Hello, I need a design hint for the following application scenario: I have to process data in near real time which arrives in short intevalls from various identical sources. Before the data can be processed by an object (Session or POJO) the object has to set-up its internal configuration data. The setup procedure for this configuration data is more epensive than the final data processing. What would be the best pattern to get this done? 1) Simply using stateful beans seems to be no option because there are too many external data sources and the external data reciever must not wait for the data processing to finish. 2) Ideal would be MDBs, but how can I make sure that they are properly reused and there are not too many new instances created, as this is quite expensive and memory consuming? Is there anyone with a bright idea or someone who has solved a similar situation? Best regards Alex View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844239#3844239 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844239 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB client jar files
Following up on this: Using JBoss-IDE you can generate a simple client jar containing the required/EJB interfaces but this jar does not contain any stub/skeleton classes. It seems that even with this jar available you still need to setup security in order to obtain an initialcontext. You can do this using a policy file but .. geeze! Well, heres some more questions: - Is EJB the wrong choice for application's that require BOTH client and web capabilities? JBoss specific or not. - If yes, then what IS the best technique? - Am I missing the point completely? It's highly likely .. -luke View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844238#3844238 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844238 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Fail Over best practice?
Hi, are there any hints on setting up a fault tolerant system of JBoss servers. We have an application with a Swing Client which uses RMIoverHTTPs to connect to the JBoss servers (we have three). The distribution is done using WebStart. Caused by a lack of knowledge and money, we decided to add all three IPs to one DNS-Name. The result is that if any one of the servers is down you may not connect correctly to the application. One solution could be putting an Apache in front of these servers and using MOD_JK2 to connect to the JBoss/Tomcat. An other one is using a hardware load balancer. What other alternatives do I have? What are the pros/cons of such solutions? Thanks, Didi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844237#3844237 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844237 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?
thanks gary, I guess I have to struggle more with those patterns, I've tried many tho so if someone would tell me the basic ones I should give to my HtmlBlocks permissions... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844236#3844236 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844236 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Deployment trouble after updating to Version 3.2.5
Hallo Everybody, I have run into some trouble after switching from JBoss 3.2.3 to 3.2.5. My deployed application (some Entity Beans and some Session Beans) does not start up anymore, I am getting the following error in the log file: 2004-08-05 12:32:17,533 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:jndiName=risse/ejb/RdEJB,plugin=pool,service=EJB dependents are: [] 2004-08-05 12:32:17,533 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Proxy Factory for risse/ejb/RdEJB initialized 2004-08-05 12:32:17,533 DEBUG [org.jboss.ejb.EntityContainer] Failed to register cache as mbean javax.management.NotCompliantMBeanException: Class does not expose a management interface: org.jboss.ejb.plugins.PerTxEntityInstanceCache [...) I don't see any reason why the application is not starting correctly with 3.2.5 but is running fine with 3.2.3. I would be happy if anybody could give me a hint where to start to solve this problem. Regards, Sven View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844234#3844234 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844234 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: javassist.NotFoundException: java.lang.Object - with sec
The call stack is: StandardWrapperValve[ErinorsPortal Servlet]: Servlet.service() for servlet ErinorsPortal Servlet threw exception javax.servlet.ServletException at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:834) at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197) at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:158) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Unknown Source) - Root Cause - org.apache.tapestry.enhance.CodeGenerationException at org.apache.tapestry.enhance.javassist.ClassMapping.initialize(ClassMapping.java:83) at org.apache.tapestry.enhance.javassist.ClassMapping.(ClassMapping.java:48) at org.apache.tapestry.enhance.javassist.EnhancedClassFactory.reset(EnhancedClassFactory.java:70) at org.apache.tapestry.enhance.javassist.EnhancedClassFactory.(EnhancedClassFactory.java:49) at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.createEnhancedClassFactory(DefaultComponentClassEnhancer.java:72) at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.(DefaultComponentClassEnhancer.java:66) at org.apache.tapestry.engine.AbstractEngine.createComponentClassEnhancer(AbstractEngine.java:2207) at org.apache.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1262) at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:824) at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197) at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:158) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.Applicatio
[JBoss-user] [Javassist user questions] - javassist.NotFoundException: java.lang.Object - with securit
Hello, When I run Javassist 2.6 (in Tapestry 3.0) without security manager, everthing works OK. But when I switch to a security manager it throws a NotFoundException: java.lang.Object I debugged the code and I figured out that getClass().getResourceAsStream("/java/lang/Object.class") returns null when using the security manager. What permissions should be set to prevent this error? Thanks, Norbi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844229#3844229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844229 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: [FarmMemberService] java.io.FileNotFoundException
I solved the problem. I put an open war file in farm folder... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844227#3844227 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844227 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB calls across different JBoss instances
Good morning Lads! Is there any way to implemet the following scenario: 1. There are two instances of JBoss running one 3.2.x(JBoss1) another is 2.4.x (JBoss2) 2. JBoss2 hosts EJB application with the number of session beans. 3. JBoss1 hosts another session EJB that needs to invoke JBoss2 EJB methods. Deploying JBoss2 client interfaces directly to the JBoss1 does not work. JBoss1 throws javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.proxy.ejb.GenericEJBInterceptor; local class incompatible: stream classdesc serialVersionUID = 4582256576523491346, local class serialVersionUID = 3844706474734439975] Is there any workaround for this sort of problem? Any help in solving that is greatly appreciated. Best regards, Igor. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844225#3844225 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844225 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Problem in migrating to jboss from weblogic
Hai I got a problem when i am migrating my exisitng project from weblogic to jboss. Actually my project is doing very well in weblogic but the problem is all of my jsp forms, hidden values and the database returning values which actually should be blank is displaying null. Actually they are expected to show blank as it is doing well in weblogic. Is there any way to configure jboss not to return null and show blank. It is impossible to change the entire project to check whether the value is null and display blank as the size is large. can anybody help me out one more problem i had a connection pooling with the minimumsize as 0 and max size as 150.after using the connections for some time the jboss is simply returning that conection pool is (" Database error at createConnection: org.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 5000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout.") and another problem is some times when i am invoking the jsp i am getting the following error type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file [javac] An exception has occurred in the compiler (1.4.2_05). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. [javac] java.lang.IndexOutOfBoundsException [javac] at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:122) [javac] at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1088) [javac] at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:1049) [javac] at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:372) [javac] at com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbol.java:691) [javac] at com.sun.tools.javac.v8.code.ClassReader.loadClass(ClassReader.java:1130) [javac] at com.sun.tools.javac.v8.comp.Resolve.loadClass(Resolve.java:471) [javac] at com.sun.tools.javac.v8.comp.Resolve.findGlobalType(Resolve.java:532) [javac] at com.sun.tools.javac.v8.comp.Resolve.findType(Resolve.java:588) [javac] at com.sun.tools.javac.v8.comp.Resolve.findIdent(Resolve.java:615) [javac] at com.sun.tools.javac.v8.comp.Resolve.resolveIdent(Resolve.java:781) [javac] at com.sun.tools.javac.v8.comp.Attr.visitIdent(Attr.java:1023) [javac] at com.sun.tools.javac.v8.tree.Tree$Ident.accept(Tree.java:) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribType(Attr.java:228) [javac] at com.sun.tools.javac.v8.comp.Enter$MemberEnter.visitVarDef(Enter.java:795) [javac] at com.sun.tools.javac.v8.tree.Tree$VarDef.accept(Tree.java:511) [javac] at com.sun.tools.javac.v8.comp.Enter$MemberEnter.memberEnter(Enter.java:715) [javac] at com.sun.tools.javac.v8.comp.Attr.visitVarDef(Attr.java:349) [javac] at com.sun.tools.javac.v8.tree.Tree$VarDef.accept(Tree.java:511) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStats(Attr.java:253) [javac] at com.sun.tools.javac.v8.comp.Attr.visitBlock(Attr.java:384) [javac] at com.sun.tools.javac.v8.tree.Tree$Block.accept(Tree.java:547) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235) [javac] at com.sun.tools.javac.v8.comp.Attr.visitTry(Attr.java:483) [javac] at com.sun.tools.javac.v8.tree.Tree$Try.accept(Tree.java:697) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStats(Attr.java:253) [javac] at com.sun.tools.javac.v8.comp.Attr.visitBlock(Attr.java:384) [javac] at com.sun.tools.javac.v8.tree.Tree$Block.accept(Tree.java:547) [javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198) [javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235) [javac] at com.sun.tools.javac.v8.comp.Attr.visitMethodDef(Attr.java:341) [javac] at com.sun.tools.javac.v8.tree.Tree$MethodDef.accept(Tree.java:482) [javac] at com.sun.tools.javac.v8.comp.Attr.at
[JBoss-user] [Installation & Configuration] - Unwanted Automatic undeployment
Hello, we have a very strange behaviour with jboss3.2.5 running on SuSE-Linux 8.1 with sun-jdk 1.4.2_03: Without any obvious reasons, jboss undeploys the application. The logs do not show up any irregularities: 2004-08-04 19:52:23,397 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, int erval: 45 2004-08-04 19:59:53,407 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, int erval: 45 2004-08-04 20:07:23,417 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, int erval: 45 2004-08-04 20:14:53,427 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, int erval: 45 2004-08-04 20:21:13,677 DEBUG [org.jboss.deployment.MainDeployer] Undeploying file:/opt/jboss-3.2.5/server/default/dep loy/SkWorldApp.ear 2004-08-04 20:21:13,678 DEBUG [org.jboss.system.ServiceController] stopping service: jboss.j2ee:service=EARDeployment, url='SkWorldApp.ear' Does anyone know about this problem? Any hints? Thanks in advance, Gerwin Brill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844223#3844223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844223 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Managing Memory
Hi all, I am using JBoss3.2.2RC3 and Oracle 9.2. I am using Windows XP with 512 mb of RAM. I have set Xms64m -Xmx128m for JBoss. I have a table with 8000+ records. While retrieving the records, it takes atleast 5 mins to fetch the records. More often than fetching I am getting org.jboss.tm.JBossTransactionRolledbackException: null; CausedByException is: null; nested exception is: java.rmi.NoSuchObjectException; - nested throwable: (java.rmi.NoSuchObjectException) Caused by: java.rmi.NoSuchObjectException Can anybody tell me how can I increase the performance of the system, and also how to avoid the above error. Thanks in advance srinivas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844221#3844221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844221 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - How to include two data-sources in jbosscmp-jdbc.xml file?
Hi Everyone, I have a small problem. In my jbosscmp-jdbc.xml i have defined the data-source in the following manner java:/PSESPDS Oracle9i true false Could you please tell me how can i add a second data-source in this file because i am using some CMPs which are related to tables in another schema. Is it possible. If not do I have to create another jbosscmp-jdbc.xml file for that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844220#3844220 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844220 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Lock and immediate rollback of a transaction
Thank you invisiblemage, I'll try to adapt your example to my problem. Moreno View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844219#3844219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844219 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: over 10 commits for an insert?
what does it mean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844216#3844216 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844216 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Inst. Per Tx with Cache Invalidation?
Check JBossCMP wiki for caching and locking. You could use IPT for read-write container and standard container configuration with commit option A and cache invalidation for read-only container. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844215#3844215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844215 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: autostart a timer when JBoss start?
you can put a tag on your timer mbean that waits on the name of the EJB container MBean. As you cannot guess the name of the ejb container mbean, you need to go on the jmx-console first, find the name, and use it in your depends tag. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844213#3844213 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844213 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - autostart a timer when JBoss start?
Hello all I have a timerEJB, and it is deployed correctly, but every time I started JBoss, I have to call a TimerManager.start to start the timer. Any method can make it autostart when JBoss started? I have tried a MBean, and using a timer-service.xml. But it is impossible to call a EJB?in?it,?as?all?.jar?are?deployed?after?the?*-service.xml?are deployed. How can I do about this? thnks bayue View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844212#3844212 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844212 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Lock and immediate rollback of a transaction
>>But in this case I must lock the "user/pk" table instead of >>"my data" table: where is the difference ? You do the following: (Server Code) try { locktable.findByUserLock(user,row_to_lock); return false; } catch (FinderException e) { insert(user,row_to_lock); // can only be inserted of not exists } Since this happens in one transaction on the server, only one client can get that lock. (the second client has to wait until this transaction is finished, so findByUserLock will not result in a finderexception) If you receive the lock, you can savely read the data, and later, in another transaction, save the updated data. Client "Code": boolean ok = business.insertLock(user,row_to_lock); // only during this function call client 2 has to wait; if (ok) { // client 2 will receive a false here read_for_update(); } else { print("row is locked"); } ... some user processing... ... // NO TRANSACTION OPEN HERE! but we have the lock... ... on_save: write_update(); removeLock(user,row_to_lock); The lock-table is only locked during setting the lock (or trying to), but not during showing and editing the data. In fact, you only have four short transactions during (1) lock (2) read (3) update (4) release lock. But since setting the lock happens in a transaction, only one client can get that lock. You even don't need a stateful session bean here, since you can give the userid with every call; by no means keep the transaction open during client calls! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844211#3844211 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844211 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: log4j and JBoss
I i undrestood yr problem correctly, then its an issue with 'additvity' flag inr yr logger configutartion for that looger. If you set this flag=false then it shouldn't multiply logging in. like --- - View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844210#3844210 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844210 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user