[JBoss-user] [Clustering/JBoss] - Re: several singleton MBeans: can master node for each one b

2004-06-22 Thread maroni
Thanks for your reply. But what if you have three nodes, and MBean A is only deployed on Node 1 and 2, and MBean B is deployed only on Node 2 and 3? When node 1 comes up first, then MBean B will not become active at all because itÂs not running on the master node? View the original post : http

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

2004-06-22 Thread fernlui
Hi all, I am reading the chapter 5 and i have a problem: 05:59:14,919 INFO [STDOUT] CUSTOMERDAOIMPL.findByUserID [EMAIL PROTECTED] 05:59:14,949 INFO [TxConnectionManager$TxConnectionEventListener] throwable from unregister connection java.lang.IllegalStateException: Trying to return an unkno

[JBoss-user] [JCA/JBoss] - DataSource problem with JBOSS and Hibernate

2004-06-22 Thread bhargavss
Hi, I am using JBoss-3.2.1 for deploying my application. I have created a datasource named 'WFDS' which connects to a Oracle9i DB. The datasource is deployed correctly and I can see it in the JBOSS console's JNDI tree. But when my session bean tries to access it the following exception occurs. I

[JBoss-user] [Security & JAAS/JBoss] - Re: JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.

2004-06-22 Thread tfk257
Plz I need a reply. in order to migrate to Jboss 3.2.4 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839592#3839592 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839592 --

[JBoss-user] [Security & JAAS/JBoss] - Re: [ Confirm my doubts ] JBoss does not need the JAAS Login

2004-06-22 Thread blackers
I am only new to JAAS in JBoss and as such may not be right, however I don't think your statement is correct. My understanding is that although you do not need to specify an auth.conf in your webapp you still have to specify the security domain that you are working with. jboss-web.xml is used

[JBoss-user] [Javassist user questions] - Re: Trapping variable assignments

2004-06-22 Thread chiba
Oh, please look at the tutorial, which is also listed on the web site. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839590#3839590 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839590 --

[JBoss-user] [HTTPD, Servlets & JSP] - Disabling Jetty from Jboss 3.0.8

2004-06-22 Thread poweribo
my projects setup uses jboss and tomcat. but we use jboss 3.0.8 which has a built in Jetty. How do i disable Jetty so that it doesnt conflict with tomcat's port. of course I can just change tomcats port number but i dont want jetty to run needlessly. View the original post : http://www.jboss.o

[JBoss-user] [Clustering/JBoss] - cross cluster communication

2004-06-22 Thread ravilla
We are in a process of migrating from non-clustered environment to clustered environment. We have multiple applications (services, SLSB) deployed in a cluster environment and they have dependencies on each other. Earlier in a non clustered environment we can point out to the service running on

[JBoss-user] [Installation & Configuration] - Re: Runnig 2 Servers on the same box ?????

2004-06-22 Thread alt_amit
I am following the 3.2.3 admin development guide instructions for starting jboss0 server with examples/src/main/org/jboss/chap10/ex1/jboss-service.xml, where ServiceBindingManager is enabled to read chap10ex1-bindings.xml which has been copied to server directory. I get the following error: 1

[JBoss-user] [Security & JAAS/JBoss] - [ Confirm my doubts ] JBoss does not need the JAAS Login con

2004-06-22 Thread ronaldoc
Context: A webapp in Tomcat accessing session beans. The web and the EJB container are defined to be under the same security domain. Conclusion: In this environment, we don't need to specify a JAAS login configuration file e.g. auth.conf because the security interceptor will catch unauthenticat

[JBoss-user] [Installation & Configuration] - multiple instances of JBoss on one machine

2004-06-22 Thread alt_amit
I am following the 3.2.3 admin development guide instructions for starting jboss0 server with examples/src/main/org/jboss/chap10/ex1/jboss-service.xml, where ServiceBindingManager is enabled to read chap10ex1-bindings.xml which has been copied to server directory. I get the following error: 17

[JBoss-user] [Beginners Corner] - Can MBean be accessed through RMI/IIOP?

