[JBoss-user] [Installation & Configuration] - Re: Low JBoss performance on Linux

2004-09-01 Thread NOD
Thank you. I'm currently using Suse Linux 9.1 with a 2.6.x kernel. I tested JDK 1.4.2_03 and Blackdown 1.4. This makes almost no difference. It is exact the same JBoss on both places. 'Top' displays no 'idle' time when JBoss gets started. There is more then enough memory free. I set the number

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Want to support more concurrent accesses to JBoss, How t

2004-09-01 Thread genman
Sure. That number was set to be a good low default for developers, set it as high as you need it, and make sure your server doesn't crash if set too high. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846981#3846981 Reply to the post : http://www.jboss.or

[JBoss-user] [HTTPD, Servlets & JSP] - Re: 404 error problem with a .war file

2004-09-01 Thread genman
You should set up a web.xml with a servlet mapping rather than rely on tomcat to find it by "dot class" name. There is probably a setting for this, changed likely for security purposes. Ssearch around for default servlet mapping for Tomcat. Probably it is mentioned in a changelog someplace.

[JBoss-user] [HTTPD, Servlets & JSP] - Re: How to logout application(s) using single-sign-on?

2004-09-01 Thread genman
Not a SSO guru, but you can probably remove/replace the cookie stored in the browser causing the SSO to end. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846979#3846979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Too many files open error

2004-09-01 Thread genman
Upgrade? Could have been a bug in 3.2/Jetty. Check the changelog. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846978#3846978 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846978

[JBoss-user] [Persistence & CMP/JBoss] - Re: EJBs datasource mapping with PostgreSQL

2004-09-01 Thread loubyansky
If you specify sql-type you should also specify jdbc-type. They work in pair. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846977#3846977 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846977 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Error compiling EJB-QL in crime portal example from JBOS

2004-09-01 Thread loubyansky
I ran it from JBossCMP30x.zip against JBoss-3.2.5. Targets: setup, test, readahead, teardown. This 'service=EJB^M' in object name looks suspiciously. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846976#3846976 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Performance Tuning] - Re: Bind IP on JBOSS

2004-09-01 Thread genman
There are bind settings in 3.2, not sure about 3.0. If they are in 3.2 they are the same in the latest 3.0 branch. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846975#3846975 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [Performance Tuning] - Re: how to control the number of threads in JBoss

2004-09-01 Thread genman
If you are using Redhat ES, the number of threads shouldn't affect performance as much as you might think. I think you need better profiling tools (likely database ones) before you decide JBoss has too many outstanding threads, a red herring in my opinion. Usually, it comes down to architectu

[JBoss-user] [Installation & Configuration] - Re: EAR APP-INF folder as in weblogic

2004-09-01 Thread erezharari
it seams to be a new non-standard addition in weblogic 8.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846973#3846973 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846973 -

[JBoss-user] [Installation & Configuration] - Re: JDBC auto-reconnect?

2004-09-01 Thread genman
The ExceptionSorter is supposed to figure out if your connection has gone bad or not. Can you test on 3.2.6 and give the SQLException message and its error code to me? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846972#3846972 Reply to the post : http:/

[JBoss-user] [Installation & Configuration] - Re: Deployment problem, sar with nested war

2004-09-01 Thread genman
Windows is pretty dumb about letting you move/rename/delete files that are already open. I'm not sure if this is a JDK issue or a JBoss one. Does this prevent you from moving forward? Sounds to me like the deployer should continue to work even if it can't rename the old file. You might want

[JBoss-user] [Installation & Configuration] - Re: Low JBoss performance on Linux

2004-09-01 Thread genman
Tip: Use Redhat AS or ES. Or Fedora/Linux 2.6. I also recommend JDK 1.4.2 from Blackdown.org . You may also not be running the exact same JBoss configuration in both places. What does "top" say in Linux? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384

[JBoss-user] [Installation & Configuration] - Re: EAR APP-INF folder as in weblogic

2004-09-01 Thread genman
Haven't heard of this feature. Would you like to contribute this to JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846969#3846969 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846969

[JBoss-user] [Installation & Configuration] - Re: lib directory jars not available

