[JBoss-user] [Installation & Configuration] - Re: JSP tag

2004-08-05 Thread genman
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&mod

[JBoss-user] [Installation & Configuration] - Re: Managing Memory

2004-08-05 Thread genman
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&m

[JBoss-user] [Installation & Configuration] - Re: Problem in migrating to jboss from weblogic

2004-08-05 Thread genman
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.ht

[JBoss-user] [Installation & Configuration] - Re: Deploy old and new appliacation on the same server insta

2004-08-05 Thread genman
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&o

[JBoss-user] [Installation & Configuration] - Re: Custom JNDI Resource Factories

2004-08-05 Thread genman
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?mo

[JBoss-user] [Installation & Configuration] - Re: IllegalStateException

2004-08-05 Thread genman
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=38

[JBoss-user] [Beginners Corner] - Re: Problem stopping JBoss: wrong port number

2004-08-05 Thread genman
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=

[JBoss-user] [J2EE Design Patterns] - Re: Data processing with Creation-Expensive Beans

2004-08-05 Thread genman
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://ww

[JBoss-user] [Beginners Corner] - Re: JBoss and LDAP

2004-08-05 Thread genman
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.h

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Memory problem when sending large number of messages

2004-08-05 Thread genman
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 up

[JBoss-user] [Persistence & CMP/JBoss] - Re: true

2004-08-05 Thread ais
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 config

[JBoss-user] [Management, JMX/JBoss] - Re: lookup for jmx/invoker/RMIAdaptor returns null

2004-08-05 Thread genman
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#3844

[JBoss-user] [Management, JMX/JBoss] - Re: a personal service that calls an EJB

2004-08-05 Thread genman
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 po

[JBoss-user] [Management, JMX/JBoss] - Re: JMX Performance

2004-08-05 Thread genman
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 whi