2004-06-22 Thread alanc_yang
Wonder can MBean be accessed through RMI/IIOP same way as session or entity bean? Thanks, Alan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839582#3839582 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839582

jboss-user@lists.sourceforge.net

2004-06-22 Thread yuanwh
I cannot find useful informations about JBoss.NET on internet. Who can give me some idea, or URLs that contain documents about that? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839580#3839580 Reply to the post : http://www.jboss.org/index.html?modu

[JBoss-user] [Clustering/JBoss] - JBoss BUG ? : isModified() can't stop SFSB Replication 100%

2004-06-22 Thread surajit
Using JBoss 3.2.3, I have set up a 2 node cluster with a SFSB farmed across them. I want to avoid state replication across the nodes, and have implemented the isModified() method in the bean to always return false. On executing, I notice the following: a. As part of invoking homeRef.create() o

[JBoss-user] [EJB/JBoss] - Re: AutoGenerating PK & Oracle

2004-06-22 Thread dlsills
Yes, it's off topic, but I see no one saw fit to answer. XDoclet does search the hierarchy for XDoclet tags, which is useful if you still have source. Since we often don't, the best solution we have found for this is to repeat the method in the subclass, simply delegating to the superclass metho

[JBoss-user] [Clustering/JBoss] - cacheing homeinterfaces in a clustered environment

2004-06-22 Thread nobel
running jboss-3.2.3 and a copy of the all config and a remote clustered stateless session bean deployed on two jboss instances. a client in another jvm does a lookup on the home interface, assuming the home interface isnt cached, and upon successful lookup puts the home proxy in a cache. given

[JBoss-user] [EJB/JBoss] - Re: 3.2.4 Classloading Issue

2004-06-22 Thread jfrosch
Okay, I admit it. I was completely faked out by the NoClassDefFoundError message. Here's what happened: The NoClassDefFoundError flagged class A, but A was present in a JAR file that was part of the EAR file and listed on the Class-Path line in the MANIFEST.MF. That's what was throwing me.

[JBoss-user] [Beginners Corner] - Re: Problems binding JNDI references to non-serializable obj

2004-06-22 Thread sedj
Hi mikefinn. Thankyou for your reply ... Yes I have no wish to serialize this object, or export it over some connector/RMI etc to another JVM. I looked for NonSerializableObjectFactory on the web, and only found one link for it : http://www.mail-archive.com/[EMAIL PROTECTED]/msg05393.html I am

[JBoss-user] [EJB/JBoss] - Connection Refused

2004-06-22 Thread katsteve
This topic has been posted several times, and I've tried many of the solutions (even though they don't say WHY they work) - but they haven't worked for me. EJB Client doing a lookup on a remote (nonLan) server hangs for 2 minutes, then gives Connection Refused exception. The network config h

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: prepare called on a local tx

2004-06-22 Thread duslow
You are using local transactions which is exactly why you are getting the warning. This has been discussed many different times on this forum. RequiresNew will not prevent the warning you are seeing either. You are branching the local transaction and as such, your database operations will not

[JBoss-user] [Nukes User] - syntax error near unexpected token

2004-06-22 Thread gun
Hi, i'm getting an error when calling build.sh in the build directory of the nukes-snapshot: --SNIP- [EMAIL PROTECTED]:/austausch/nukes-snapshot/build# ./build.sh : command not foundapshot/tools/bin/build.sh: line 7: : command not foundapshot/tools/bin/build.sh: line 9: /austa

[JBoss-user] [HTTPD, Servlets & JSP] - Re: HTTP Form POST Truncated

2004-06-22 Thread duslow
If you are using Jetty, you need to set the following System property .. -Dorg.mortbay.http.HttpRequest.maxFormContentSize={max num bytes} Jetty has a small default limit on form posts as a safety precaution. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [HTTPD, Servlets & JSP] - Re: .jsp files not recompiled in jboss-3.2.4 / tomcat after

2004-06-22 Thread jleech
Looks like the culprit is a TimeZone.setDefault() in my code that is causing the file times to be off in File.setLastModified(). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839569#3839569 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Installation & Configuration] - Deployer re-deploys all deployment units in a second deploym