2004-09-01 Thread genman
Submit a reproducable test case to sf.net/projects/jboss as a bug if it really is a bug. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846968#3846968 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846968 --

[JBoss-user] [Installation & Configuration] - Re: classes hot deploy

2004-09-01 Thread genman
Usually you need to "touch" the web.xml file. JBoss doesn't watch the timestamp of each one of your classes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846967#3846967 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Installation & Configuration] - EAR deployment problem - Incomplete Deployment listing

2004-09-01 Thread erezharari
i'm using jboss 3.2 with tomcat 5. i tried to deploy an EAR with EARs inside, but i get an exception: "MBeanException: Incomplete Deployment listing" Packages waiting for a deployer: [EMAIL PROTECTED] {url=file:/d:/iBOLTPortal/Sites2.ear/META-INF/application.xml } deployer: null status: null

[JBoss-user] [Installation & Configuration] - EAR APP-INF folder as in weblogic

2004-09-01 Thread erezharari
in weblogic 8.1 the APP-INF fodler is like WEB-INF in that it's underlying lib and classes folders are available for all modules without specifying Class-path entry in the MANIFEST of each module. is there a simmilar option on jboss? View the original post : http://www.jboss.org/index.html?mod

[JBoss-user] [Management, JMX/JBoss] - Re: accessing ejb from mbean service

2004-09-01 Thread raja05
Absolutely . You can configure the sar inside the jboss-app.xml in the service tags. That way ur SAR becomes a part of the enterprise archive. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846963#3846963 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Installation & Configuration] - EAR deployment

2004-09-01 Thread erezharari
i need to deploy multiple WARs that share a common lib. i think this can be done using: app.ear --META-INF MANIFEST.MF application.xml --APP-INF lib --web1.war --web2.war .. however, say i need to add a new WARto the EAR, can i do this without all the EAR being re-deplyed? can i do th

[JBoss-user] [Installation & Configuration] - Re: classes hot deploy

2004-09-01 Thread erezharari
anyone? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846960#3846960 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846960 --- This SF.Net email is sponsored by BEA

[JBoss-user] [Installation & Configuration] - Re: lib directory jars not available

2004-09-01 Thread erezharari
any ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846959#3846959 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846959 --- This SF.Net email is sponsored by

[JBoss-user] [J2EE Design Patterns] - Re: DAO or EJB

2004-09-01 Thread Joydeep
As Sachin said, use DAO when the application is primarily of reporting type ( mostly selects). When you require a lot of inserts and updates and real time persistance, also when your java objects need to reflect the state of database objects go for Entity EJBs. Thanks, Joydeep View the origina

[JBoss-user] [HTTPD, Servlets & JSP] - Request Object Seems to disappear

2004-09-01 Thread tripp
We recently converted a pure JSP/Servlet app running on Tomcat to Tomcat/JBoss 3.2.2. We have found that every so often the request object seems to just disappear, causing users to get kicked from the system at worst, and at best for errors like "object such and such could not be found in any sc

[JBoss-user] [JCA/JBoss] - Re: Class not found - am I missing something obvious?

2004-09-01 Thread janilsal
4.0 will be officially released this month. So its a safe assumption. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846954#3846954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846954 --

[JBoss-user] [Installation & Configuration] - Re: How to turn off the DEBUG in jboss 3.2.5?

2004-09-01 Thread janilsal
look under /server/default/conf/log4j.xml for configuration View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846953#3846953 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846953 ---

[JBoss-user] [Installation & Configuration] - How to turn off the DEBUG in jboss 3.2.5?

2004-09-01 Thread pxiao
Dear All, I just downloaded the jboss3.2.5 from the site, when I try to run it, it always printout the DEBUG message in the server.log file, did any body know how to disable the DEBUG options?? thanx Peter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846

[JBoss-user] [Persistence & CMP/JBoss] - Re: Error compiling EJB-QL in crime portal example from JBOS

2004-09-01 Thread alt_amit
OK the examples in JBossBook_323.zip works, but the examples in JBossCMP30x.zip caused the problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846948#3846948 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846948

