[JBoss-user] [JBossCache] - Re: Problems with Optimistic Locking in 1.2.4 FINAL

2005-11-02 Thread rino_salvade
I do think the performing retries automatically, i.e. as part of the API, can lead to some strange effects. The reason that the optimistic locking fails is normally that someone else has modified the node in the meantime. Since the node contains data that is relevant to the application, the appl

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-02 Thread koba
Thanx for point me. Now all work! Now I see that jboss-portal-2.2 doesn't work on jboss server installed from jboss-4.0.3SP1-installer.jar and all ok on jboss server unpacked from jboss-4.0.3SP1.zip. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905077#

[JBoss-user] [Security & JAAS/JBoss] - SSL & Diffie-Hellman

2005-11-02 Thread rino_salvade
Hello I have a short question about the SSL configuration within JBoss. The samples show the configuration with a keystore that contains self signed certificates based on RSA key exchange algorithm. To my knowledge SSLv3 supports as well Diffie-Hellman key exchange algorithm which requires no ce

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Reentrant method call detected

2005-11-02 Thread Moomin_ST
Hi all, I have an old project using jboss 3.0.4 and cmp. Recently, I encounter reentrant problem on several CMP Bean. I am thinking about the cause of this problem. Is this problem caused by performance de-grade due to grow in data size? anyone have idea? Thanks and Regards, Moomin ---

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss service in linux not working correctly

2005-11-02 Thread frannack
Hi, I didn't check if it's working, because I cannot even run JBoss on my linux machine. So you can check this site: http://www.opencrx.org/opencrx/1.7/JBoss-4/html/c382.htm maybe it will help. How did you make it run under linux. I'm using the same version as you do. I used the installer jar a

[JBoss-user] [Management, JMX/JBoss] - Re: JNI, System.loadLibrary() and class loader interactions

2005-11-02 Thread bhandsaker
Here's what we're doing. Basically you need to touch the class to force it to be loaded in the thread that initializes the MBean. The AHelpers.loadGCOSLibraries method is called from the MBean. Then we touch one class from each jar file that references native methods. Once the jar file is bound

[JBoss-user] [JBoss Portal] - Re: Does jboss-portal 2.0 support LDAP?

2005-11-02 Thread [EMAIL PROTECTED]
I think I need to ask Patrick because he did not sign any agreement and the code is his property. Send me your mail address and I will ask him to send you this code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905051#3905051 Reply to the post : http://ww

[JBoss-user] [EJB/JBoss] - Re: setRollbackOnly problem

2005-11-02 Thread eldavio
Hi Scott thanks for the reply. Your right in my described example I could perform setRollbackonly() after I access the entity bean to get around the issue. But this is not the only place I may want to access business functions. I actually catch this exception further up stream, to throw a new app

[JBoss-user] [JBoss Portal] - Re: Does jboss-portal 2.0 support LDAP?

2005-11-02 Thread rincewind23
I'd also be interested in seeing this code - I'd like to see if I can get it working against Novell's eDirectory. Cheers, KEv. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905048#3905048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-11-02 Thread jbossChecker
Thanx again. Aufwiederschreiben! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905039#3905039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905039 --- SF.Net ema

[JBoss-user] [JBossCache] - Re: Logs are flooded with RpcDispatcher Exceptions

2005-11-02 Thread sreepraveen_2000
sorry the configuration file did not come through jboss:service=Naming jboss:service=TransactionManager REPEATABLE_READ REPL_SYNC NAMEXXX

[JBoss-user] [JBossCache] - Logs are flooded with RpcDispatcher Exceptions

2005-11-02 Thread sreepraveen_2000
we are using jboss treecache with hibernate 3.0, It is used as a distributed cache for different containers on same box. It continuously throws java.io.NotSerializableException; obviously the class in picture does not implement serializable. [RpcDispatcher]{17} exception=java.io.NotSerializabl

[JBoss-user] [JBossCache] - Re: Logs are flooded with RpcDispatcher Exceptions

2005-11-02 Thread sreepraveen_2000
PostPosted: Wed Nov 2, 2005 18:44 PMPost subject: Re: Logs are flooded with RpcDispatcher Exceptions sorry the configuration file did not come through | | | | | jboss:service=Naming | jboss:service=TransactionManager | | REPEATAB