2004-06-22 Thread troypoppe
I made what I thought was a small modification to the conf/jboss-service.xml file to add in another deploy directory. The intention was to create a directory in Linux that allowed another group to deploy their applications without having to have permissions to the main deploy directory. |

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

2004-06-22 Thread swilburn3comcarrier
Having the same error, have you determined the problem/solution? Thanks in advance. Scott View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839566#3839566 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839566 -

[JBoss-user] [Installation & Configuration] - Re: Runnig 2 Servers on the same box ?????

2004-06-22 Thread fe2o3
Take a look at the jboss-3.x/docs/examples/binding-manager/ directory. It has information on use the bindingservice-plugin.jar to configure ports to run two instances on the same machine. If you can't find that directory, checkout the source and look under the varia directory. View the origin

[JBoss-user] [Beginners Corner] - Re: Problems binding JNDI references to non-serializable obj

2004-06-22 Thread mikefinn
I assume your need to to bind it into the 'local' or in-JVM tree (otherwise it will need to serialize/deserialize). Check out NonSerializableObjectFactory in jboss naming. mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839564#3839564 Reply to the post :

[JBoss-user] [HTTPD, Servlets & JSP] - .jsp files not recompiled in jboss-3.2.4 / tomcat after rede

2004-06-22 Thread jleech
After I redeploy my .ear file, tomcat is not recompiling any modified .jsps. I did some digging around and for some reason all the file times of the expanded .war file under jboss-3.2.4/server/default/tmp/deploy/tmpXXXapp.ear-contents/app.war are off by 6 hours (earlier). If I restart jboss

[JBoss-user] [Persistence & CMP/JBoss] - Re: EJBQL parsing failure in 3.2.4 - worked in 3.2.3

2004-06-22 Thread rcsnti
Answer found. The 3.2.4 version doesn't seem to like hard tabs, whereas the old parser didn't care. Oh well. converted to spaces and everything works now. (I was using a StringBuffer to build the dynamic QL). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Security & JAAS/JBoss] - Re: Change to location of users/roles.properties files in JB

2004-06-22 Thread urban011
Oddly, this problem goes away when I reboot my machine and the login works fine. However, when I restart the JBoss server for whatever reason, I can once again no longer login until I reboot the entire machine! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [HTTPD, Servlets & JSP] - HTTP Form POST Truncated

2004-06-22 Thread cromantm
Platform: JBoss 3.0.6/Jetty??? Problem: Form POST request are being truncated by JBoss if the Content Length > 100,012 bytes. ( I can consistently replicate this using a JSP form) The problem becomes apparent when you do a request.getParameter("foo"); which results in a null value althoug

[JBoss-user] [Security & JAAS/JBoss] - How does the cache policy get instatiated?