[JBoss-user] [JCA/JBoss] - Re: Class not found - am I missing something obvious?

2004-09-01 Thread [EMAIL PROTECTED]
D'oh! Sorry about that. I misread the error message - I thought it was saying it could not find my class, but it was really saying it could not find the class referenced by my class. So I need to decide between JCA 1.0/JBoss 3 and JCA 1.5/JBoss 4 (developer release). I am new to JBoss (and J2EE!

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS not picking up

2004-09-01 Thread greiezer
thanks :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846946#3846946 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846946 --- This SF.Net email is sponsored by

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message redelivery failing for BMT MDBs

2004-09-01 Thread [EMAIL PROTECTED]
The JMS spec does allow redelivery after a RuntimeException, it's just that you cannot rely on this behaviour (it is not portable). e.g. JBoss effectively uses the rule: redeliver 0 (zero) times. I'll look at incorporting your patch with an optional configuration in the invoker-proxy-binding, so

[JBoss-user] [JCA/JBoss] - Prepending java:/ to jndi name:

2004-09-01 Thread Ranjith Pillai
Hello, When I have jndi name as SAPJRAConnectionFactory in sapr3-ds.xml, jboss deploy this as java:/SAPJRAConnectionFactory(prepending "java:/" to jndi name) and forcing me to look up java:/SAPJRAConnectionFactory instead of SAPJRAConnetionFactory. Am I doing something wrong? This is the xml s

[JBoss-user] [JCA/JBoss] - [CachedConnectionManager] Closing a connection for you. Plea

2004-09-01 Thread Ranjith Pillai
Hello, My environment is Jboss-3.2.3 in HPUX. I didn't understand the workaround discussed in the other thread for the same issue. I guess after I call my connection factory.getConnection() and before I call my connection.close(), JBoss is closing the connection and throwing out these exception

[JBoss-user] [EJB/JBoss] - Did extension mechanism architecture change from 3.2.1 to 3.

2004-09-01 Thread haytham
I have an application packaged as an ear. My ejb-jar's manifest has a classpath reference that looks as follows: Class-Path: common.jar BIG.jar castor-0.9.5-xml.jar at the same level as my ejb-jar are my common.jar, BIG.jar, and castor jars. So my ear's contents are as follows: MyApp.ear/ -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBossMQ message priority handling ?

2004-09-01 Thread [EMAIL PROTECTED]
Hi Adrian, what version does the WIKI link refer to? We are using 3.2.4RC2 and it does not order when using the code sample specified. tx, Jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846941#3846941 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Clustering/JBoss] - invalidate cache with RO/RW pattern

2004-09-01 Thread pedrosalazar
Greetings, What configurations I have to do to put my cache (read-only entity beans) invalid when I update (or something) with a read-write bean? I have done a few tests but I couldn' put it to work. My read-only bean extends "Standard CMP 2.x EntityBean with cache invalidation" configuration,

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message redelivery failing for BMT MDBs

2004-09-01 Thread tmjkeeney
Thank you for your evaluation. I want to elaborate on my reasoning: 1) CMT with REQUIRED would be preferable, but the MDB processes large amounts of data and the container-provided transaction could very well timeout. Also, the processing does not need to be wrapped in a transaction so I chose

[JBoss-user] [Clustering/JBoss] - Which directory for singletons -- farm or deploy-hasingleton

2004-09-01 Thread monocongo
The documentation I have found regarding the deployment of singletons in a cluster is contradictory -- in one place it tells you to put your singleton's SAR into the deploy-hasingleton directory (see http://www.jboss.org/wiki/Wiki.jsp?page=HASingletonDeployer) but in another place (the O'Reilly

[JBoss-user] [EJB/JBoss] - Re: TibcoEMS/EJB example in JBOSS

2004-09-01 Thread fist
I have implement the JMSexception in a jar deployment, I tried a sar-deployment in lib of JBoss. I put these exception in all libaries. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846935#3846935 Reply to the post : http://www.jboss.org/index.html?module=b

[JBoss-user] [Persistence & CMP/JBoss] - Re: Error compiling simple EJB-QL

