[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss ignores datasource directive in jbosscmp-jdbc.xml

2004-08-18 Thread sbrbot
Post what is your datasource configuration (deployment) file of datasource (*-ds.xml). It has to contain definition for two databases or you must have separate datasource configuration file for each database. Then in your JBoss deployment descriptor file you're able to define for each EJB which

[JBoss-user] [Installation & Configuration] - Re: JBoss, Hibernate, JDBC, hotdeploy causes error

2004-08-18 Thread forhead
Here is stack trace: LocalManagedConnectionFactory.createManagedConnection crashes at line 160. 09:15:50,995 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.l

[JBoss-user] [Persistence & CMP/JBoss] - Re: DB-Independent configuration

2004-08-18 Thread loubyansky
I agree it's a problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845549#3845549 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845549 --- SF.Net email is spons

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR with entity beans in different databases?

2004-08-18 Thread loubyansky
Yes, or don't use CMR. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845548#3845548 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845548 --- SF.Net email is sponso

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

2004-08-18 Thread kpraveena
Hi Vishal, I am unable to deploy the mybank bean in chapter 1...error are..0:57:40,436 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packag

[JBoss-user] [Clustering/JBoss] - Jboss Clustering :: Session Replication Issue

2004-08-18 Thread nileshpp
Hi, We are using JBoss 3.2.3 and we are trying to use clustering feature. We are using apache + mod JK2 for load balancing. We have set up Jboss on 2 windows NT servers in local lan. We have not configured Jboss for sticky session. We found some issue while testing session replication, Case1: 1.

[JBoss-user] [Clustering/JBoss] - Re: Message Driven Beans- Is the Clustering support avalilab

2004-08-18 Thread scsbatu
Thax Madu, Now I have a new problem, when I when i put the new queue in to the farm folder it gives and error. MBeans waiting for other MBeans: ObjectName: jboss.j2ee:jndiName=local/SimpleJMS2_SimpleWebService,plugin=pool,service=EJB state: DESTROYED I Depend On: Depends On Me: ObjectName: j

[JBoss-user] [JBoss Getting Started Documentation] - Re: Newbie: how do i

2004-08-18 Thread ryan48sg
thanks darranl, yes, it was the run command i was stuck with. Combination of my stupidity and the file name 'run.bat' led to confusion. Thanks for the quick reply Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845541#3845541 Reply to the post : ht

[JBoss-user] [JBoss Getting Started Documentation] - Installing a single JSP page

2004-08-18 Thread hemanthkv
Hi All: I am a newbeee to Jboss.How do I install a single JSp page in JBoss 3.2.2 ?? Thanks vhk View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845538#3845538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845538 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XAConnectionFactory not bound

2004-08-18 Thread oz_ko
You need to supply a little more information: jboss version platform jdk version? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845537#3845537 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845537 --

[JBoss-user] [Clustering/JBoss] - Re: Http session replication not happening in clustered envi

2004-08-18 Thread dukehoops
your session id string appears garbled. i'm currently having the same problem and i wonder whether that contributes to broken session replication. Seems to me, the session id is garbled because jboss (tomcat?) uses incorrect locale. I'm pretty confident that once you get the session id to appear

[JBoss-user] [Security & JAAS/JBoss] - Re: where is org.jboss.security.auth.spi.DatabaseServerLogin

2004-08-18 Thread ltcmelo
found it! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845531#3845531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845531 --- SF.Net email is sponsored by Shop4t

[JBoss-user] [Installation & Configuration] - Re: how to specified the application path in jboss-3.2.5

2004-08-18 Thread nischalsharma
hi friend I find the solution of myself. In boss-3.2.5\server\default\conf ,u will find the jboss-server.xml here u will find the tag deploy/ now change the path in this tag View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845390#3

[JBoss-user] [Installation & Configuration] - Re: LocalStrings resource not found in jboss 4.0 rc1

2004-08-18 Thread dukehoops
update: ok seems like copying LocalStrings.properties from a tomcat50-service.jar file in jbossweb-tomcat50.sar and adding it to my .war eliminated "resource not found". note, that i had to create a org.jboss.web.tomcat.session package in my war and place LocalStrings there. Please note that pa

[JBoss-user] [Installation & Configuration] - Re: hot redeploy ear ClassCastException

2004-08-18 Thread StanAccy
Which fix are you referring to? Ive just looked at the changelog for 3.2.6 RC1 and didnt see anything related. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845376#3845376 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Installation & Configuration] - Re: Run JBoss as a Windows Service

2004-08-18 Thread p_saville
Could someone please let us know if a new download link is available yet? Thanks, Philip View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845382#3845382 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845382 --

[JBoss-user] [Security & JAAS/JBoss] - where is org.jboss.security.auth.spi.DatabaseServerLoginModu

2004-08-18 Thread ltcmelo
I found this class in JBoss source. I'm also using it in my auth.conf file example2 { org.jboss.security.auth.spi.DatabaseServerLoginModule required dsJndiName="java:/DefaultDS" principalsQuery="Select Password from Principals where PrincipalID =?" rolesQuery="Select Role 'Roles', RoleGroup 'Role

[JBoss-user] [Security & JAAS/JBoss] - JBoss JAAS x Tomcat's

2004-08-18 Thread ltcmelo
I heard that JBoss' JAAS is not propagated to Tomcat (and vice-versa), is that true? If yes, does it mean that if authenticate using JBoss DatabaseServlerLogin for example, i won't be able to use methods such request.isUserInRole() in any servlets?? View the original post : http://www.jboss.org

[JBoss-user] [Installation & Configuration] - LocalStrings resource not found in jboss 4.0 rc1

2004-08-18 Thread dukehoops
Hi, I've deployed a simple distributed .war which has only one jsp page. that page prints out a view counter and session id. whenever this war is deployed at start-up i get the following message: Can't find resource org.jboss.web.tomcat.session.LocalStrings [EMAIL PROTECTED] as the result, th

[JBoss-user] [HTTPD, Servlets & JSP] - can i use properties in web.xml like in jboss-service.xml?

2004-08-18 Thread gudake
e.g. tomcar.sar/server.xml use ${jboss.bind.address} Can I use ${xxx} in a yyy.war/WEB-INF/web.xml? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845525#3845525 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845525

[JBoss-user] [Clustering/JBoss] - Re: Problems with jms-tobic in cluster (ConnectionFactory no

2004-08-18 Thread danielamadei
Hi! Yes, I've got a "workaround" on this. As you can see, this is an expected behaviour since JBoss 3.2.4: http://jboss.org/wiki/Wiki.jsp?page=JBossMQHA On option to make the service "activate" before the servers synchronizes state (wich takes 1 minute to happen after the master node crashes)

[JBoss-user] [HTTPD, Servlets & JSP] - HttpServletRequest.getServerPort() incorrectly returns 80 ?

2004-08-18 Thread danorris
All, I'm using JBoss 3.2.5 in a highly vanilla configuration. Specifically, Tomcat's got an HTTP connector on 8080, and I'm *not* using an AJP connector to tunnel requests through Apache. When I'm in a servlet and I call request.getServerPort(), though, it returns port 80, even though I'm acce

[JBoss-user] [Clustering/JBoss] - Re: Problems with jms-tobic in cluster (ConnectionFactory no

2004-08-18 Thread jasonc
Hi folks, Have you had any resolution on this? We're experiencing the same problem in that our queues depend on the DestinationManager which apparently only starts up on the master node. How are the other nodes in the cluster aware of the various jms-queues if this is the case? I'm convinced

[JBoss-user] [Beginners Corner] - Two applications running at the same time

2004-08-18 Thread alisson
Hi, I have 2 applications running in the same JBoss at the same time. They do not use DataSources, the connections are made directly by JDBC Connection object. The 2 DB used by these 2 applications are identical but separated and running in the same DB Server. The problem is: when I run the tw

[JBoss-user] [Beginners Corner] - Two applications running at the same time

2004-08-18 Thread alisson
Hi, I have 2 applications running in the same JBoss at the same time. They do not use DataSources, the connections are made directly by JDBC Connection object. The 2 DB used by these 2 applications are identical but separated and running in the same DB Server. The problem is: when I run the tw

[JBoss-user] [Installation & Configuration] - Re: Help: JBoss Stops Responding

2004-08-18 Thread spacer
Have you tried sending the "kill -SIGQUIT " to see if it starts responding again without taking the process offline? We've seen a similar issue and this seems to at least restore some functionality. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845519#38455

[JBoss-user] [Persistence & CMP/JBoss] - Re: ParseException when creating CMP tables on 3.2.4RC2 and

2004-08-18 Thread treespace
ORDER is reserved as part of ORDER BY so the error is correct behavior according to JBoss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845483#3845483 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845483

[JBoss-user] [Security & JAAS/JBoss] - SSO in jboss 3.2.5

2004-08-18 Thread colte
Hi all! Can someone please post an example of how the jboss-service.xml file is supposed to look with SSO enabled in jboss 3.2.5? I've managed to do it with jboss 3.2.3, but still no luck with 3.2.5 :( Tia View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38455

[JBoss-user] [Security & JAAS/JBoss] - Submitting a login

2004-08-18 Thread ltcmelo
Hi, suppose i have a simple login page like this one. | | |Name: | |Password: | | | | I got 2 questions: - What is j_security_check??? - If i want a better encryption, do i have to use Https View the original post : http:/

[JBoss-user] [Persistence & CMP/JBoss] - Re: Composite key -CMP Bean

2004-08-18 Thread sbrbot
In composite key class one must have exactly the same names of getters/setters as defined in EJB using this composite PK class. So if your SomeEJB has getId1 and getId2 methods which are mapped on PK fields, then your SomePK must have exactly the same getId1 and getId2 methods! View the origina

[JBoss-user] [JCA/JBoss] - what does that log information mean (no current tx!)?

2004-08-18 Thread davidchen
Hi, there: I have an application to use jboss2.4.8, which keeps getting datasource, dataconnection by calling: DataSource ds = (DataSource)initialContext.lookup("java:/DefaultDS"); and con = ds.getConnection(); It seems that whenever I call it, it gives me the log information like: XAConne

[JBoss-user] [JCA/JBoss] - what does

2004-08-18 Thread davidchen
Hi, there: I have an application to use jboss2.4.8, which keeps getting datasource, dataconnection by calling: DataSource ds = (DataSource)initialContext.lookup("java:/DefaultDS"); and con = ds.getConnection(); It seems that whenever I call it, it gives me the log information like: XAConnectionI

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR with entity beans in different databases?

2004-08-18 Thread noleto
Thank you for the answer! The solution is to use BMP instead of CMP. Isn't it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845504#3845504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845504 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: DB-Independent configuration

2004-08-18 Thread sbrbot
Yes, theoretically specifying database mapping is optional in JBoss deployment descriptor but if you do not specify it, JBoss will take default database mapping from standardjbosscmp-jdbc.xml and it is Hypersonic SQL mapping. So if you do not use Hypersonic DB then practically it is not optional

[JBoss-user] [Beginners Corner] - Deploy EAR with a SAR in it

2004-08-18 Thread stanleytech421
Hi All, I packaged the hibernate service in a SAR, which is then packaged into a EAR with my other WARs and such. When deploying the EAR on jboss, it seems ignore the SAR and did not deploy it. I then found some information about jboss-app.xml, I added it to the ear. But when I deploy it to j

[JBoss-user] [Persistence & CMP/JBoss] - Re: Cascade delete

2004-08-18 Thread sbrbot
I did exactly that. I read your article on WIKI and found how to use . Without this article I wouldn't even know about DD parameter. (BTW, I tried to do some changes on this article but encountered difficulties to submit it. WIKI editor cripled my response! Something is wrong with this WIKI ed

[JBoss-user] [HTTPD, Servlets & JSP] - any caching or copying of libs?

2004-08-18 Thread Tzuriel
Anyone know if JBoss copies libs anywhere's or caches stuff. I'm making changes to my webapp and don't see my changes so I'm wondering if things are being kept around somewheres. I'm running 3.2.3. If so, what's the correct way to clear it out. Thnxs View the original post : http://www.jboss.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key violation - why is child deleted first in 1-

2004-08-18 Thread suzyrizzo
No, I don't have synch-on-commit-only set to true. I'll try to pair down my code to isolate my problem, and submit a bug report for it. I haven't done this before...when you say "bug report" do you mean the bug list on the sourceforge site? View the original post : http://www.jboss.org/index.h

[JBoss-user] [Messaging, JMS & JBossMQ] - XAConnectionFactory not bound

2004-08-18 Thread optimusprime
Hi there! I'm trying to deploy a simple MDB, but I'm getting this error. Here's my deployment descriptors: MailCreatorEJB MailCreator MailCreator mailcreator.MailCreatorBean Container javax.jms.Queue QCF javax.jms.Que

[JBoss-user] [Security & JAAS/JBoss] - Re: CallerIdentityModule Problem: 'invalid argument' ecxepti

2004-08-18 Thread wsnyder6
OK. Almost solved. If I explicitly set the user/pwd in the InitialContext, I can use the datasource. However I thought the purpose of the LoginInitialContext was to use a specifed JAAS realm on the client? I shouldn't have to set the user/pwd in the InitialContext, right? View the original post

[JBoss-user] [Persistence & CMP/JBoss] - Jboss-QL function mapping?

2004-08-18 Thread jbeyer
Examining 'standardjbosscmp-jdbc.xml', I see numerous jboss-ql function -> SQL function mappings such as | | locate | locate(?1,?2) | | Is it possible to extend jboss-ql by adding new entries? Such as: | | month

[JBoss-user] [Beginners Corner] - Re: LDAP Authentication in Jboss

2004-08-18 Thread Haggisman2000
Thanks Elias, I think this is what we're looking for Scotty View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845495#3845495 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845495 ---

[JBoss-user] [Security & JAAS/JBoss] - CallerIdentityModule Problem: 'invalid argument' ecxeption

2004-08-18 Thread wsnyder6
Hello, I have a headache after pouring over the 'howto' and other posts in the forums trying to figure out how to correctly configure our Swing client to pass along login information to JBoss. I am almost there and need someone's help. I keep getting a 'invalid arguments in call' sql exception

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Jboss MQ features

2004-08-18 Thread genman
1. Yes 2. Yes, but not "automatically" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845489#3845489 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845489 --- SF.Ne

[JBoss-user] [Beginners Corner] - LDAP Authentication in Jboss

2004-08-18 Thread Haggisman2000
Howdy, I'm new to JBOSS, we have a need to implement LDAP authentication in Jboss to secure an application (Nesstar). We essentially need to modify the main login module org.jboss.auth.spi.DatabaseServerLoginModule to authenticate the user. Has anyone done such a herculean task yet, or is there

[JBoss-user] [Security & JAAS/JBoss] - Re: Clusters, authenticating proxy and dynamic certificate g

2004-08-18 Thread AlexM
Hello again, In my original posting I overlooked the fact that the server doesn't need to remember the newly generated certificate for the client. It just needs to be able to authenticate the CA for this certificate, which is the server itself. Knowing this simplifies everything. The authentica

[JBoss-user] [Installation & Configuration] - Startup on Linux: Permission problem

2004-08-18 Thread cagreen
Hello, I'm really hoping that someone out there can point me in the right direction on this one. Our server was running fine, we were able to start/stop it without trouble. Then I tried to deploy some new classes which also required an update to jboss-services.xml (I don't deny that I may have

[JBoss-user] [Installation & Configuration] - JBoss, Hibernate, JDBC, hotdeploy causes error

2004-08-18 Thread forhead
Hello Does anyone have any idea why I am getting an error when I hotdeploy to JBoss 3.2.3. This has not happened before. I start JBoss and no error. Then I hotdeploy application to JBoss and then, while hotdeployment goes on, Hibernate tries to create a new connection. And then comes an error t

[JBoss-user] [EJB/JBoss] - Message driven bean and jboss scheduler

2004-08-18 Thread vying
Hi all, I am wondering how to use Jboss scheduler service in MDB,I have a task to get message from MDB clients and process them nightly.How can I achieve this by using Jboss scheduler?Since the onMessage() is called my JMS container and perform() is called by jboss MBean server when time o

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

2004-08-18 Thread jsoup
Hi Vishal, I am on chapter1 of the tutorial. I am using Eclipse3.0, Lomboz3cr23, Jboss-3.2.5. Everthing worked fine until deployment of EJBs. But when I get to creation of Test Client, it gives me 'INvalid Thread Access' error. The log shows the folloeing error: java.lang.Exception: New line d

[JBoss-user] [Installation & Configuration] - Re: Run JBoss as a Windows Service

2004-08-18 Thread GRatcliffe
We use the Java Wrapper tool for JBoss and some other things without any problems. It works fine. Looking at your log file I think you will find your JAVA_HOME and JBOSS_HOME environment variables have been defined in Control Panel as 'user' rather than system. The 'user' variables only exist w

[JBoss-user] [HTTPD, Servlets & JSP] - Classloader question

2004-08-18 Thread balteo
Hello, I am calling a method from a jsp as follows: | <% | com.mycompany.MyClass mc = new com.mycompany.MyClass(); | mc.print(); | %> | I tried dropping the jar for MyClass into the %jboss_home%\lib directory and I get an error. Can anyone tell me why? Are classes in this directory

[JBoss-user] [Beginners Corner] - Re: java.net.MalformedURLException: unknown protocol: eudoxu

2004-08-18 Thread dannyyates
Why are you writing code in the 'sun' package? I have a vague recollection that the root classloader in Sun's VMs prevents you from loading classes into the 'sun' package. If this is true it's likely to only be the beginning of your issue... View the original post : http://www.jboss.org/index.h

[JBoss-user] [Installation & Configuration] - Having trouble connecting jboss 3.2.2 to Oracle 10g

2004-08-18 Thread seckley
Hi ; i'm trying to set up a copy of our development environment at work. we are using jboss3.2.2 and oracle 9i. However instead of Oracle 9i i am using Oracle10G. The problem i am having is when i submit a call to the database through our login page. i get an error stating that : "java.lang.un

[JBoss-user] [Messaging, JMS & JBossMQ] - Jboss MQ features

2004-08-18 Thread snau
Hi, I'm comparing features between IBM QM and Jboss MQ. Does Jboss MQ supports: 1. delivery mode "exactly once" (one and only one message will be delivered). 2. automatic transmission to remote server without usage any additional software thank you View the original post : http://www.jboss.org/

[JBoss-user] [EJB/JBoss] - RW/RO EJB invalidation pattern not working

2004-08-18 Thread pedrosalazar
Greetings, I created a read-only ejb Primitive that I pretend to invalidate through the read-write ejb PrimitiveRW. Both extends Standard CMP 2.x EntityBean with cache invalidation configuration (the read only extends CMP extended life time but this configuration extends the other configuration

[JBoss-user] [Beginners Corner] - Re: General question about the twiddle and deployer scripts

2004-08-18 Thread pjrichter
Either you're not in the %JBOSS_HOME%\bin folder or that folder is not in your PATH. Try changing directories to %JBOSS_HOME%\bin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845465#3845465 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [EJB/JBoss] - Re: javax.ejb.ObjectNotFoundException: No such entity!

2004-08-18 Thread loubyansky
Can you try to write a simple JDBC test that executes the same statement using the same DataSource inside the JBoss and see if it sees the row? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845464#3845464 Reply to the post : http://www.jboss.org/index.html?

[JBoss-user] [Installation & Configuration] - Re: 2 J2EE application with the same EJB

2004-08-18 Thread alessandro_rizzi
"wtff" wrote : yes this is possible. | | First of all, if you just deploy ejb-jars by placing them somewhere below the deploy directory, their classes will be loaded into the same loader repository. | So lets first start with the simple case of having an ejb which you want to deploy two t

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR with entity beans in different databases?

2004-08-18 Thread loubyansky
The tables should be in the same db. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845461#3845461 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845461 --- SF.Net e

[JBoss-user] [EJB/JBoss] - Re: ABSTRACT_SCHEMA problem with ejb-ql

2004-08-18 Thread loubyansky
Order is a reserved word. Choose something different. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845460#3845460 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845460 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key violation - why is child deleted first in 1-

2004-08-18 Thread loubyansky
I can reproduce this by invoking the remove() method on an instance which does not have the foreign key and the container has synch-on-commit-only set to true. But it's not your case, right? If you have a simple testcase, please, open a bug report and attach the testcase. Thanks. View the origi

[JBoss-user] [JCA/JBoss] - JCA ClassCastException

2004-08-18 Thread slonko
I have a RA accessing an EJB remotely. On first deployment everything works fine, but when i redeploy the EJB, the RA always throws a ClassCastException when calling the Home factory. Seems to be some weird classloading issue. Also it's the same class bound to jndi, for some reason the ClassLoa

[JBoss-user] [Clustering/JBoss] - Re: JMS-HA with HTTP Tunneling problem

2004-08-18 Thread gbertani
Sorry, I forgot to say that the JBoss version I am using is 3.2.5... Gianlu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845456#3845456 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845456 --

[JBoss-user] [Security & JAAS/JBoss] - Need help

2004-08-18 Thread bros
Hi. I'm new in JBOSS. I have Jboss3.2.3, Eclipse, Lomboz, and Firebird DB, and CMP for receiving table from database on index.jsp.Everything is ok, but I dont have any security staff in my project, and there's is not so much time. Can anybody help with step by step instructions . It can be simp

[JBoss-user] [Persistence & CMP/JBoss] - Re: Cascade delete

2004-08-18 Thread loubyansky
Read the wiki page on batch-cascade-delete which describes why cascade-delete is the default. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845454#3845454 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845454 --

[JBoss-user] [Beginners Corner] - Use of corba callbacks in JBoss

2004-08-18 Thread adefranc
Hello, I am working on a server task that requires me to log into a third party application via CORBA and register a callback with the third party app. I will then be notified when events occur on the third party server. What I was wondering was if this would fit into J2EE engine such as JBoss

[JBoss-user] [Persistence & CMP/JBoss] - Cascade delete

2004-08-18 Thread sbrbot
I work with JBoss v3.2.3, MySQL v4.0.20d and MySQL Connector/J 3.0.14 (stable) JDBC driver. I created one-to-many relationship between CustomerEJB-OrderEJB CMP beans. There is referential integrity between CUSTOMERS and ORDERS tables also cascading delete feature is set and it works if I delete

[JBoss-user] [Clustering/JBoss] - JMS-HA with HTTP Tunneling problem

2004-08-18 Thread gbertani
Hi all. I set up two JBoss instances in cluster, and I have my JMS clients able to connect to the two instances and to correctly manage the shutdown of one of them. I did this by using JNDI (by configuring "org.jnp.interfaces.NamingContextFactory" as initial context factory). Now I would like

[JBoss-user] [Beginners Corner] - java.net.MalformedURLException: unknown protocol: eudoxus

2004-08-18 Thread solomono
To All ] java.net.MalformedURLException: unknown protocol: eudoxus 09:15:59,697 INFO [STDOUT] at java.net.URL.(URL.java:544) 09:15:59,697 INFO [STDOUT] at java.net.URL.(URL.java:434) 09:15:59,697 INFO [STDOUT] at java.net.URL.(URL.java:383) I have implemented a new URL protocol eudo

[JBoss-user] [JCA/JBoss] - Re: RAR inside an EAR

2004-08-18 Thread [EMAIL PROTECTED]
Yes you do need to reference the ear: http://www.jboss.org/wiki/Wiki.jsp?page=ConfigConnectionFactory Otherwise how would it know which rar to use if the rar was deployed at the top level or in a different ear. This is the same syntax used for resolving ejb-links uniquely. View the original post

[JBoss-user] [Installation & Configuration] - JBoss 3.2.5 - Exception deploying Web module (working on 3.2

2004-08-18 Thread cdmein
All We have an EAR (containing an EJB module and a Web module) that deploys on JBoss 3.2.3. When I try and deploy the same file on JBoss 3.2.5 I get the following exception: 13:28:21,674 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)] 13:28:21,674 INF

[JBoss-user] [Javassist user questions] - bug in ExprEditor.edit(NewExpr call) when in try-catch-block

2004-08-18 Thread fedor
I'm using java-assist to rewrite code using ExprEditor and NewExpr.replace(). When my code looks like this: HashMap h=new HashMap(size); it has to be converted to HashMap h=new HashMapWrapper(size,some_extra_params); The wrapper is not a real wrapper, but just extends the real HashMap. Everythi

[JBoss-user] [HTTPD, Servlets & JSP] - Two applications running at the same time

2004-08-18 Thread alisson
Hi, I have 2 applications running at the same JBoss. They do not use DataSources, the connections are made directly by JDBC Connection object. The 2 DB used by these two applications are identical but separated and running in the same DB Server. The problem is: when I run the two application

[JBoss-user] [Installation & Configuration] - Re: 2 J2EE application with the same EJB

2004-08-18 Thread wtff
yes this is possible. First of all, if you just deploy ejb-jars by placing them somewhere below the deploy directory, their classes will be loaded into the same loader repository. So lets first start with the simple case of having an ejb which you want to deploy two times, lets say with differe

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Lost or forgotten messages in queue

2004-08-18 Thread jardia
Just a few references to the file persistence manager. Adrian (JBossMQ lead) says that the file persistence manager is not supported anymore and that it is only there for backward compatibility with 2.4. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43492 http://www.jboss.org/index.htm

[JBoss-user] [JBoss.NET] - Re: load balancing web services

2004-08-18 Thread tdiesler
How would you load balance a normal web app? The client will always have a fixed host:port. I don't think this a ws related question, you may want to read up on jboss clustering, mod_jk, etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845420#3845420 Rep

[JBoss-user] [JCA/JBoss] - Prepared Statement Caching

2004-08-18 Thread pants
I'm using JBoss 3.2.3 (Jetty) and have just enable prepared-statement-caching by setting the prepared-statement-cache-size in the datasource descriptor. The setting however appears to have had no effect, and I can see in the debugger that I keep getting a new instance of a prepared statement. I

[JBoss-user] [JBoss.NET] - Re: load balancing web services

2004-08-18 Thread tomerbd
Hi I access web services like this : http://machine-name:8080/jboss-net/services/MyEndPoint what if "machine-name" machine crashed?! How can I get HA in that scenario? can I call the http without the machine-name ? just as I call ejb without the machine name in provider-url and achieve HA ? V

[JBoss-user] [Clustering/JBoss] - Configuring multiple JVMs(Work environments) in JBoss App Se

2004-08-18 Thread navindixit2004
I want to configure muliple deployment environmnts(Multiple JVMs/Containers) for different developers in JBoss application server. Developers should be able to configure seperate class paths for their deployments. Please let me know how to achive this in JBoss. thanks Navin View the original

[JBoss-user] [JCA/JBoss] - Re: PreparedStatementCache

2004-08-18 Thread pants
We are seeing the same behaviour, setting the prepared-statement-cache-size doesn't seem to have any effect. Is there another setting that needs to be set apart from just the datasource descriptor? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845416#3845416

[JBoss-user] [Beginners Corner] - Re: console to view global JNDI Namespace

2004-08-18 Thread darranl
Go to http://localhost:8080/jmx-console Click on JNDI View Click on List View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845415#3845415 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845415

[JBoss-user] [JBoss Getting Started Documentation] - Re: Newbie: how do i

2004-08-18 Thread darranl
Which bit don't you understand, I assume that you know how to copy and rename a folder using Windows. To execute the command 'run -c myconfig' you need to open a command prompt and move the the JBoss bin directory so that you can enter the command. View the original post : http://www.jboss.o

[JBoss-user] [Management, JMX/JBoss] - More information about monitors

2004-08-18 Thread balteo
Hello, Can anyone give me a brief explanation of what monitors are for (monitoring-service.xml). Where does their output go? Can anyone give me a concrete example of how a monitor would be used? Thanks in advance, Julien. View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Clustering/JBoss] - Re: Farming documentation

2004-08-18 Thread jasonc
"lac_raz" wrote : but what if I want to control the deployment order of the nodes (e.g. first deploy to second node and then to the third one)? Under what circumstances would it be desirable to control the deployment order after the master comes up? We're clustering, but we have some problems t

[JBoss-user] [The Lizzard's corner] - Online education

2004-08-18 Thread lepe
Is it working? When trying to see/hear one of the past educations - what is supposed to happen after registering. To me nothing happens, well sometime there was an empty page but nothing more. Using Firefox if that will matter. /L View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key violation - why is child deleted first in 1-

2004-08-18 Thread suzyrizzo
Sure. Here is the full stacktrace. Sorry for cutting it short the first time. 2004-08-17 07:41:29,140 INFO [STDOUT] DEBUG: parameters: 2 | 2004-08-17 07:41:29,156 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Group#findByPrimaryKey] Executing SQL: SELECT t0_Group.groupKey

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Lost or forgotten messages in queue

2004-08-18 Thread MaitaiBernie
Is JDBC persistence more reliable than the file persistence manager or why, in your opinion, show they prefer JDBC persistence? If you say "The queue depth only includes messages not yet delivered to JMS consumers" do you think that JBoss behaves right saying QueueDepth is five (meaning 5 messag

[JBoss-user] [Clustering/JBoss] - Re: How to access HA Singleton MBean clusterwide via EJB

2004-08-18 Thread twwwt
Thanks Nicholas for your Answer. But what do you exactly mean by "Stub"? Yesterdy I tryed to bind the service itself into JNDI with no success. Excerpt from MBeans startSingleton(): | Name n = context.getNameParser("").parse("service/mbean/MyService"); | NonSerializableFactory.rebind(n, thi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss+WSMQ - connection to queue is closed after several

2004-08-18 Thread the_leech
WSMQ stands for WebSphere MQ (i.e. MQ Series) Unfortunately the network connection is never broken (there are 2 other sockets open all the time !!!) and as I mentioned before there are no exceptions in log files. I noticed that if there are no messages in the queue for a few hours and then a mess