2004-06-22 Thread kenny1234
I have written a custom login module that works fine except for the fact that a NullPointerException is raised because of a null CachePolicy: --- DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added jmx-console, [EMAIL PROTECTED] to map WARN [org.jboss.security.plugins.JaasSecur

[JBoss-user] [Messaging, JMS & JBossMQ] - prepare called on a local tx

2004-06-22 Thread kiran222
Using JBoss 3.2.3 and Oracle 8.1.7, I have an MDB receiving messages from a Queue. Within the onMessage() method, I am making a call on an EJB, where the transaction attribute is set to "RequiresNew". The MDB is set with acknowledge-mode="auto", destination-type="queue", transaction="contrain

[JBoss-user] [Installation & Configuration] - Re: NoClassDefFoundError on AIX with EJB over HTTP

2004-06-22 Thread hswac
Hi, after some more investigations we're now able to provide some more informations on this topic. I can describe the situation leading to the NoClassDefFoundError. We have at the client a reference to a statefull session bean, say A, and a reference to an other stateless session bean, say B. Th

[JBoss-user] [EJB/JBoss] - Re: Entity bean called from a session bean or directly from

2004-06-22 Thread pilhuhn
What is your transaction demarcation? Are 3 and 4 executed in the same call to the SB and 5 before the call to this SB returns? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839552#3839552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Performance Tuning] - Re: JBoss and Rarional quantify problem

2004-06-22 Thread wytten
I am having a similar problem, does anyone have a solution? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839551#3839551 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839551 -

[JBoss-user] [Nukes User] - Re: Nukes on weblogic

2004-06-22 Thread cooper
YES ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839550#3839550 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839550 --- This SF.Net email sponsored by Black Ha

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS_MESSAGES_PK violated

2004-06-22 Thread genman
Which version of JBoss are you running? Try JBoss 3.2.4 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839548#3839548 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839548 --

[JBoss-user] [Persistence & CMP/JBoss] - Re: LDAP JDBC driver and CMP

2004-06-22 Thread sthomasg27
Hi all, this discussion piqued my interest, so I started experimenting with the JDBC-LDAP bridge driver (available free under the "OpenLdap Licence") from OctetString. available here: http://www.octetstring.com/products/BridgeDriver.php be sure to check out the getting started documentat

[JBoss-user] [Nukes User] - Re: Nukes on weblogic

2004-06-22 Thread sgwood
The current version of Nukes is tightly bound to JBoss. Future versions will implement the JSR 168 standard, which (supposedly, hopefully) will allow portlets developed elsewhere to run in Nukes. Sherman View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=383954

[JBoss-user] [Security & JAAS/JBoss] - Change to location of users/roles.properties files in JBoss

2004-06-22 Thread urban011
I've been using the BASIC authentication with a servlet in an older version (running Jetty) of JBoss. These files were located in /conf (dev is on WinXP, but Production is on Linux). After migrating to 3.2.4 (Tomcat) These files no longer seem to be found and I can't log into my web app. I un

[JBoss-user] [Persistence & CMP/JBoss] - EJBQL parsing failure in 3.2.4 - worked in 3.2.3

2004-06-22 Thread rcsnti
Hi, The following EJB-QL is being passed through to an ejbSelectGeneric() method: select object(c) from Cust AS c, CustData AS cd where c.cust Guid <> ?1 and c.custGuid = cd.custGuid and cd.parameterGroup='HOME'and ((cd.parameter = 'PHONE' and cd.value = ?2) or ((cd.parameter = 'LAST_

[JBoss-user] [Nukes User] - Nukes on weblogic

2004-06-22 Thread ciaovivek
Hi I am Vivek Pandey. I am planning to use nukes for one of my customers. The problem is that we are not using JBoss but are using Weblogic. Is it possible to itegrate Nukes with Weblogic. If yes, How do I get information on it? Regards Vivek View the original post : http://www.jboss.org/index.

[JBoss-user] [Beginners Corner] - Problems binding JNDI references to non-serializable objects

2004-06-22 Thread sedj
Hi, I am having trouble binding a non-serializable object under the JNDI context java:comp/env. I have tried local EJB, JCA, from a webapp, and using jboss-compliant mbeans. Every time I try to bind the object, and intialize it, JBoss trys to serialize it, and then errors with a NotSerializab

[JBoss-user] [JBoss Getting Started Documentation] - Re: jboss-4.0.0DR4 produces Invalid byte 1 of 1-byte UTF-8

2004-06-22 Thread dannyyates
If you declare your XML as UTF8, it's usually best to make sure it actually is UTF8! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839539#3839539 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839539

[JBoss-user] [Clustering/JBoss] - Re: several singleton MBeans: can master node for each one b

2004-06-22 Thread budworth
In master elections (at least in 3.2.3), it is always the host that's been up longest. So A and B will always be on the same node assuming your deployment is symmetrical. This feature was actually causing my problems, so i had to write my own singleton support to do elections differently so the

[JBoss-user] [JBoss Getting Started Documentation] - jboss-4.0.0DR4 produces Invalid byte 1 of 1-byte UTF-8 sequ

2004-06-22 Thread balteo
Hello Again, Ok. I sorted the problem. I opened and saved the xml files as utf8 with my text editor. Julien. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839537#3839537 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [HTTPD, Servlets & JSP] - Tomcat common/endorsed equivalent in JBoss-Tomcat

2004-06-22 Thread waldenmathews
Hello, My application uses the class: org.omg.PortableServer.Servant. It loads by default from C:\j2sdk1.4.2_03\jre\lib\rt.jar, but I need it to override that. I can do that with (standalone) Tomcat 5 by placing the overriding jar in the common/endorsed directory. How can I get this same beh

[JBoss-user] [JBoss Getting Started Documentation] - jboss-4.0.0DR4 produces Invalid byte 1 of 1-byte UTF-8 sequ

2004-06-22 Thread balteo
Hello, I use Jboss 4.0.0 DR4 and I cannot deploy my ejbs. Here is what I get: | 17:54:13,859 ERROR [MainDeployer] Could not initialise deployment: file:/D:/system/jboss-4.0.0/server/default/deploy/test_guide.ear | org.jboss.deployment.DeploymentException: Invalid byte 1 of 1-byte UTF-8 seq

[JBoss-user] [Javassist user questions] - Re: Trapping variable assignments

2004-06-22 Thread craigugoretz
Thank you for your response. Let me ask you this - is there more documentation on how to use $_ and the other "metavariables"? I think I have things figured out to that point but could use more examples. The only documentation I have found is the first PDF paper listed on the web site. View t

[JBoss-user] [Javassist user questions] - Re: Trapping variable assignments

2004-06-22 Thread chiba
You can use Javassist to catch changes the value of a field but not a local variable. The way to catching the changes of the value of a local variable is currently not provided. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839533#3839533 Reply to the post

[JBoss-user] [Clustering/JBoss] - several singleton MBeans: can master node for each one be di

2004-06-22 Thread maroni
Hi, In our cluster, we want to use several different singleton MBeans, letÃÂs say MBean A and MBean B should only be active on one node (master node) in the cluster. I have declared the following in my hasingleton-example-service.xml file: | | jboss:service=DefaultPartition |

[JBoss-user] [JCA/JBoss] - JBOSS + org.postgresql.largeobject.LargeObject API for BLOB

2004-06-22 Thread pagomen
Hi all, I am using JBOSS3.2.3 & Postgresql 7.4 and I am facing a problem wirting blobs ... Using the postgres jdbc driver there are 2 ways for writing/reading blobs 1) using in the database a column type 'bytea' to store the binary file 2) using in the database a column type 'oid' to store the bi

[JBoss-user] [Management, JMX/JBoss] - Custom MBean lifecycle with EJB dependencies

2004-06-22 Thread gchazalon
Hi, I have experienced a strange behavior using JBoss 3.2.3 JMX. I have created a custom MBean, which basicaly creates an instance of a stateful EJB and map it into a JNDI entry. Since my MBean depends on the deployment of this particular EJB, I have a element in the associated jboss-servi

[JBoss-user] [Persistence & CMP/JBoss] - composed primkey, ejbSelect ... where, condition faills

2004-06-22 Thread Frank Lemke
Hi! 2 Entity-Beans: -Brief [ actorPK, societyPK, skrontoNrPK, price ] -Actor [namePK] PK means Primary Key, so Brief has got a composed PK. Actor wants to get the Briefs of him belonging to a certain society and a certain skronto. Actor executes this ejbSelect: | /** | * @ejb.select quer

[JBoss-user] [Beginners Corner] - Re: MessagingException: 550 ACCESS DENIED

2004-06-22 Thread mikefinn
550 usually means that the SMTP server is rejecting your connection. Depending on your config, it could mean at least 2 different things: 1) Login and password are required 2) The from email address is invalid (strictness varies from valid format, to enforcing a legitimate domain on the address)

[JBoss-user] [Management, JMX/JBoss] - Re: creating and deleting datasources programatically

2004-06-22 Thread spiritualmechanic
Currently this can't be done. I'm working on it, but the development is going slower than I thought it would, partly because I'm slow and partly because I have a real job. If you want to write some custom code for yourself I can help walk you through it, but I'm trying to get to a point where y

[JBoss-user] [Security & JAAS/JBoss] - Authentication problem

2004-06-22 Thread lalala
I've modified the jaas example to my aplication, and it runs ok. But now, I've a problem. My jboss 3.2.4 is a container of various EJB applications, they are independent, but they are using the same ejb-jar.xml and jboss.xml. So, I would like to apply different login modules (different applica

[JBoss-user] [Installation & Configuration] - API docs

2004-06-22 Thread DiegoMemo
Hi, where can i find the jboss API? thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839519#3839519 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839519 ---

[JBoss-user] [Installation & Configuration] - Re: Jboss & Eclipse IDE

2004-06-22 Thread raagav
Hi, Thanks Didi1976, the solution worked. I mistook Ver1.2.330 to be a higher release of 1.2.3. ( Too greedy eh ). Well I am a student, and we donot have the luxury of an internet connection for individual PC - proxy access is not allowed. Hope that answers the question of why I am

[JBoss-user] xaRes not enlisted exception

2004-06-22 Thread Shashi Kiran
Hi All,   After an JMS call is made, when i invoke Create method on Stateful session bean this error is coming on JBOSS 3.0.   Any idea how to solve this?   java.rmi.ServerException: xaRes not enlisted; nested exception is:  java.lang.IllegalArgumentException: xaRes not enlisted at org.jboss

[JBoss-user] [Persistence & CMP/JBoss] - CMP deployment error on JBOSS 3.2.4 using Eclipse

2004-06-22 Thread ggilberto
Hi there, I have been able to deploy all other types of beans except CMP beans. I I'm using the Hypersonic SQL datasource. Please let me know if you have any ideas. I am using JBoss 3.2.4. I get the following error when deploying a bean: 17:50:47,828 WARN [ServiceController] Problem starting s

[JBoss-user] [Beginners Corner] - Web Console not working in JBoss 3.2.3

2004-06-22 Thread dheerajchugh
I am trying to open the web-console using http://localhost:8080/web-console But it is not able to open the applet in the left navigator pane. It is again not a JRE problem, since my weblogic console and other applets are also running fine. Here it gives a message which says that:- class org.jb

[JBoss-user] [Persistence & CMP/JBoss] - Milliseconds and MySQL

2004-06-22 Thread Alexander.Kirsch
Hallo! I'am using JBoss 3.2.4 with MySQL 4.0 on Windows 2000. My Problem is to store dates in the MySQL via CMP Entity Beans without losing the millisecond granularity. It would be a good solution is to store the dates as long value in the database, but how can I do this in a transparent way

[JBoss-user] [Installation & Configuration] - Re: JBoss-3.2.4 and commons-logging.jar bug (?!)

2004-06-22 Thread MLipp
I can confirm the problem. I haven't referenced commons-logging.jar in application.xml, I have simply packaged it in the ear (and war) files. Something with class loading must be broken in 3.2.4. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839512#3839512

[JBoss-user] [EJB/JBoss] - EJB CMP doesn't create the right table name

2004-06-22 Thread mventre
Hi folks, i have a weird problem with CMP ejb; infact i m using Jboss 3.2.4 and Eclipse environment with Xdoclet 1.2. In my code i develop an EJB called EBAssetsLocation with the xdoclet tag to specify the table-name reference in the dbinfact the .jar contains the right jbosscmp...xml fi

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR / EJB-QL problem?

2004-06-22 Thread MartinGx
sorry, my last post was a slightly different query of: SELECT OBJECT(hierarchy) FROM Hierarchy hierarchy WHERE hierarchy.partyGroup IS NULL but its the same issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839510#3839510 Reply to the post : http://www

[JBoss-user] [EJB/JBoss] - EJB-PHP

2004-06-22 Thread ernieball
I'm newbie in EJB. I'll try to access EJB with PHP but i'm occured an exception. All EJB Client jar's are in my CLASSPATH. Warning: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: forum.ForumHome (no security manager: RMI class loader disabled)] in C:\Pr

[JBoss-user] [EJB/JBoss] - Re: Synchronization of Stateful Session Bean

2004-06-22 Thread fruehbeck
Hi, I think I found my error. It seems to work! Many thanks for the support. Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839508#3839508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839508 --

[JBoss-user] [EJB/JBoss] - Re: what is the cause of this error:java.sql.SQLException: O

2004-06-22 Thread hbaxmann
You have a problem with the SGA memory config of your Oracle - look at your Oracle docus or at technet.oracle.com. bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839507#3839507 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [EJB/JBoss] - Re: what is the cause of this error:java.sql.SQLException: O

2004-06-22 Thread nischalsharma
on further i got this error message: java.lang.Exception: org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: ORA-04031: unable to allocate 24 bytes of shared memory ("large pool","unknown object","session heap","UGA heap pool") ); - nes

[JBoss-user] [EJB/JBoss] - Re: Strange JNDI problem

2004-06-22 Thread rverlind
The intialisation of the JNDI from within the Eclipse plugin is working now using some ClassLoader changing : | ClassLoader old = Thread.currentThread().getContextClassLoader(); | Thread.currentThread().setContextClassLoader(plugin.class.getClassLoader()); | | // Initialise the J

[JBoss-user] [EJB/JBoss] - what is the cause of this error:java.sql.SQLException: ORA-0

2004-06-22 Thread nischalsharma
hi friends i am getting this error while running the application on jboss-3.2.3 .It comes after some time . java.sql.SQLException: ORA-04031: unable to allocate 24588 bytes of shared memory ("large pool","unknown object","koh-kghu sessi","static frame of inst") If any one had face this k

[JBoss-user] [Persistence & CMP/JBoss] - Re: ORA-01786: FOR UPDATE of this query expression is not al

2004-06-22 Thread cslenkey
Alex, You are right! Mea culpa! In standardjbosscmp-jdbc.xml we use false But in jbosscmp-jdbc.xml which is generated by the generator of Software Through Pictures application we generate TRUE I was mindless... Thx View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [J2EE Design Patterns] - Re: Generate a Business Delegate and ServiceLocator

2004-06-22 Thread sqirl
Many thanks for your help!!! The example is very usefull... ...sqirl. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839500#3839500 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839500 --

[JBoss-user] [Persistence & CMP/JBoss] - LDAP - Mysql synchronization

2004-06-22 Thread madadi
Dear all.. I am new to j2ee and LDAP . in my project iam using jboss 3.2.1, mysql and directory service LDAP. iam able to write servlets and ejb to store data in mysql . now user can fill up registration form and that data is available in mysql. i want to store same data in LDAP .and user c

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS_MESSAGES_PK violated

2004-06-22 Thread penguine
Hello Adrian, I have a similar problem: want do you mean? thank you for comment. 2004-06-21 09:54:04,391 ERROR [com.company.JMSSender](Thread-13 :) 1010 7: Fehler beim senden der TIMEOUT-JMS org.jboss.mq.SpyJMSException: Could not store message: 886 msg=0 hard NOT_STORED NON_PERSISTENT queue=QUEU

[JBoss-user] [Clustering/JBoss] - jboss clustering book containing Distributed State Manager f

2004-06-22 Thread a_amitgarg
i am looking for the jboss clustering document which has details about the Distributed state manager. I guess DSM tells us how to configure singleton class across the JVMs of the nodes in clustered environment. Few months back i bought the jboss clustering doc(edition 4) from jboss.org site but

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR / EJB-QL problem?

2004-06-22 Thread MartinGx
using sql92 compiler generates: SELECT t0_hierarchy.id, t0_hierarchy.CODE, t0_hierarchy.TOP_LEVEL_NAME FROM cmp_hierarchy t0_hierarchy LEFT OUTER JOIN partygroup_hierarchys t2_hierarchy_partyGroup_RELATION ON t0_hierarchy.id=t2_hierarchy_partyGroup_RELATION.HIERARCHY_FK LEFT OUTER JOIN cmp_par

[JBoss-user] [Persistence & CMP/JBoss] - Re: ORA-01786: FOR UPDATE of this query expression is not al

2004-06-22 Thread cslenkey
Alex, We use false setting in standardjbosscmp-jdbc.xml as you can see in my comment at Jun 6, 2003 10:19 AM Csaba View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839493#3839493 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with MAX function in ejb-ql

2004-06-22 Thread loubyansky
You should use 3.2.4 or JBossQL with earlier version. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839490#3839490 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839490 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: blob CMP MySQL EJB JBoss3.2 mapping problem

2004-06-22 Thread loubyansky
If the default doesn't work, then you have to find out it yourself. Please, let us know what worked for you. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839491#3839491 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [Persistence & CMP/JBoss] - Re: ORA-01786: FOR UPDATE of this query expression is not al

2004-06-22 Thread loubyansky
Unless there true we don't append FOR UPDATE. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839489#3839489 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839489 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Interceptor to trace database calls

2004-06-22 Thread loubyansky
Have a look at this http://www.jboss.org/wiki/Wiki.jsp?page=StatisticsCollector View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839487#3839487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839487

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem with SQL92 generated finder

2004-06-22 Thread loubyansky
This should be fixed in 3.2.5. You can download the compiler from here http://cvs.sourceforge.net/viewcvs.py/*checkout*/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/EJBQLToSQL92Compiler.java?rev=1.6.2.6 And patch the 3.2.4. View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [EJB/JBoss] - Re: [verifier] EJB spec violation

2004-06-22 Thread darranl
Are all of the required classes and descriptors in your jar file in the correct locations? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839485#3839485 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839485 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem with CMR and transaction, need help

2004-06-22 Thread loubyansky
When there is a transaction, there is no difference between CMT and UserTransaction. In your case there is no transaction. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839484#3839484 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [Beginners Corner] - Re: can a Servlet use local intefaces to talk to BMP Entity

2004-06-22 Thread darranl
How do you lookup the initial context in your servlet? Have you edited any jndi.properties files (You shouldn't have but this is sometimes a common mistake) What is your JBoss version and what is the error and stack trace that you are getting? View the original post : http://www.jboss.org/in

[JBoss-user] [EJB/JBoss] - Re: passivate warning

2004-06-22 Thread milowe
Well, if you bothered to read your stacktrace you would realize that org.apache.log4j.Logger is not a serializable class. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839482#3839482 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&m

[JBoss-user] [JCA/JBoss] - JCA: JacORB-ORBIX2K bridge. Please help.

2004-06-22 Thread limnin
Posted: Tue Jun 22, 2004 03:43 AMPost subject: JBoss' JacORB problem Hi, all I have to make a bridge between EJB-oriented system and CORBA-oriented one. The trouble is that EJB part runs on JBoss but CORBA

[JBoss-user] [Beginners Corner] - Re: can a Servlet use local intefaces to talk to BMP Entity

2004-06-22 Thread milowe
Local interfaces should work (at least it used to...). Maybe you should try to describe the error in order to get any feedback. I have a vague memory that it doesnt really matter though. I think the JBoss EJB proxy treats the remote the same way as local when running in the same JVM. You wouldn

[JBoss-user] [JCA/JBoss] - SQL Driver(Oracle) not loaded

2004-06-22 Thread JohannesST
hello, my scenario + jboss 3.2.3 + windows 2k + sp4 I have deployed my resource adapter. *-ds.xml BlackBox BlackBoxNoTx jdbc:oracle:thin:@srvdb:1521:srvdb92 oracle.jdbc.driver.OracleDriver in my application i get t

[JBoss-user] [Persistence & CMP/JBoss] - Problem with CMR and transaction, need help

2004-06-22 Thread bassie
Hello, I have a question and would really appreciate if anyone could spend time to answer this question. I use EJB 2.0 and in the session bean I use Container Managed Transaction. My application server is JBOSS 3.2.4RC1. There two tables and they have one to many relationship. Queue has many Re

[JBoss-user] [Beginners Corner] - Using different ILs on JMS with JBOSS 3.2.3

2004-06-22 Thread bygos
Hello. I have JBOSS 3.2.3 installed. I use default deploy and my aplication uses JMS to heartbeat communication. In jms directory there are 5 different il configuration file. All are deployed, and my application uses OIL. When I delete oil-service.xml jboss starts with exception and jms is not