2004-09-01 Thread ggodoy
Hi! Could you please be more specific in what you change (where and what)? Thanks, Gus Godoy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846933#3846933 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846933 --

[JBoss-user] [Clustering/JBoss] - Private constructors not allowed for singletons

2004-09-01 Thread monocongo
It appears that it is impossible to deploy a singleton with a private constructor in a clustered environment. I get the following error when launching the first node of a cluster in which I have a singleton with a private constructor: | 15:43:23,917 ERROR [MainDeployer] could not create depl

[JBoss-user] [Performance Tuning] - how to control the number of threads in JBoss

2004-09-01 Thread dimitar2004
Hi, We are using JBoss 3.0.8/Jetty on RHEL 3.0. How do you control the number of threads in JBoss? There is Web/J2EE application hosted on this server and sometimes the application responds very slowly. Among other things we would like to see if we could optimize the response time by changi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: YO! - mdb deployment trouble

2004-09-01 Thread kedaar
Thanks Adrian, Ive got it working if I hot deploy it. However, if I deploy it first and then start JBoss I get an exception saying "DefaultJMSProvider not bound". This must be because my res-ref tags are not correct? Can you tell me what to add to my ejb-jar and jboss.xml? View the origina

[JBoss-user] [EJB/JBoss] - Connecting to EJB's in a Schedulable class

2004-09-01 Thread jgkenned
I am successfully doing this using a jndi lookup like this: Object ref = initCtx.lookup("/ejb/myEJBBla"); However, I'm having, what I think is a firing order issue with JBOSS. When I retrieve an EJB home interface within the constructor of a class that implements Schedulable, I get classdefnot

[JBoss-user] [Persistence & CMP/JBoss] - Keep getting new session id

2004-09-01 Thread dani2000
We have deployed several EAR on jboss 3.0.8 with jdk 1.3. A user can login and navigate through different modules using menu screen (where each module is a separate EAR). After using a module user can click "Home" to come back on main menu screen. Somehow once user navigates through more then (

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS communication between JBoss and Weblogic

2004-09-01 Thread zks
Well, sorry for the unclear question, and I have found the solution which is deploy the wlclient.jar and wljmsclient.jar with my application. The problem i met was when I try to add those 2 jar files into the classpath before start the jboss, it got some errors. View the original post : http:

[JBoss-user] [EJB/JBoss] - Keep getting new session id

2004-09-01 Thread dani2000
We have deployed several EAR on jboss 3.0.8 with jdk 1.3. A user can login and navigate through different modules using menu screen (where each module is a separate EAR). After using a module user can click "Home" to come back on main menu screen. Somehow once user navigates through more then (

[JBoss-user] [Persistence & CMP/JBoss] - Re: Error compiling EJB-QL in crime portal example from JBOS

2004-09-01 Thread alt_amit
I didnt change a thing, maybe can you zip up the entire example that runs on yours with 3.2.5 and I can try on mine. And the sequence of ant commands you ran. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846918#3846918 Reply to the post : http://www.jboss.

[JBoss-user] [Nukes User] - New RSS Support for news module

2004-09-01 Thread theute
Now there is RSS support for the news module. It works the same way as for the forum RSS, ie: http://localhost:8080/nukes/modules/news/rss?c=1 Will return RSS for the topicid 1 (PS: For the forum it's http://localhost:8080/nukes/modules/bb/rss?f=1 where f is the forumid) View the original post

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Consuming a topic from a remote J2EE application running

2004-09-01 Thread [EMAIL PROTECTED]
Sounds to me like you made the security changes on the mdb machine and not on the remote jms machine? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846916#3846916 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846916

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: getJMSCorrelationIDAsBytes()

2004-09-01 Thread [EMAIL PROTECTED]
SpyEncapsulatedMessage is no longer used in JBossMQ. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846915#3846915 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846915

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message redelivery failing for BMT MDBs

2004-09-01 Thread [EMAIL PROTECTED]
Your patch is not correct. 1) It is an error for onMessage to throw an unchecked exception and is explicitly undefined behaviour, read the jms spec. 2) For BMT you are deliberatly suspending the jms delivery transaction so you can either isolate or create your own user transaction. Failure in th

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBossMQ message priority handling ?