[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?

2004-08-05 Thread gudake
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/JRMPI

[JBoss-user] [Management, JMX/JBoss] - Re: ServiceMBean doesn't start when using jboss.xmbean

2004-08-05 Thread genman
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 o

[JBoss-user] [Messaging, JMS & JBossMQ] - Memory problem when sending large number of messages

2004-08-05 Thread benstarr
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

[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?

2004-08-05 Thread [EMAIL PROTECTED]
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 -

[JBoss-user] [EJB/JBoss] - Re: SessionBean Interceptor--accessing SessionContext

2004-08-05 Thread [EMAIL PROTECTED]
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&mod

[JBoss-user] [HTTPD, Servlets & JSP] - Re: conf/web.xml gets truncated

2004-08-05 Thread [EMAIL PROTECTED]
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=

[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?

2004-08-05 Thread gudake
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 orig

[JBoss-user] [Management, JMX/JBoss] - Re: Is Runaway EJB control possible ?

2004-08-05 Thread [EMAIL PROTECTED]
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 thre

[JBoss-user] [Installation & Configuration] - Re: Why not Unpacked / Expanded / Exploded deployment from r

2004-08-05 Thread [EMAIL PROTECTED]
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

[JBoss-user] [Security & JAAS/JBoss] - Re: Urgent production issue regarding to jboss security

2004-08-05 Thread [EMAIL PROTECTED]
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 wi

[JBoss-user] [Security & JAAS/JBoss] - Re: Can't get SSL properly configured for web app

2004-08-05 Thread techiestuff
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 --

[JBoss-user] [Security & JAAS/JBoss] - Re: Throwing extended LoginException from SRPLoginModule

2004-08-05 Thread [EMAIL PROTECTED]
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

[JBoss-user] [Beginners Corner] - Beans debuging

2004-08-05 Thread SergeyDanilov
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#384

[JBoss-user] [Persistence & CMP/JBoss] - Re: How to include two data-sources in jbosscmp-jdbc.xml fil

2004-08-05 Thread nischalsharma
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

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to expose ConnectionFactory to clients using Global

2004-08-05 Thread plitvak
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 s

[JBoss-user] [Clustering/JBoss] - Re: EJB clustering doesn't work if client is in same JVM?

2004-08-05 Thread gudake
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.LocalInvo

[JBoss-user] [Clustering/JBoss] - EJB clustering doesn't work if client is in same JVM?

2004-08-05 Thread gudake
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 sa

[JBoss-user] [Beginners Corner] - Re: tusc tutorial

2004-08-05 Thread vashistvishal
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=vi

[JBoss-user] [Security & JAAS/JBoss] - Re: Problems Using DabaseServerLoginModule

2004-08-05 Thread auckyboy
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 e

[JBoss-user] [Messaging, JMS & JBossMQ] - Weird problem while testing JBoss for Messaging

2004-08-05 Thread anshah1
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

[JBoss-user] [Messaging, JMS & JBossMQ] - How to expose ConnectionFactory to clients using Global JNDI

2004-08-05 Thread plitvak
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

[JBoss-user] [EJB/JBoss] - SessionBean Interceptor--accessing SessionContext

2004-08-05 Thread paper57
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 T

[JBoss-user] [Nukes User] - Re: Any plans for any other databases?

2004-08-05 Thread sqirl
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.or

[JBoss-user] [Security & JAAS/JBoss] - Throwing extended LoginException from SRPLoginModule

2004-08-05 Thread hauer
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 becaus

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jbossmq writes transaction to database even for non-tran

2004-08-05 Thread genman
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 -

[JBoss-user] [The Lizzard's corner] - Re: JBoss 4.0 Release Date

2004-08-05 Thread cboucher
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://w

[JBoss-user] [HTTPD, Servlets & JSP] - update..

2004-08-05 Thread Maxim Ragozin
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

[JBoss-user] [Messaging, JMS & JBossMQ] - jbossmq writes transaction to database even for non-transact

2004-08-05 Thread jhaddad
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 o

[JBoss-user] [The Lizzard's corner] - Re: JBoss 4.0 Release Date

2004-08-05 Thread [EMAIL PROTECTED]
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 pro

[JBoss-user] [Beginners Corner] - EJB Creator Wizard

2004-08-05 Thread papase
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=3844

[JBoss-user] [Beginners Corner] - Re: tusc tutorial

2004-08-05 Thread papase
"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

[JBoss-user] [JCA/JBoss] - Re: Could not enlist in transaction on entering meta-aware o

2004-08-05 Thread brightsunny2020
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 ---

[JBoss-user] [Persistence & CMP/JBoss] - Need a better transaction manager than the default one

2004-08-05 Thread AlexM
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 fail

[JBoss-user] [Installation & Configuration] - Re: Problems running shutdown.bat from directory other than

2004-08-05 Thread JSmith9090
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 emai

[JBoss-user] [Installation & Configuration] - Problems running shutdown.bat from directory other than bin

2004-08-05 Thread JSmith9090
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.l

[JBoss-user] [Beginners Corner] - Oracle to JBoss RMI question

2004-08-05 Thread scr1701
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-user] [JCA/JBoss] - Could not enlist in transaction on entering meta-aware objec

2004-08-05 Thread brightsunny2020
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 a

[JBoss-user] [HTTPD, Servlets & JSP] - Re: XML Parser cannot parse Files with spaces in their names

2004-08-05 Thread vc?!
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

[JBoss-user] [The Lizzard's corner] - JBoss 4.0 Release Date

2004-08-05 Thread cboucher
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

[JBoss-user] [Installation & Configuration] - IllegalStateException

2004-08-05 Thread jactor
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:227

[JBoss-user] [Beginners Corner] - Re: Tying JBoss Into Idea

2004-08-05 Thread bwinspur
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.ht

[JBoss-user] [Installation & Configuration] - Custom JNDI Resource Factories

2004-08-05 Thread anjelinio
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: | | |

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Uploading images in JBoss

2004-08-05 Thread jtpsoft
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

[JBoss-user] [Beginners Corner] - JBoss and LDAP

2004-08-05 Thread newbeewan
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

[JBoss-user] [Clustering/JBoss] - Re: Problem with farming

2004-08-05 Thread gudmundsonsc
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

[JBoss-user] [Persistence & CMP/JBoss] - JNDI lookup

2004-08-05 Thread juniorcarl
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

[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-05 Thread ninus2
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

[JBoss-user] [HTTPD, Servlets & JSP] - Uploading images in JBoss

2004-08-05 Thread jtpsoft
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 databa

[JBoss-user] [HTTPD, Servlets & JSP] - XML Parser cannot parse Files with spaces in their names

2004-08-05 Thread vc?!
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.newI

[JBoss-user] [Clustering/JBoss] - Re: JVM crash

2004-08-05 Thread hiteche
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.Ne

[JBoss-user] [Management, JMX/JBoss] - ServiceMBean doesn't start when using jboss.xmbean

2004-08-05 Thread dhondts
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 inclu

[JBoss-user] [Management, JMX/JBoss] - JMX Performance

2004-08-05 Thread tomerbd
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 T

[JBoss-user] [Persistence & CMP/JBoss] - Caching of entity beans

2004-08-05 Thread oaadland
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 repeat

[JBoss-user] [J2EE Design Patterns] - Data processing with Creation-Expensive Beans

2004-08-05 Thread deutinger69
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.

[JBoss-user] [EJB/JBoss] - Re: EJB client jar files

2004-08-05 Thread doofus
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

[JBoss-user] [Clustering/JBoss] - Fail Over best practice?

2004-08-05 Thread Didi1976
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 ad

[JBoss-user] [Nukes User] - Re: HtmlBlock permission pattern?

2004-08-05 Thread ninus2
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 :

[JBoss-user] [Beginners Corner] - Deployment trouble after updating to Version 3.2.5

2004-08-05 Thread svenbeer
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.ServiceContro

[JBoss-user] [Javassist user questions] - Re: javassist.NotFoundException: java.lang.Object - with sec

2004-08-05 Thread snorbi
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.ApplicationServl

[JBoss-user] [Javassist user questions] - javassist.NotFoundException: java.lang.Object - with securit

2004-08-05 Thread snorbi
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") return

[JBoss-user] [Clustering/JBoss] - Re: [FarmMemberService] java.io.FileNotFoundException

2004-08-05 Thread utente2
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 --

[JBoss-user] [EJB/JBoss] - EJB calls across different JBoss instances

2004-08-05 Thread inksystems
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 met

[JBoss-user] [Installation & Configuration] - Problem in migrating to jboss from weblogic

2004-08-05 Thread Teja
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

[JBoss-user] [Installation & Configuration] - Unwanted Automatic undeployment

2004-08-05 Thread g_brill
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] ru

[JBoss-user] [Installation & Configuration] - Managing Memory

2004-08-05 Thread cheenu78
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.JB

[JBoss-user] [Persistence & CMP/JBoss] - How to include two data-sources in jbosscmp-jdbc.xml file?

2004-08-05 Thread ashishabrol
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

[JBoss-user] [Persistence & CMP/JBoss] - Re: Lock and immediate rollback of a transaction

2004-08-05 Thread morenito9000
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 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: over 10 commits for an insert?

2004-08-05 Thread loubyansky
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 spons

[JBoss-user] [Persistence & CMP/JBoss] - Re: Inst. Per Tx with Cache Invalidation?

2004-08-05 Thread loubyansky
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 Rep

[JBoss-user] [Beginners Corner] - Re: autostart a timer when JBoss start?

2004-08-05 Thread Sacha Labourey
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?mod

[JBoss-user] [Beginners Corner] - autostart a timer when JBoss start?

2004-08-05 Thread bayuehua
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?i

[JBoss-user] [Persistence & CMP/JBoss] - Re: Lock and immediate rollback of a transaction

2004-08-05 Thread invisiblemage
>>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

[JBoss-user] [Beginners Corner] - Re: log4j and JBoss

2004-08-05 Thread vashistvishal
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://