[JBoss-user] [Microcontainer] - Re: How to access beans created by the bootstrap

2005-11-02 Thread [EMAIL PROTECTED]
That unit test helper class with examples will be included in the next (1.0.2 - still unscheduled) release of the microcontainer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905033#3905033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[JBoss-user] [Beginners Corner] - Re: whats wrong?

2005-11-02 Thread darranl
Your jar is called PsEJB.jar not Ps.jar so update the application.xml to: - | PsEJB.jar | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905032#3905032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905032 --

[JBoss-user] [Beginners Corner] - jboss 4.0.3SP1 - j2ee tutorial

2005-11-02 Thread hasdy
Hi all, I'm trying to follow the tutorial that is supplied with jboss. I'm at the point where I'd like to compile the Dukes Bank. So when I go ahead and ant -f jboss-build.xml compile. i get the error that jboss-net.sar cannot be found. And it's true I can't find it. Do I have to ins

[JBoss-user] [Microcontainer] - Re: How to access beans created by the bootstrap

2005-11-02 Thread [EMAIL PROTECTED]
"belaran" wrote : | However, while doing my research an Spring and Hivemind, i found a lot of critics against the use of JNDI locator, which tends to tie the webApp to the locator, making portability and unit test not simple [ that is what i read,not an opinion ]. | So let's rephrase it -

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss JMSReplyTo Not Sending to Specified Queue

2005-11-02 Thread hacurtis
I'm not certain this is particular issue with JBoss, but I seem to be having trouble responding to the Destination specified in the Message.getJMSReplyTo() I have a small test case where a message is sent on queue/D and there is another listener class receiving the onMessage(). Inside the

[JBoss-user] [JCA/JBoss] - Adding 'x' to Beginning of Table Names

2005-11-02 Thread degriffing
I am attempting to upgrade deployed application from JBoss 3.2.3 to 3.2.7. I am using MySQL 4.1.14. JBoss starts up fine. However, when it accesses the database, an 'x' has been added to the beginning of the table name. Can someone please point me in the proper direction to stop the behavior

[JBoss-user] [Installation, Configuration & Deployment] - JBoss service in linux not working correctly

2005-11-02 Thread fmaredia
I have JBoss 4.0.3RC1 (I know I should be using the new version, but thats another story) configured on Redhat. I wanted to have JBoss as a service so I did everything the wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=StartJBossOnBootWithLinux) had asked me to. I did not get any errors eithe

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: NoSuchObjectLocalException: Entity not found: primaryKey

2005-11-02 Thread Bitman
Found my own answer: Foreign keys need to be nullable. JBoss considers zero a valid primary key, while 'null' means 'no relation here'. So if the foreign key field is a Java long (little L), the default value will be zero, and will crash. If it's a Long (big L), the default value is null, an

[JBoss-user] [Beginners Corner] - Re: whats wrong?

2005-11-02 Thread dargoth
output: META-INF/ META-INF/MANIFEST.MF Ps.war PsEJB.jar META-INF/application.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905015#3905015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905015 ---

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Apache Portable Runtime Startup Error/Advice

2005-11-02 Thread andrepintorj
I found a solution for this problem, I was having the same problem as you did. You must download a dll file and save it on your bin folder of the Java SDK folder. The dll file can be found here: http://tomcat.heanet.ie/native/1.1.0/binaries/win32/tcnative-1.dll The full explanation can be found a

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Standalone Client (POJO)

2005-11-02 Thread shaffin
What about creating a standalone jms client application? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905011#3905011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905011

[JBoss-user] [EJB/JBoss] - Re: A cmr collection may be used only in the transaction in

2005-11-02 Thread lafr
As the message says, you'll have to iterate over the collection of entities in the same transaction as the the collection was retrieved. So do this in an SessionBean's method with transaction attribute Required e.g. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[JBoss-user] [JCA/JBoss] - Jboss 3.2.7 allocation 1 connection at a time...

2005-11-02 Thread cob_cadbury
JBoss 3.2.7 seems to be allocating just 1 connection at a time. We have set min-pool-size to 10 and max-pool-size to 100. JBoss is allocating 1 connection and destroying the first one when allocating a new connection. Any words of wisdom on this ? Thanks, Cob View the original post : http:/

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMP and Transactions