2004-09-01 Thread [EMAIL PROTECTED]
http://www.jboss.org/wiki/Wiki.jsp?page=JMSPriority View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846912#3846912 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846912 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: throwable from unregister connection

2004-09-01 Thread [EMAIL PROTECTED]
You also need to post in the correct forum. Search the JCA forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846913#3846913 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846913 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How do I destroy a TemporaryQueue on the server?

2004-09-01 Thread [EMAIL PROTECTED]
If the server side is not closing its connections you've got a memory leak straight away. The session that creates the temporary queue must be the one that creates the receiver otherwise it won't work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846911#384

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Lookup remote connection factory

2004-09-01 Thread kedaar
To resolve the problem: Look at your servers network host setup. In this case the server name "localhost.localdomain" was mapped to "127.0.0.1". I changed my machine name , and mapped the new name to its proper IP address using the redhat Network config tool. Problem solved View the original

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Lookup remote connection factory

2004-09-01 Thread [EMAIL PROTECTED]
You can only depend upon another service being available during the start() of your mbean and only then if you specify a dependency. Try search in the JMX forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846909#3846909 Reply to the post : http://www.jbo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to Config The JBoss4.0 Provider_Url ?

2004-09-01 Thread [EMAIL PROTECTED]
This is jndi problem, not a jms problem. The message says the rmi stub is no longer valid, maybe because your network config is screwed and it is connecting to the server or maybe you have an rmi registry rather than jboss/ns on 1099? View the original post : http://www.jboss.org/index.html?modu

[JBoss-user] [JCA/JBoss] - Re: Reading of Oracle BLOB works with JBoss 3.2.3 but fails

2004-09-01 Thread [EMAIL PROTECTED]
underlyingResultSet.getClass().getInterfaces(); check the classloaders of the classes as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846905#3846905 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846905 -

[JBoss-user] [JCA/JBoss] - Re: connection timeout in -ds.xml

2004-09-01 Thread [EMAIL PROTECTED]
Only if the jdbc driver or XA datasource accepts them as configuration properties. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846907#3846907 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846907 --

[JBoss-user] [JCA/JBoss] - Re: Datasource configuration problems

2004-09-01 Thread [EMAIL PROTECTED]
For one: For three: Does the liferay driver really accept oracle urls? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846906#3846906 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846906 -

[JBoss-user] [JCA/JBoss] - Re: Class not found - am I missing something obvious?

2004-09-01 Thread [EMAIL PROTECTED]
ResourceAdapterAssociation is part of jca 1.5 (supported by jboss4) jboss-3.2.x only supports jca 1.0 Ever get that deja vu feeling? I get it a lot. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846903#3846903 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Beginners Corner] - Re: Eclipse 3 + JBoss 3.2.5

2004-09-01 Thread freefall
erm, I've now done the following...and lo and behold it still doesnt work... why not? taken from a forum: I am new to JBoss as well and I got the exact same warnings which turned out to be due to the fact that I had Tomcat 5.x installed and JBoss was expecting Tomcat 4.x. I found the followi

[JBoss-user] [Installation & Configuration] - Low JBoss performance on Linux

2004-09-01 Thread NOD
Hi, when I use Jboss with Linux I noticed a slow performance in comparison to using Jboss with Windows. For example starting a Jboss on Windows tooks about 10 sec., same on Linux about 22 sec. In addition this test used - a good equipped Hardware for the Linux server with 2,8Gz xeon, very fast

[JBoss-user] [Installation & Configuration] - Deployment problem, sar with nested war

2004-09-01 Thread mtb2ride
I have a sar file with a nested war file. Both are very simple, a few utility jars in the sar and only one servlet with its corresponding web.xml are in the war. I'm using JBoss 3.2.5. on windows XP. With my sar in the deploy directory it fails to deploy the sar. I get the following error

[JBoss-user] [JBoss.NET] - Re: Hello World

2004-09-01 Thread Scharlau
You can use the build file, etc from my practical page here to get you going. The second example uses xdoclet and eclipse. http://www.csd.abdn.ac.uk/~bscharla/teaching/CS5302/practicals/practical9.shtml Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846

[JBoss-user] [JCA/JBoss] - Re: Problem with deployment of non-static *-ds.xml

2004-09-01 Thread r_raman
I got rid of the SARDeployer error after I renamed the url from myprotocol://sybase-ds.xml to something like myprotocol://dummyhost/sybase-ds.xml. The deployer probably wasn't able to get the path from URL and hence it was reporting that error. But now, I have another one :(. I see that all the

[JBoss-user] [Messaging, JMS & JBossMQ] - Consuming a topic from a remote J2EE application running on

2004-09-01 Thread jaded
hi, Pleasee help with the following problem: SUMMARY: I am trying to connect (durable) to a topic created by a J2EE application running on a physically remote JBOSS 3.2.5 app server using an MDB residing on my local machine ( again JBOSS 3.2.5 app server). I keep getting the folowing exception

[JBoss-user] [Nukes User] - Re: running nukes on existing tomcat

2004-09-01 Thread jae77
no - nukes needs to run in jboss w/ embedded tomcat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846889#3846889 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846889 ---

[JBoss-user] [Management, JMX/JBoss] - Re: Non-proprietary connection to JBoss JMX MBeanServer

2004-09-01 Thread ronchalant
I've actually found a way to do it. I extended the org.jboss.system.ServiceMBeanSupport class and in it I created a JMXConnectorServer. I used the JMXMP protocol, and it was failing before not because JBoss doesn't support it, but because I need to include the jmxremote_optional.jar file in my

[JBoss-user] [Clustering/JBoss] - cache invalidation within transaction

2004-09-01 Thread peterbakker
There is a bug #843675 which describes the fact that cache invalidation must run within a transaction. Now I have the following situation. I have a servlet that executes method A on a stateless session bean. Method A has transaction attribute not supported. Method A calls method B several times

[JBoss-user] [Installation & Configuration] - Re: JDBC auto-reconnect?

2004-09-01 Thread mtb2ride
The best way I know to do it is to use a JNDI datasouce configured with a datasource file *-ds.xml in your deploy directory. I use the datasource descriptor below on JBoss 3.2.5 winXP & linux, and it recovers from network outages without having to restart the server. If your applicatioins are

[JBoss-user] [Installation & Configuration] - Re: Configure JBoss to use external libraries

2004-09-01 Thread avantrik
We have to get our libraries in the ear or jar. Infact there is a major problem when we deploy JFreeChart latest version libraries which are already present in management/console-mgr.jar. If these are deployed, the latest deployed within your EAR are not recognized and NoDefClassFoundError is th

[JBoss-user] [Beginners Corner] - communicating between two jboss servers

2004-09-01 Thread vindiayns
I have written two beans, one is a stateless session bean deployed in one jboss server, for publishing message to a topic in another jboss server. in another jboss server I have deployed MDB which listens to that topic in the same server...this is working fine.. My question is how the session

[JBoss-user] [Management, JMX/JBoss] - Re: Non-proprietary connection to JBoss JMX MBeanServer

2004-09-01 Thread ronchalant
Yeah but I still need to use propriety code. I can't just gain a connection to a JBoss MBeanServer using a JMXConnector (which would require a JMXConnectorServer to be running somewhere). What I've started to try and do now is creating a JBoss-specific MBean that is a JMXConnectorServer essent

[JBoss-user] [Beginners Corner] - Re: HELP: Installed JBoss, started it up, but can't hit ser

2004-09-01 Thread jinglejangle
Thanks very much, everybody! I thought I would try the simplest solution first, which was kpraveena's, so I restarted the server and tried using my machine name instead. And now I can see the jboss page! whoo-hoo!! http://:8080/ Thank you one and all. No doubt I shall be asking more lame questi

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Nested Tags don't seem to work

2004-09-01 Thread dbyrne28
I am seeing this same exact behavior. Any luck in resolving it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846877#3846877 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846877 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using WSMQ ( yet another question )

2004-09-01 Thread GreyDeath
Hi, I actually used your config to get MQ running on my side. Where did you get that information? anyway, I found your problem. check out the following lines: java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory java.naming.provider.url=file:///home/nusa/JNDI-D