2005-11-02 Thread lafr
I would not expect this. Because all beans but SessionBeanA have Transaction attribute set to Required they should run in the same db session. So the newly created record should be seen by the finder. When a finder is executed, all "dirty" EntityBeans are flushed to the database. View the origin

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Error while trying to connect to a Oracle DB schema

2005-11-02 Thread lafr
Look at http://jira.jboss.org/jira/browse/JBAS-781 to see a work around for this problem. It is supposed to be fixed in JBoss 4.0.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905004#3905004 Reply to the post : http://www.jboss.com/index.html?module=bb&

[JBoss-user] [JBossCache] - Re: JBoss Cache using Multicast.

2005-11-02 Thread kbisla
So here's whats happening. Tree cache is running happily on jboss server, on turning the debug on it prints all the _put to the cache. But the client cannot receive any cache updates (actually it does briefly some times upto a few minutes and then never hears anything again). I suspect the tre

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-02 Thread jlaskowski
Hi, Hmmm, that's really strange. Although I could simply say there's an issue on Linux Fedora Core (dunks' setup), but koba seems to have the issue on Windows, too. I can however see a difference between the configuration of mine and koba's. Is there a reason that you've installed JBAS using th

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jboss messaging

2005-11-02 Thread [EMAIL PROTECTED]
Moved your topic to the appropriate forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904992#3904992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904992 --- S

[JBoss-user] [EJB/JBoss] - JBoss MDB to Webshpere MQSeries

2005-11-02 Thread jboss_mq
We have an MDB listening on MQSeries queue. Everything is fine until after the MDB does not receive any message for about two hours. At that time, the MDB simply stops working. It has to be redeployed. Is there a JBoss setting to prevent this? Thanks! View the original post : http://www.jboss.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS persistent store getting too big

2005-11-02 Thread genman
JBoss has an inherit problem where if you restart the server with too many messages in the DB (does not matter which one) it won't come up. (You get out of memory errors.) There was a patch for this (lazy-loading queues) but had some flaws. * Set the queue size to a maximum (no. of messages,

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Standalone Client (POJO)

2005-11-02 Thread genman
Use a MDB that consumes and adds the messages using a single atomic transaction. (Probably a singleton MDB would be faster than pooled instances, not sure.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904986#3904986 Reply to the post : http://www.jboss

[JBoss-user] [Beginners Corner] - Re: can not load class

2005-11-02 Thread Smilidon
nobody? pleeaaase! if a class in a jar that is placed in my jboss/server/default/lib-directory tries to load a class dynamic, where is it looking? please tell me... thanks smilidon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904984#3904984 Reply to the p

[JBoss-user] [Beginners Corner] - Re: java.lang.OutOfMemoryError: PermGen space

2005-11-02 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=PermanentGeneration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904983#3904983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904983

[JBoss-user] [Beginners Corner] - java.lang.OutOfMemoryError: PermGen space

2005-11-02 Thread javatwo
java.lang.OutOfMemoryError: PermGen space but the system has a lots of physical memory available, the JVM have not reach its max memory limit. The exception occurs after several application exceptions. Is this a bug? I am using 4.0.3SP1. View the original post : http://www.jboss.com/index.htm

[JBoss-user] [EJB/JBoss] - CMP Table creation error

2005-11-02 Thread javaLen
I am new to ejb's and jboss which really complicates things for me. I am trying to deploy a cmp application but recieve a sql exception. Error: Caused by: java.sql.SQLException: Unexpected token: ) in statement [CREATE TABLE CUSTOMEREJB (name VARCHAR(256), birthdate TIMESTAMP, sssNo VARCHAR(256

[JBoss-user] [Installation, Configuration & Deployment] - XIndice deployment in JBoss 4.02

2005-11-02 Thread dvohra09
Deployed Xindice web application in JBoss. Xindice server gets started. db database gets opened. An exception is produced with xindice lc -c xmldb:xindice://localhost:8080/db Cannot communicate with the server http://localhost:8080/xindice/ View the original post : http://www.jboss.com/index.ht

[JBoss-user] [Security & JAAS/JBoss] - Re: Login Modules and Realm

2005-11-02 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapExtLoginModule http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapLoginModule View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904968#3904968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Messaging, JMS & JBossMQ] - Standalone Client (POJO)

2005-11-02 Thread shaffin
Hello, I have a requirement to create a Message Bridge Adapter between WebLogic JMS and JBossMQ. The need is to create a java client applictaion that will bind to both JMS servers and bridge messages with some message transaformations that need to take place. Anyone have any pointer to addres

[JBoss-user] [JBoss Portal] - Portal goal?

2005-11-02 Thread lnuxguy
I'm researching deploying a portal for several hundred users to log into and access various content. I would LOVE to use Jboss Portal, since it's a EJB-based solution, but I'm having trouble understanding what it is supposed to provide. I understand the concept of a framework, and have used se

[JBoss-user] [Installation, Configuration & Deployment] - Class Loading problem with EJB 2

2005-11-02 Thread patricegagnon
JBoss 4.0.3 JDK 1.4.2_08 EJB 2 I am currently experiencing some difficulties with the JBoss 4 class loader. We use xDoclet to generate Util class to help us lookup RemoteHome interfaces. Here is an example: private static Object lookupHome(java.util.Hashtable environment, String jndiName, Class

[JBoss-user] [JBossWS] - Client from Amazon Webservices

2005-11-02 Thread BogSolomon
I am using Jboss 4.0.2(tried 4.0.3 also) with the JbossWS package. I am trying to create a client that would connect to the Amazon webservice. For that I have obtained the wsdl, used wscompile to generate the classes and the mapping. I have then created a web.xml, jboss-web.xml, a small jsp page

[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke bank on Jboss-4.0.2

2005-11-02 Thread dferquian
I am trying to run the Bank application in JBoss 4.0.2 but when I invoke the application from the browser the application is not found. I followed all the steps sepecified in the Getting Started guide and I did not get any error. However, one thing was weird since I did not get the output that t

[JBoss-user] [Installation, Configuration & Deployment] - Re: Dependency between XMBean and Datasource

2005-11-02 Thread sxgray
In case you're still having problems, a more direct answer... http://wiki.jboss.org/wiki/Wiki.jsp?page=DependOnDataSource When moving to JBoss 4.0.3 from 3.2.6, I had to add the DataSourceBinding dependency. With 3.2.6, I had just the LocalTxCM dependency. jboss.jca:service=DataSourceBinding,na

[JBoss-user] [Management, JMX/JBoss] - Re: JNI, System.loadLibrary() and class loader interactions

2005-11-02 Thread ckreps
Thanks bhandsaker...this is probably the solution to my problem. If you have any example code of just how you are doing the ClassLoading from the MBean could you post it? Would help me get started. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904955#39049

[JBoss-user] [JBoss Getting Started Documentation] - Re: dukebank with HSQL

2005-11-02 Thread dferquian
I am getting the same problem as chwang. This is how my hsqldb-ds.xml file looks like: DefaultDS jdbc:hsqldb:hsql://localhost:1701 org.hsqldb.jdbcDriver sa 5

[JBoss-user] [Security & JAAS/JBoss] - Re: SecurityAssociation.getSubject()=null after moving from

2005-11-02 Thread [EMAIL PROTECTED]
"SecurityAssociation Changes" http://wiki.jboss.org/wiki/Wiki.jsp?page=402UpgradeIssues View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904944#3904944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904944

[JBoss-user] [Management, JMX/JBoss] - Re: how to get JBossMX's RelationService

2005-11-02 Thread [EMAIL PROTECTED]
You can't when running under jdk1.5 as the RelationService is not a pluggable implementation detail. As far as i can see the extension mechanism does not apply to the jmx classes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904942#3904942 Reply to the po

[JBoss-user] [JNDI/Naming/Network] - Re: JBoss 4.0 JNDI from standalone program

2005-11-02 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClusteringFAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904938#3904938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904938 --

[JBoss-user] [Security & JAAS/JBoss] - Netware integrated authentication on JBoss

2005-11-02 Thread teeba
Hi, Not sure how to ask this question, but I'm trying to figure out how I can setup my web app to access the principal I'm logged in to Novell Netware with so that I can access my Netware user-id in the web application and use it for further processing there. I don't want the web application t

[JBoss-user] [Installation, Configuration & Deployment] - Re: jboss 4.0.2 port usage. which ones can I shut down?

2005-11-02 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904940#3904940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904940 ---

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Intermittent TransactionRollbackLocalExceptions

2005-11-02 Thread darretta
Sorry for the late response, dragon_jdh. I have not been monitoring this list There is nothing magical about the resolution. Essentially, we create beans that represent a user request to add or delete an entity in the system. If an administrator approves the add/delete, then the actual enti

[JBoss-user] [JCA/JBoss] - Re: Does jboss reconnect to the database automatically.

2005-11-02 Thread [EMAIL PROTECTED]
See the following: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCADatabaseFailover View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904936#3904936 Reply to the post : http://www.jboss.com/index.html

[JBoss-user] [EJB/JBoss] - Re: setRollbackOnly problem

2005-11-02 Thread [EMAIL PROTECTED]
The ejb spec does not indicate whether or not any additional work can be performed in the essentially invalidate transaction, but its somehwat implied that once setRollbackOnly is called the business method work should be completed: anonymous wrote : | 17.3.4.2 javax.ejb.EJBContext.setRollba

[JBoss-user] [Management, JMX/JBoss] - Re: how to get JBossMX's RelationService

2005-11-02 Thread JimDaues
I should also add that this code worked in JBoss 3.22 with Java 1.4.2 where there was no Sun RI in the environment, so I'm confident I am adding the relationship correctly, if I could get the right class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904934#39

[JBoss-user] [Beginners Corner] - Re: jboss messaging

2005-11-02 Thread [EMAIL PROTECTED]
Thanks for trying out an alpha. JBoss 5.0.0 alpha is actually the repository head. I doubt there is a standalone JBoss 5.0.0 alpha release. In order to try it with the head, you will have to check it out from CVS and build it. However, it should work in JBoss 4.0.x. I will take a look to see w

[JBoss-user] [Management, JMX/JBoss] - Re: MBeans and Classloading

2005-11-02 Thread tolukemi
Thank you for your reply. We've gone through these pages before as well as the Application Server Guide and configured our deployment so that both the ear and war have scoped loader-repositories. However when we attempt to invoke a method on an ejb deployed in the ear from an MBean deployed in t

[JBoss-user] [JCA/JBoss] - Re: question on effect of various empty elements in -ds.xml

2005-11-02 Thread [EMAIL PROTECTED]
Thanks, for the clarification. Turning on debug logging for RARDeployment and using the following -ds.xml | | | test_xa | org.hsqldb.jdbcDriver | | | | | | | gave 2005-11-02 10:29:04,463 DEBUG [org.jboss.resource.connectio

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-11-02 Thread heinz500
Hello all, I had the same missing-datasource-problem due to the incorrect entry in hsqldb-ds.xml file. After I fixed it, the deployment of the bank ear file worked. But I still got some errors. Here is a part of the log file: | 2005-11-02 17:04:54,613 ERROR [org.jboss.ejb.EntityContainer] S

[JBoss-user] [EJB/JBoss] - Re: Problem with JBoss 4.0.3

2005-11-02 Thread [EMAIL PROTECTED]
The call-by-value settings disable any optimization attempts. The various class loading configurations map as described in the following class loading links. If these do not describe why there are class cast issues describe why. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases

[JBoss-user] [Installation, Configuration & Deployment] - Placement of properties files in Enterprise Archive

2005-11-02 Thread jrjarrett
I'm trying to test out porting a pretty simple EAR from WebLogic to JBoss. I have an EJB JAR, a bunch of "library" JARs (like Quartz), and a WAR. In WebLogic, putting things like the quartz.properties, or my own app's .properties file in /APP-INF/classes made them available, and I understand th

[JBoss-user] [Beginners Corner] - Re: whats wrong?

2005-11-02 Thread jaikiran
"dargoth" wrote : | | Ps.jar | | This tells the deployer that there is a jar file directly under Ps.ear by the name Ps.jar, and it contains EJBs. So, your Ps.ear should contain Ps.jar inside it. Please, run the following command from the command prompt and post the output: jar -tf Ps

[JBoss-user] [Beginners Corner] - Re: Path to Server Root

2005-11-02 Thread Pv2005
"utjazz" wrote : You could create an emtpy file: | | try{ | File nf = new File("infilename.xml"); | FileWriter fw = new FileWriter(nf); | | fw.write("where am i"); | fw.close();

[JBoss-user] [Installation, Configuration & Deployment] - jboss 4.0.2 port usage. which ones can I shut down?

2005-11-02 Thread guoyong
I am trying to analyze the ports opened by the jboss 4.0.2 default configuration. This is what I understand so far: There are 6 ports open in the default configuration, besides the HTTP/AJP connectors: 1098: the rmi port used by the NamingService to host the NamingServer object. 1099: the serv

[JBoss-user] [Security & JAAS/JBoss] - Re: 1.21 Change in UsernamePasswordLoginModule breaks existi

2005-11-02 Thread [EMAIL PROTECTED]
Create a bug report in jira http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904918#3904918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904918 -

[JBoss-user] [Security & JAAS/JBoss] - Re: Apache authentication with JBoss authorisation

2005-11-02 Thread [EMAIL PROTECTED]
Create a feature request describing the current integration point definicies. Method that are private are those that have not been sufficiently vetted as public integration points we are willing to support. http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.com/i

[JBoss-user] [Management, JMX/JBoss] - how to get JBossMX's RelationService

2005-11-02 Thread JimDaues
I realize this may be more of a ClassLoader question, but how can I get an instance of the JBossMX RelationService and not the Sun Ref Impl version? I am using JBoss 4.03 with Java 1.5.0-05. I get the following traceback when attempting to add a relationship via RelationService. 2005-11-02 10:0

[JBoss-user] [Installation, Configuration & Deployment] - Re: Integrating iis and jboss

2005-11-02 Thread tmano
Solved the problem and updated the page http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBossAndIIS Hope to help somebody View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904908#3904908 Reply to the post : http://www.jboss.com/index.html?module=bb&

[JBoss-user] [Beginners Corner] - Re: JBossIDE Trail - How do I package and deploy the client

2005-11-02 Thread guitoon
I've got a problem similar to yours. I did the tutorial and by following it step by step, I ran my own application with a servlet. What i wanna do now is replacing the doPost method of the servlet by a "main" in a regular client, in which i could all the business methods. How can i do that ? Wha

[JBoss-user] [JCA/JBoss] - Re: question on effect of various empty elements in -ds.xml

2005-11-02 Thread [EMAIL PROTECTED]
Ok. So I was wrong as well, you should have a debug message: org.jboss.resource.connectionmanager.RARDeployment | protected void setMcfProperties(Collection properties, boolean mustExist) throws DeploymentException |{ | for (Iterator i = properties.iterator(); i.hasNext();) |

[JBoss-user] [JNDI/Naming/Network] - StreamCorruptedException: unexpected block data on simple JN

2005-11-02 Thread myawn
I have the same issue described by the original post (which doesn't seem to have garnered any replies) Here is a complete program which exhibits the error: | public class EJB30Client { | | public static void main(String[] args) throws Exception { | | |

[JBoss-user] [Security & JAAS/JBoss] - SecurityAssociation.getSubject()=null after moving from 3.2.

2005-11-02 Thread bennybechdk
I am testing a project on Jboss 4.0.3sp1, that currently runs ok on jboss 3.2.6 The problem is that SecurityAssociation.getSubject() returns null in a stateless ejb when running on jboss 4.0.3 sp1. I am runing without a securitymanager. I think the problem is the changes in the 1.52 (1.46.4.7) r

[JBoss-user] [Microcontainer] - Can't get mcdeploy tutorial working

2005-11-02 Thread nate_s_
When I try to run the mcdeploy tutorial at http://docs.jboss.org/ejb3/embedded/embedded-tutorial/microcontainer-deployment/, I get an error message on the lines: EJB3StandaloneBootstrap.boot(null); | EJB3StandaloneBootstrap.deployXmlResource("ejb3-deployment.xml"); in Main.java. The error is

[JBoss-user] [JBossWS] - WebServices delays

2005-11-02 Thread auroracoh
Hi, We are considering whether to incorporate JBOSS into our product to deploy WebService applications and clients. Our applications are somewhat real time sensitive. We wanted to measure how long would it take JBOSS to deliver a WS request to the application code that needs to process it.

[JBoss-user] [EJB/JBoss] - Re: Cannot access EJB from war inside container

2005-11-02 Thread erik777
Turns out the solution is same as for http://www.jboss.com/index.html?module=bb&op=viewtopic&t=71090 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904894#3904894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904894

[JBoss-user] [EJB/JBoss] - Re: Problem with JBoss 4.0.3

2005-11-02 Thread erik777
LOL! That's what I discovered yesterday. I can definately confirm it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904893#3904893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904893 -

[JBoss-user] [Messaging, JMS & JBossMQ] - scaling of MDB instance pools

2005-11-02 Thread akaladhar
Hi, I am new to JMS part of J2EE. I tried to connect Websphere MQ from MDB in Jboss 4. It worked fine. I could read messages from Websphere MQ queue. The problem occured when I increased MDB instance pool to 100. I made these change in jboss.xml | | wsmq-message-driven-bean

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-02 Thread koba
Hi. I use Windows XP, JBoss 4.0.3SP1 binary (innstalled as 'default' profile), jdk 1.5.0_04, today cvs checkout. I try to do all like jlaskowski say and have errors like Dunks describe too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904879#3904879 Re

[JBoss-user] [JBossCache] - Re: Replicated caches with each node having its own store

2005-11-02 Thread jiwils
I was not trying to suggest you set the CacheLoaderShared attribute to true. I was only asking how it was set in your case given the observed behavior. If you have set CacheLoaderShared to false, that, at least, would seem to be correct. I have used independant cache loaders like this before,

[JBoss-user] [JCA/JBoss] - Re: Does jboss reconnect to the database automatically.

2005-11-02 Thread java123
I have the same issue. It looks like JBoss Datasource is not establishing DB connection after DB restart. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904877#3904877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904

[JBoss-user] [Messaging, JMS & JBossMQ] - Artificially delaying messages

2005-11-02 Thread hargitt
Hi, We would like to delay queue messages by about 2-3 seconds so that our listner is only delivered the message after this "artificial delay". The external systems that provide messages that we in turn insert into a queue can not handle such a quick reply to a message. With out having to ch

[JBoss-user] [Management, JMX/JBoss] - Re: JNI, System.loadLibrary() and class loader interactions

2005-11-02 Thread bhandsaker
I was on the right track in what I wrote above. I finally found the following reference in the JNI spec (http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/design.html): anonymous wrote :"The programmer may use a single library to store all the native methods | needed by any number of

[JBoss-user] [Installation, Configuration & Deployment] - Re: How to turn off XML validation of Spring documents on 4.

2005-11-02 Thread anyzarg
Hi, was there any response received or in the meanwhile somebody has found a solution? I'm asking, because whe have exactly the same problem. Olaf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904872#3904872 Reply to the post : http://www.jboss.com/index

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-02 Thread dunks
I'm on Fedora Core 4, fresh JBoss 4.0.3SP1 binary, jdk 1.5.0_04... Followed these directions exactly... anonymous wrote : | 1. Installed JBAS 4.0.3SP1 (binary distro) | 2. Copied server/default to server/portal to be able to wipe it out easily and not clattering the default directory | 3.

[JBoss-user] [JBoss Portal] - Re: How can I customize the portal login page?

2005-11-02 Thread bsmithjj
Actually, you want to edit: jboss-portal.sar\portal-server.war\login.jsp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904868#3904868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904868 -

[JBoss-user] [Installation, Configuration & Deployment] - Migrating from 2.4.10 to 4.0.3 and sendRedirect URL pattern

2005-11-02 Thread ront168
I am migrating an application from JBoss 2.4.10 Tomcat 4.0.6 to JBoss 4.0.3 (Tomcat 5.5). The application login process, after performing a security check, routes to index.jsp which is: <[EMAIL PROTECTED] autoFlush="false" buffer="5kb"%> <% response.sendRedirect( "http://"; + r

[JBoss-user] [Beginners Corner] - jboss messaging

2005-11-02 Thread aioaneid
I'm having trouble installing JBossMessaging-1.0.0alpha-pr2. The readme file says it's compatible with JBoss 5.0.0alpha. Where can I find JBoss 5.0.0alpha ? I tried to copy jboss-messaging.sar to jboss-4.0.3/server/default/deploy but it logs some errors: 18:49:20,290 WARN [ServiceController] P

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-02 Thread jlaskowski
Hi, "koba" wrote : What I do: | | 1. Install clear jboss-4.0.3SP1 | 2. Checkout today version of portal from cvs. | 3. Set JBOSS_HOME | 4. Use command 'set ANT_OPTS=-Xmx500M' | 5. Use command 'ant deploy' in /build dir -> got BUILD SUCCESSFUL | 6. Copy portal-hsqldb-ds.xml from '...

[JBoss-user] [JBoss Portal] - Re: Closing hibernate sessions

2005-11-02 Thread [EMAIL PROTECTED]
indeed JBoss Portal takes care of closing the session when the request is finished and the session must be closed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904862#3904862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[JBoss-user] [JBoss Portal] - Closing hibernate sessions

2005-11-02 Thread martingi
Hello, I have a question concerning hibernate with the portal. For my application I followed http://docs.jboss.org/jbossas/getting_started/v4/html/hibernate.html and deploy the mappings inside a *.har, which is inside an *.ear - no problem. To get the Session I'm using JBP code from org.jboss.

[JBoss-user] [Beginners Corner] - Re: whats wrong?

2005-11-02 Thread dargoth
in post above some code was cut dun know why... anonymous wrote : | http://java.sun.com/dtd/application_1_3.dtd";> | | Ps Application | | | Ps.jar | | | | | Ps.war | /Ps |

[JBoss-user] [Beginners Corner] - Re: whats wrong?

2005-11-02 Thread dargoth
my aplication.xml is under Ps/metadata/ear anonymous wrote : | http://java.sun.com/dtd/application_1_3.dtd";> | | Ps Application | | | Ps.jar | | | | | Ps.war | /Ps |

[JBoss-user] [Installation, Configuration & Deployment] - Re: 3.2.5 MS-SQL Problems on Fedora

2005-11-02 Thread eet_kreef
Right, the problem becomes even stranger. I have created a JSP page which looks up the datasource and connection. Using this connection I insert and query the database. This works fine. Running the same code inside the application again returns the "Invalid object name" exception. How in the

[JBoss-user] [Beginners Corner] - Re: whats wrong?

2005-11-02 Thread dargoth
| http://java.sun.com/dtd/application_1_3.dtd";> | | Ps Application | | | Ps.jar | | | | | Ps.war | /Ps | | | | dont know why it is happening.. if

[JBoss-user] [EJB/JBoss] - Re: setRollbackOnly problem

2005-11-02 Thread eldavio
Just wondering, if any of the JBoss team are monitoring, should I add this into JIRA to escalate the problem ? Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904848#3904848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[JBoss-user] [EJB/JBoss] - Re: Problem with JBoss 4.0.3

2005-11-02 Thread giordano
Dear all, until JBoss-4.0.1SP1 release the UseJBossWebLoader flag was set to true by default and all worked fine. Starting from JBoss-4.0.2 release the UseJBossWebLoader flag is set to false by default. I set it to true and all works fine! Bye, Giordano View the original post : http://www.jb

[JBoss-user] [Security & JAAS/JBoss] - 1.21 Change in UsernamePasswordLoginModule breaks existing c

2005-11-02 Thread bennybechdk
The 1.21 change: from: protected String createPasswordHash(String username, String password) to: protected String createPasswordHash(String username, String password, String digestOption) breaks existing code if subclassing overrides the method ("to provide customized password hashing" as sta

[JBoss-user] [Microcontainer] - Re: How to access beans created by the bootstrap

2005-11-02 Thread belaran
First of all, thanks you Adrian for all your response. Sorry I didn't reply sooner. About doing a Spring facade, i believe that will be a great idea but I don"t know if I got what it's take to do it. I'm still pretty new to all this and the person(s) doing this job should be very good with both

  1   2   >