[JBoss-user] [Advanced Documentation] - Everyone has experienced these problem---JBoss !

2004-09-01 Thread gzhuye
>From ServerSide: 3. JBoss, Good & Bad, even though the memory footprint is small for this server and the performance is good, I will never advice anybody to use this bcoz of lack of documentation, lack of configuration environment/tools and being left helpless wondered like a lost kid in the w

[JBoss-user] [Javassist user questions] - Re: Please help with CtConstructor.insertAfter function

2004-09-01 Thread maildt
I did try to use the modified Options class, and it worked as it's supposed. Although I am still confused by the decompiled code. Thanks for your help. maildt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846872#3846872 Reply to the post : http://www.jbo

[JBoss-user] [Persistence & CMP/JBoss] - EJBs datasource mapping with PostgreSQL

2004-09-01 Thread pablojavierpy
Hi folks. First of all, my working environment JBOSS 3.2.5 PostgreSQL 7.2 JBOSS IDE 1.3 (xdoclet 1.2.1) My question: I am using Entities EJBs and they are being deployed just fine. My one and only problem is XDOCLET is not generating the exact SQL sentence to create tables. That is: --

[JBoss-user] [Persistence & CMP/JBoss] - Re: how to use QL to have a case insensitive String compare?

2004-09-01 Thread svadu
"svadu" wrote : "WebSel" wrote : For the XDoclet users here's my 5$ | | | | This is the finder in jboss | | | | | | | | | | * @jboss.query | | | * query="SELECT OBJECT(o) FROM Person o WHERE LCASE(o.lastName) = LCASE(?1) ORDER BY o.foreName" | | |

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-09-01 Thread jbosszone
Dear Vishal For the Tutorial Chapter 9 "Create VB.Net Client", I have used VC#.Net instead of VB.Net and the client is working. == VB.Net codes in the original tutorial == "Add the following code for the Sub btnGetID_Click()" Dim strResult As String 'Output result for ID Dim objWebRef As New Web

[JBoss-user] [Messaging, JMS & JBossMQ] - getJMSCorrelationIDAsBytes()

2004-09-01 Thread bhcohen
We have an small MDB deployed to JBoss 3.2.3. The MDB consumes messages from a external JMS provider queue (Tibco 4.1) The MDB attempts to re-publish the message using JBoss MQ The MDB looks roughly like: public void onMessage(Messasge msgFromTibco){ jbossQueueSender_.send(msgFromTibco); }

Re: [JBoss-user] [Beginners Corner] - How to create a periodical task using the Timer/Scheduler

2004-09-01 Thread Antonio Kantek
You can use the jmx timer service. http://www.huihoo.com/jboss/online_manual/3.0/ch13s58.html regards - Original Message - From: "Ido Kobelkowsky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 31, 2004 3:13 PM Subject: [JBoss-user] [Beginners Corner] - How to create a

[JBoss-user] [Persistence & CMP/JBoss] - Re: where does hibernate show_sql output go?

2004-09-01 Thread btarbox
I found out via a hibernate forum that the log4j category setting I needed was sf.net.hibernate.SQL Perhaps that could be added to the hibernate/jboss wiki document. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846863#3846863 Reply to the post : http:/

[JBoss-user] [Performance Tuning] - Bind IP on JBOSS

2004-09-01 Thread pericodelgado
Hi everybody, I have installed JBoss 3.0.6 in a server with 2 IP (data and management), but I want that JBoss only give service through by data IP. Anybody knows what I should to do? They said me that Tomcat ables to configure Bind IP, but I didn't find this param on JBoss Web Service. Thanks

[JBoss-user] [Beginners Corner] - Out of memory at deployment time

2004-09-01 Thread jdaniel0309
We deploy and undeploy our application so many times without problem, but sometimes we receive a message like below. Then we restart JBOSS and it works well for some days. may someone help me? | 14:52:21,733 INFO [EjbModule] Deploying ejb/global/CategoriaClienteEjb | 14:52:24,577 WARN

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS not picking up

2004-09-01 Thread stueccles
have you set the jaas security domain in jboss-web.xml? java:/jaas/realmname the realm-name in the web.xml for login-config doesnt actually do anything with the Tomcat-Jboss integration Although im not sure this relates to your problem. What you need to do is remove the context from

[JBoss-user] [EJB/JBoss] - Re: Bug in JBoss 4.0.0 RC1 jbosscmp-jdbc.xml parsing?

2004-09-01 Thread kmarczewski
The same refers to tag inside . Kacper Marczewski View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846858#3846858 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846858 -

[JBoss-user] [J2EE Design Patterns] - Re: DAO or EJB

2004-09-01 Thread javabuddy
"puneetjains" wrote : Hi | can any one please tell mewhen to use DAO or EJB | is the selection also depends on No of hits. | also are EJB not scalable | | | Puneet View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846857#3846857 Reply to the post :

[JBoss-user] [Security & JAAS/JBoss] - JAAS not picking up

2004-09-01 Thread greiezer
Hi I'm trying to secure the admin pages of my applications. The problem is that I do not get promted for login/password when using this /ppwebshop/admin/* I do get get promted for login/password when using /* though. Any ideas? An url to secure: http://127.0.0.1:8080/ppwebshop/admin/categoryed

[JBoss-user] [Installation & Configuration] - run.sh

2004-09-01 Thread kuser001
(I have posted this topic also in Beginners forum) Hi, I have installed jboss [for ejbca] (with mysql) and I have execute ./run.sh. the last row of log is: 11:16:18,324 INFO [JkMain] Jk running ID=0 time=1/241 config=null and the http://localhost:8080 is ok but I get some WARN and ERROR. I c

[JBoss-user] [Beginners Corner] - run.sh

2004-09-01 Thread kuser001
I have installed jboss [for ejbca] (with mysql) and I have execute ./run.sh. the last row of log is: 11:16:18,324 INFO [JkMain] Jk running ID=0 time=1/241 config=null and the http://localhost:8080 is ok but I get some WARN and ERROR. I can't install/init ejbca with this errors/warnings. What

[JBoss-user] [Nukes User] - running nukes on existing tomcat

2004-09-01 Thread set
hi, i am trying nukes and i have one important question: is it possible to run nukes with its jboss framework on an existing tomcat serverlet container? i mean, to run nukes, i have to start its own server, but what if i am on hosting server, which of course wont start my jboss server, but which

[JBoss-user] [Security & JAAS/JBoss] - Re: Secure the Invokers

2004-09-01 Thread cijijoseph
Properties properties = new Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); properties.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces"); properties.put(Context.PROVIDER_URL, serverURL); Co

[JBoss-user] [Security & JAAS/JBoss] - Switching Principal/Identity type when calling other securit

2004-09-01 Thread simon.g
I am trying to achieve the following with two security domains: Principal of type A is authenticated in domain A. An EJB deployed in domain A is calling an EJB in domain B, where domain B uses a different identity type (another Principal implementation class). For domain B the ID returned by get

[JBoss-user] [Beginners Corner] - Re: The value for the useBean class attribute org.dom4j.Docu

2004-09-01 Thread jama
Found the problem. It was the errorOnUseBeanInvalidClassAttribute in web.xml Hopefully this helps anyone with the same issue View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846849#3846849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [EJB/JBoss] - Re: help me! Jboss doesn't create PK JAVA file for primary k

2004-09-01 Thread harshi2003
i am using jboss-3.2.3 with my eclipse ide. you have to use Integer as the primart key type and also include following for auto increament field * @ejb.pk class = "java.lang.Integer" @jboss.unknown-pk class = "java.lang.Integer" column-name = "sid" auto-increment = "true" sql-type = "INT(11)"

[JBoss-user] [EJB/JBoss] - problem with findAll inside a Stateless

2004-09-01 Thread iliev
Hi, i've a simple EJB without local interfaces. The method findByPrimaryKey works fine But the findAll method (or another method that return a collection) works ONLY inside a servlet, not inside a Stateless Session Bean. This is JBoss Log: ---> findAll in a servlet (it works): 10:47:29,366 DEBU

  1   2   >