[JBoss-user] [Installation & Configuration] - Re: JBoss on IBM Mainframe (ZSeries)

2004-05-26 Thread mregazzi
Let me see the emulator :-). By the way SuSE 8 is already up and running under our mainframe, and I asked our sysop to install JDK and JBoss 3.2.3. I will let you know! Bye Matteo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836391#3836391 Reply to the p

[JBoss-user] [Persistence & CMP/JBoss] - Re: curious SQL-Statements when loading related data

2004-05-26 Thread loubyansky
This is the copy of my post: I confirm that this is a change in behaviour between 3.2.3 and 3.2.4RC2. 3.2.3 has a bug in on-find read-ahead for single-object finders. I.e. when the result of a finder is a single object which is preloaded on-find with some load group which doesn't cover all the f

[JBoss-user] [Beginners Corner] - Error in the startup of JBoss 3.2.3.

2004-05-26 Thread sagarb
Hi, I am getting the following error messages while starting the JBoss 3.2.3 on Win2k server with JDK 1.3.1. Can any one please help to resolve the issue. 22:17:59,092 WARN [ServiceController] Problem starting service jboss.web:service=WebServer java.lang.ExceptionInInitializerError: java.util

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem

2004-05-26 Thread themuppeteer
I'm getting 'bean not bound' , guess I'll search on that first. Does everything work for you now catalean ? Can you do a create on your beans home without exceptions ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836387#3836387 Reply to the post : http://ww

[JBoss-user] [Nukes User] - Re: Only Static Page after Installing under Mac OS X Server

2004-05-26 Thread alm
The problem is that nukes.ear crashes upon deployment. In my case, it is PostgreSQL related. A work-around is to extract nukes.ear as follows: # cd $JBOSS_HOME/server/default/deploy # jar xf nukes.ear # $JBOSS_HOME/bin/shutdown.sh -S ... # $JBOSS_HOME/bin/run.sh You should now be able to

[JBoss-user] [Persistence & CMP/JBoss] - EJB-QL order by...

2004-05-26 Thread nacho2004
Hi everyBody !!! well I want to know how can I do this query with ejb-ql: SELECT * FROM documents WHERE docid =x ORDER BY docname ASC I did try with this code but didn't running *@ ejb.finder query="SELECT OBJECT(d) FROM documents d where d.docid=?1 order by ?2 ?3" View the original post

[JBoss-user] [Persistence & CMP/JBoss] - EJB-QL ordey by...

2004-05-26 Thread nacho2004
Hi everyBody !!! well I want to know how can I do this query with ejb-ql: SELECT * FROM documents WHERE docid =x ORDER BY docname ASC I did try with this code but didn't running *@ ejb.finder query="SELECT OBJECT(d) FROM documents d where d.docid=?1 order by ?2 ?3" View the original post

[JBoss-user] [Clustering/JBoss] - Re: HARMI Exception

2004-05-26 Thread robby_us
Hi All, Kindly let me know the cause and solution for the issue, as this is happening quite frequently, which is leading to lot server restarts. Regards Robby View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836381#3836381 Reply to the post : http://www.jb

[JBoss-user] [Installation & Configuration] - Re: Failed to boot JBoss

2004-05-26 Thread himanshu79
thanks a lot. this is was i was looking for. i extracted the rt..jar and removed all the classes from java.management package and created a new jar. it works. Cheers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836380#3836380 Reply to the post : http:

[JBoss-user] [Installation & Configuration] - Re: Can jboss run on Itanium processor

2004-05-26 Thread rkpraveenp
Which version of JDK and Jboss are you using? I would also like to know if you are using any backend database for any of the application you are running? We do have an application running on Jboss with informix database on a Xeon processor, and we need to scale up the hardware to meet user dema

[JBoss-user] JBoss Server with client behind NAT

2004-05-26 Thread Alex Smith
Hi, We're using JBoss as an application server for some client software. Requests to the server return all right if the client has a routable ip address, but if they are located behind a router doing NAT, then I get this on the console log of my client: org.jboss.mq.SpyJMSException: Could not

[JBoss-user] [JBoss.NET & SOAP] - Redirecting by changing wsdlsoap:address location in the wsd

2004-05-26 Thread gatapia
Hi All, Due to Flash MX / SSL / JBoss.Net incompatabilities I'm faced with the task of making the wsdl descriptor point to a different location than where it was retreived from. Eg: I get the wsdl from http://localhost:8080/jboss-net/services/WS?wsdl BUT I want the wsdl to point to (notice the

[JBoss-user] [Persistence & CMP/JBoss] - Re: Configuring JBoss CMP for a caching enviroment

2004-05-26 Thread ltcmelo
Erik, your explanation is nice, thanks. Would you have some pieces of "this" configuration information you said? I don't mean the whole files, but just "some parts" of "some specific" files that i should make changes. Thanks, ltcmelo View the original post : http://www.jboss.org/index.html?mo

[JBoss-user] [Security & JAAS/JBoss] - upgrading 3.0 -> 3.2.3

2004-05-26 Thread leila
I am attempting to upgrade an application that was running on JBoss 3.0 to 3.2.3. We have a security domain called RMI+SSL and some topic/queues that need to be secured. I have set up the roles/username/passwords in jbossmq-state.xml, e.g. | | | MyUser | xxx

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Deployment errors when 2nd of 2 apps starts to deploy in

2004-05-26 Thread [EMAIL PROTECTED]
Read about the default flat class loading model and how to isolate the deployment classes: http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836370#3836370 Reply to the post : http://www.jboss.

[JBoss-user] [Security & JAAS/JBoss] - Re: Application Managed Security

2004-05-26 Thread [EMAIL PROTECTED]
Just lookup the DataSource from JNDI and then use the getConnection(username, password) form to obtain the connection. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836369#3836369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Security & JAAS/JBoss] - Re: RMI & JAAS

2004-05-26 Thread [EMAIL PROTECTED]
I have not followed JINI for years and when I stopped the RMI security model jsr had just been rejected so RMI still has no notion of a security context. What is the current JINI mechanism for establishing the security context? 1) Should work if JINI picks up the security context from the Access

[JBoss-user] [Security & JAAS/JBoss] - Re: LoginModule order

2004-05-26 Thread [EMAIL PROTECTED]
The javadocs for the javax.security.auth.spi.LoginModule.commit method clearly state the method is called when the overall login succeeds and that the login module needs to cleanup any state if it failed locally: public boolean commit() throws LoginException This method is called if the LoginCo

[JBoss-user] [Security & JAAS/JBoss] - Re: Propagate the user info to servlets

2004-05-26 Thread [EMAIL PROTECTED]
You have to use the web container security to get this information into the request as tomcat does not know anything about the jboss SecurityAssociation. Your only other option is move this logic into a custom tomcat authentictor or valve. View the original post : http://www.jboss.org/index.ht

[JBoss-user] [Beginners Corner] - Re: Resource Adapter warning message

2004-05-26 Thread [EMAIL PROTECTED]
Why are you passing the connection event object as the handle rather than the closed connection object you originally returned from ManagedConnection.getConnection(...)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836365#3836365 Reply to the post : http://

[JBoss-user] [Security & JAAS/JBoss] - Re: Setting a timeout for LDAP connections (Urgent !)

2004-05-26 Thread [EMAIL PROTECTED]
This depends on the LDAP JNDI provider. For the Sun provider, read the JDK section on the LDAP provider: http://java.sun.com/j2se/1.4.2/docs/guide/jndi/jndi-ldap.html There is lists the connection timeout setting: com.sun.jndi.ldap.connect.timeout=5000 View the original post : http://www.jboss

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Deployment errors when 2nd of 2 apps starts to deploy in

2004-05-26 Thread tbauer
This IS reproducable on my dev machine. Here's what else I found out... I have 2 application .ear files both in the server/all/deploy directory. The deployment happens by alpha, so asponline.ear deployed before icsboomerang.ear...and for some reason I get those bogus deployment errors when icsbo

[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)

2004-05-26 Thread [EMAIL PROTECTED]
The certificate login modules from 4.0 have been backported to 3.2 and I have created an example of securing the jmx-console using client certs: http://www.jboss.org/wiki/Wiki.jsp?page=BaseCertLoginModule View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836363#

[JBoss-user] [Beginners Corner] - java.security.AccessControlException

2004-05-26 Thread jdmsai
Hi, I am using java web start to launch a j2ee application deployed on JBOSS. It launchs fine. However, when the client tries to get hold of the EJB (using the home interface create() method, I end up with the exception below: java.security.AccessControlException: access denied (java.la

[JBoss-user] [Persistence & CMP/JBoss] - Re: Configuring JBoss CMP for a caching enviroment

2004-05-26 Thread erik777
JBoss caching is very configurable. I CMP configuration samples on this computer, but I'm sure others can show you examples of how to configure CMP's caching. Virtually all database caching uses "lazy loading", since you can't anticipate what the user will need to read ahead of time, and don'

[JBoss-user] [HTTPD, Servlets & JSP] - Deployment errors when 2nd of 2 apps starts to deploy in /jb

2004-05-26 Thread tbauer
I have an appserver running 3.2.4RC2 (all config). If I only deploy 1 or my 2 applications, it works fine. But the minute I try to start the server that has two .ear files, the second one starts to throw very strange/bogus deployment errors. the errors are: Warning: The methods defined in the r

[JBoss-user] [Persistence & CMP/JBoss] - Re: postgres and foreign key relation problems

2004-05-26 Thread jae77
this is correct - you don't have to set dummy values for any of the primary keys. this would be good info for a wiki faq page, any takers? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836357#3836357 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [Performance Tuning] - Re: Need to be able to use property file to shut off JBoss's

2004-05-26 Thread memoryerror
Thanks! We will try the perm size adjustment, and will also look at porting to the newer JBoss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836355#3836355 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836355 ---

[JBoss-user] [Beginners Corner] - Resource Adapter warning message

2004-05-26 Thread jmaclatchie
I've modified a simple resource adapter from an IBM tutorial on how to develop JCA components. It now deploys ok in my JBoss 3.2.3 environment and returns the correct results, however I see on the log the following INFO message: 17:26:01,300 INFO [NoTxConnectionManager] Unregistered handle tha

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
hbaxmann: anonymous wrote : solution: build a db view per optional field, null-'key' rows will vanish, not the denormalized table This isn't a relational issue. The query I mentioned with 4 columns ironically has no relationships whatsoever. However, it does have 4 optional columns I need to

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
hbaxmann: anonymous wrote : solution: build a db view per optional field, null-'key' rows will vanish, not the denormalized table This isn't a relational issue. The query I mentioned with 4 columns ironically has no relationships whatsoever. However, it does have 4 optional columns I need to

[JBoss-user] [Security & JAAS/JBoss] - RMI & JAAS

2004-05-26 Thread northwhite
Our EJB application need to access another server thru RMI call (JINI in exact) by using standard JAAS (we're using certificate). Seems I have a couple options, can someone please tell me which one is feasible and how, 1) Hard-code JAAS login and acquire Subject, then put all RMI call in privile

[JBoss-user] [EJB/JBoss] - Re: Problem deploying CMR (2)

2004-05-26 Thread chuisman9955
Again I appologize < multiplicity > Many < multiplicity > < multiplicity > One < multiplicity > View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836347#3836347 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836347 -

[JBoss-user] [EJB/JBoss] - Re: Problem deploying CMR (2)

2004-05-26 Thread chuisman9955
Sorry, the Many and One lines should be Many One respectively. One split may have many machines. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836346#3836346 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Installation & Configuration] - Re: jboss and jira on same box conflicting

2004-05-26 Thread hbaxmann
Jira comes in two flavors: a standalone tomcat version and a jira.war ... Let me guess what version you are trying to use ... :) bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836348#3836348 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Performance Tuning] - Re: Need to be able to use property file to shut off JBoss's

2004-05-26 Thread treespace
Congrats! BTW, check out the -XX:MaxPermSize setting for your OOM error. It is very sneaky in that until you visit all of your classes (e.g. broad load test) it will not show up. Try setting that to a healthy 128m. Another off-topic suggestion: 3.2.3 is very stable and 3.2.4 looks like it will

[JBoss-user] [EJB/JBoss] - Re: Problem deploying CMR (2)

2004-05-26 Thread hbaxmann
Shouldn't the lines One Many read as: One Many bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836343#3836343 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836343 -

[JBoss-user] [EJB/JBoss] - Re: Problem deploying CMR (2)

2004-05-26 Thread hbaxmann
hhh, I see ... yes bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836344#3836344 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836344 --- This SF.Net emai

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread hbaxmann
IMHO there is no big, but fundamental problem: - if your app rely on more then one _significant_ optional field - your ER model sucks - NULL compared to anything gives false, even NULL=NULL solution: build a db view per optional field, null-'key' rows will vanish, not the denormalized table wha

[JBoss-user] [Persistence & CMP/JBoss] - Configuring JBoss CMP for a caching enviroment

2004-05-26 Thread ltcmelo
Hi, does JBoss have any features like lazy loading (by configuration) or any other that improves performance? I'd working on a caching use case, so if JBoss have a caching enviromente configuration, it'd be nice too. Can anyone help at all? View the original post : http://www.jboss.org/inde

[JBoss-user] [Persistence & CMP/JBoss] - Re: Server becomes nonresponsive after several Transaction T

2004-05-26 Thread spetter
Additional information: Our transaction timeout is set to 1 hour. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836340#3836340 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836340 -

[JBoss-user] [EJB/JBoss] - Problem deploying CMR (2)

2004-05-26 Thread chuisman9955
Sorry for posting this again, but the first post did not seem to work. I am having trouble deploying an ejb jar file. I am getting the following error (condensed): [ObjectName: jboss.j2ee:jndiName=ejb/MachineLocal,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.Dep

[JBoss-user] [EJB/JBoss] - Lookup inside EJB

2004-05-26 Thread jmwong
I have a problem looking up EJB homes from inside a different EJB. I'm using this code inside a servlet: | Context initial = new InitialContext(); | Object objref = initial.lookup("java:comp/env/ejb/Sensor"); | sensorHome = | (SensorHome) PortableRemoteObject.narrow(objref, SensorHome.

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-26 Thread rberehoudougou
Hi, Here is my primary key class : public class ProductPK implements java.io.Serializable { /* * Note that the primary key fields must be a * subset of the the container-managed Bean fields. * The fields we are marking as container-managed in * ou

[JBoss-user] [Persistence & CMP/JBoss] - Server becomes nonresponsive after several Transaction Timeo

2004-05-26 Thread spetter
I have an application that is able to function continously for many days without any problems. Suddenly, the application stops processing, and we start getting several occurances of the following message/warning: 10:42:37,961 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [Format I

[JBoss-user] [Installation & Configuration] - Re: Setting LDAP connections timeout (Urgent!)

2004-05-26 Thread hbaxmann
some longer times before I was searching for a way to prevent the JNDIView from hang and crash the server if one tries to list the whole (serveral 1000s of CN's) federated LDAP namespace tree. Does not found a reliable way. It depends on the LDAP server config. bax View the original post : ht

[JBoss-user] [Installation & Configuration] - Re: Can jboss run on Itanium processor

2004-05-26 Thread hbaxmann
Have it up and running here on a AMD64 with RedHat EL 3.0 if somebody is interested in the test results, ask. bax PS: Does not know what windows is nor Itanium ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836333#3836333 Reply to the post : http://www

[JBoss-user] [Installation & Configuration] - Re: JBoss on IBM Mainframe (ZSeries)

2004-05-26 Thread hbaxmann
have a look at Hercules, there you will be able to install Suse/390 on a PC. Not very :) fast - but doable. bax URL: http://www.conmicro.cx/hercules/hercnew.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836332#3836332 Reply to the post : http://www.jb

[JBoss-user] [Persistence & CMP/JBoss] - Re: curious SQL-Statements when loading related data

2004-05-26 Thread ironbird
No you were not dreaming, or we were all dreaming. But it seems that the server falls down many times actually. Its not Alex who tells you the "on-find" strategy but me. But Alex post after me saying that you should keep your on-load strategy, I don't know why. on-load load the beans one by one

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread ironbird
anonymous wrote : | Because I am using container managed persistence (CMP) and EJB-QL is a the Query Language? | EJB-QL query is for persistence with additional features, not complex queries. I agree with you that the spec is not adapted with professional applications. I work in industry

[JBoss-user] [Persistence & CMP/JBoss] - Re: curious SQL-Statements when loading related data

2004-05-26 Thread lafr
Was I dreaming last night ? I think not. I'm sure I saw a posting from alex loubiansky yesterday evening here. He told me to put "read-ahead="on-find"" onto the relation. I tried this with success. Now again only one DB-Access in server.log for reading the all the rows with all the fields from t

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Too much log output - getting request body chunk

2004-05-26 Thread techmonkey
In case anyone else gets this problem: I was able to fix it by adding a "limit category" section near the bottom of the log4j.xml conf file. This allows you to selectively set logging levels for different categories. I set the level to WARN for the category "org.apache.jk.common.JkInputStream"

[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss/oracle/xdoclet auto-increment

2004-05-26 Thread lafr
I have it working with this tags: at bean level I have e.g.: * @jboss.entity-commandname="oracle-sequence" * @jboss.entity-command-attribute name="sequence" value="mbi_afsta_seq" for the primary key field then I have: * @jboss.auto-increment The PK-field is defined as usua

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
anonymous wrote : | Why do you want the container do the job for you ? | Because I am using container managed persistence (CMP) and EJB-QL is a the Query Language? Are you asking why I'm using container managed persistence? | - To obtain database vendor indepedence. The applicati

[JBoss-user] [Performance Tuning] - Re: Misleading out of memory error while loadtesting

2004-05-26 Thread treespace
This looks like a classic case of exhausted perm space. Try setting -XX:MaxPermSpace=128m if you are loading a lot of classes. The default with -server is 64m. This is a known problem when there are large numbers of classes being loaded. WebLogic 8.1 SP2, for example, uses almost 40 megabytes o

[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss/oracle/xdoclet auto-increment

2004-05-26 Thread ironbird
Not tutorial but many topics in this forum (you can use search before posting) http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49321 http://www.jboss.org/index.html?module=bb&op=viewtopic&t=47787 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836323#3

[JBoss-user] [Performance Tuning] - Re: Thee Distinct and Important Issues

2004-05-26 Thread [EMAIL PROTECTED]
Thanks Rod, feel free to fill in whatever you see missing on this Wiki page. Particularly interesting are your experiences on JVMs other than Sun's. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836322#3836322 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-26 Thread ironbird
Hi, I think your have a problem with the primary key of the Product entity, not the database. Do you have a compound primary key ? (Why the primary key class is declared as cmptest.ProductPK ?) The error says that probably there is no field between SELECT and FROM:the SQL query is like this "SE

[JBoss-user] [Javassist user questions] - Can Javaassist dynamically load Java Source files to use in

2004-05-26 Thread slinky
Is there any way I can create CtClass objects directly from Java source files? Thanks, JWS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836320#3836320 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836320 --

[JBoss-user] [Management, JMX/JBoss] - Re: Using JMX as an OSGI alternative

2004-05-26 Thread [EMAIL PROTECTED]
Package your MBeans as a SAR archive and use the MainDeployer's deploy operation to deploy the SAR. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836318#3836318 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836318

[JBoss-user] [Beginners Corner] - How to define timeout on remote calls to JBoss?

2004-05-26 Thread davout
A newbie question... I'm building a combined Struts + JBoss application. To aide development I want to split the process load so that the Struts app runs on one machine and the JBoss tier runs on a second. I've setup the JNDI params so this works, however I've noticed that on certain calls whe

[JBoss-user] [Performance Tuning] - Re: Thee Distinct and Important Issues

2004-05-26 Thread treespace
I meant to say in #1 and #2 that you will NOT get out of memory errors for these issues, question mark snuck in. Also the connection checker is part of your oracle-ds.xml, in the example shown. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836316#3836316 R

[JBoss-user] [Performance Tuning] - Thee Distinct and Important Issues

2004-05-26 Thread treespace
I recently fixed three distinct issues and noticed a lot of posts that were related but never really got to the bottom of the problem. In particular a Out of Memory Error issue that has been a long-standing problem in all application servers where the heap actually looks fine: people exhaust hou

[JBoss-user] [EJB/JBoss] - Periodic Database Connection Dumping? (Every 30 minutes)

2004-05-26 Thread astehman
Greetings, Our DBA graphed some unusual DB conxn activity from our app server. Every 30 minutes, all DB conxns are destroyed and recreated. Any ideas why, and if this should happen, and whether such destruction can be occurring on active conxns and thus corrupting data and impacting running tx

RE: [JBoss-user] [Messaging, JMS & JBossMQ] - Re: destroying a MDB after instantiation

2004-05-26 Thread Adrian Brock
Absolutley not! Read the JMS Spec, throwing a RuntimeException results in completely nonportable behaviour. It also does not solve his problem, he wants to stop delivery not throw away the MDB instance. On Wed, 2004-05-26 at 19:25, Mateus GonÃalves dos Santos wrote: > throw new RuntimeException

[JBoss-user] [Management, JMX/JBoss] - Re: Using JMX as an OSGI alternative

2004-05-26 Thread jspence96
Great but how can it be done programatically? Your help would be greatly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836313#3836313 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836313 --

RE: [JBoss-user] [Messaging, JMS & JBossMQ] - Re: destroying a MDB after instantiation

2004-05-26 Thread Mateus Gonçalves dos Santos
throw new RuntimeException -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of sgelberg Sent: terça-feira, 25 de maio de 2004 21:55 To: [EMAIL PROTECTED] Subject: [JBoss-user] [Messaging, JMS & JBossMQ] - Re: destroying a MDB after instantiation Reason I want t

[JBoss-user] [Management, JMX/JBoss] - Re: Using JMX as an OSGI alternative

2004-05-26 Thread kabkhan
Yes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836312#3836312 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836312 --- This SF.Net email is sponsored by: Oracl

[JBoss-user] [Persistence & CMP/JBoss] - jboss/oracle/xdoclet auto-increment

2004-05-26 Thread sbv_chris
Hi, I have an oracle 9i table set up with a sequence and trigger to support auto-increment. I've tried to enable this functionality on the entity bean in jboss using xdoclet tags but can't seem to get it right. Bean level tags: | * @jboss.unknown-pk | * class="java.lang.Object"

[JBoss-user] [Management, JMX/JBoss] - Using JMX as an OSGI alternative

2004-05-26 Thread jspence96
I want to use MBeans as an alternative to the OSGI bundle mechanism and I am wondering if JBoss supports this kind of thing. I want to write several MBeans as service modules or bundles and want to be able to install, uninstall, start and stop these module or bundles dynamically. I know with JBo

RE: [JBoss-user] EAR1 invoking EJB interface in EAR2

2004-05-26 Thread Jae Gangemi
in the future, pls post messages on the forums (they get posted to the mailing lists). http://www.jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions read that wiki page - ultimately you need to package the interfaces for the ejb contained in EAR2 in its own jar file and deploy it se

[JBoss-user] EAR1 invoking EJB interface in EAR2

2004-05-26 Thread Pedro Salazar
Greetings, I would like to access from an application 1 packed in a EAR1 to another application 2 packed in EAR2 through the EJB interfaces in EAR2. EAR1 --- invoke > EAR2 (EJB) My problem is that my client in EAR1 should have always the interfaces of EAR2. Is no possible to access another E

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem

2004-05-26 Thread catalean
Little correction, sorry for that, the following is wrong: | | stateless-http-invoker | | helloworld/HelloHTTP | This is correct: | | stateless-http-invoker | helloworld/HelloHTTP |

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem

2004-05-26 Thread themuppeteer
hmm no succes... don't even find my bean. Catalean, may I ask how you layed the connection to the detached http invoker from the 'unknownHostException' ? If I google on 'detached http invoker hostname' I get nothing. Wouldn't there be a way to 'set' the ip correctely after we got the home interf

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-26 Thread rberehoudougou
Ok, here we go : 1) ejb-jar.xml http://java.sun.com/dtd/ejb-jar_2_0.dtd";> Product Product Product cmptest.ProductHome cmptest.Product cmptest.ProductLocalHome cmptest.ProductLocal cmptest.ProductBean Container cmptest.ProductPK

[JBoss-user] [Persistence & CMP/JBoss] - Re: malformed DTD for jbosscmp-jdbc.xml

2004-05-26 Thread rstinejr
Someone fixed the DTDs for jbosscmp-jdbc 3.0 & 3.2. Thank you, mysterious stranger! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836305#3836305 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836305 ---

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

2004-05-26 Thread loubyansky
You are probably running JBoss compiled with j2sdk1.4.x under jdk1.3.1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836303#3836303 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836303 -

[JBoss-user] [Nukes User] - Re: Issues with 5/25 snapshot

2004-05-26 Thread jae77
it'd be great if you could report other issues, but for now i'd just focus on what's going to be released. i had to put in a "hack" to get postgres working w/ the pure cmp solution, and i just read another post that should allow me to remove that hack. if it works, it will affect the way data i

[JBoss-user] [Persistence & CMP/JBoss] - Re: storing byte[] CMP field with size > 2000k

2004-05-26 Thread rlopez
Try [B VARBINARY BLOB(size) size should be in bytes or in kbytes as 2K or magabytes as 2M etc I use [B VARBINARY BLOB(3M) for 3 megabyte BLOB. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836299#3836299 Reply to the post : http://www.jboss.org/

[JBoss-user] [Installation & Configuration] - Error in hour in log in cluster

2004-05-26 Thread cruiz13
Hi... i'm running jboss3.2.3 in cluster whith solaris 9 My problem is, when see my log the jboss show one date different, and SO this ok date Idea??? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836298#3836298 Reply to the post : http://www.jboss.

[JBoss-user] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread ironbird
"jdwn" wrote : I watched the other topic (already watched it in a previous search), but it's surprising me that it's impossible to have relationships over different jar's. You watch badly ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836297#3836297 Reply

[JBoss-user] [Nukes User] - Re: Issues with 5/25 snapshot

2004-05-26 Thread cuoz
Very well. I'll try and beat on the supported modules and report any issues that I find. Do you care to hear about other problems right now? Or would you rather just focus on the supported modules? I think the pure CMP implementation will be nice. PostgreSQL is my preferred DB, but I've had

[JBoss-user] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread jae77
i believe this can be done (i'm pretty sure i'm doing it right now). are you including the deployment descriptor information for the related beans? (you may also need to set dependencies on the other ejbs to make sure they are deployed before you app). View the original post : http://www.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread ironbird
You can do what you want with DynamicSQL, which is specific to JBoss. But the J2EE spec do not address your needs. Even in any language (PL-SQL, T-SQL, C++ or whatever), you need to build dynamically your SQL string to do what you want. Why do you want the container do the job for you ? View t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: destroying a MDB after instantiation

2004-05-26 Thread sgelberg
OK, thanks. Where can I look to see how to programatically destroy the MDB and keep jboss from instantiating new ones. Same search? search: redeliverydelay search: stopDelivery search: JMSContainerInvoker search: not part of the spec search: why is adrian rude when you don't use search

[JBoss-user] [Nukes User] - Re: Issues with 5/25 snapshot

2004-05-26 Thread jae77
the quotes module is not "officially" supported right now, but thx for reporting that bug. it will be re-released and cleaned up in a future version of nukes. the modules slated for the 1.1 release are: - core - forums (bb) - news - downloads feel free to take these guys for a spin, but don't

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

2004-05-26 Thread ironbird
Post the whole entity declaration (fields) from ejb-jar and I don't understand the remainder: I don't give a shit about standardjbosscmp-jdbc.xml, its a system file ! I ask you jbosscmp-jdbc.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836289#3836289

[JBoss-user] [Nukes User] - Re: Issues with 5/25 snapshot

2004-05-26 Thread cuoz
I just created a poll and told it to be on the right side. It showed up on the left. When I tried to move it, I see: 12:10:25,443 INFO [JDBCDeploymentScanner] Deployed nukes.blocks:name=poll,id=1 12:10:52,004 ERROR [Page] Some error occured javax.management.InstanceNotFoundException: nukes.blo

[JBoss-user] [Nukes User] - Issues with 5/25 snapshot

2004-05-26 Thread cuoz
Just FYI, I'm testing nukes for a potential deployment and came across a few problems so far. Platform is linux, db is mysql. 1. When running the installer, I had some problems (permissions) that required me to back up and recreate the tables. I told the installer to run the drop table script

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
anonymous wrote : Path expression navigability is composed using ?inner join? semantics. That is, if the value of a non-terminal cmr-field in the path expression is null, the path is considered to have no value, and does not participate in the determination of the result. | If that's the stan

[JBoss-user] [Persistence & CMP/JBoss] - Re: postgres and foreign key relation problems

2004-05-26 Thread millerm1
I just recently converted from using hypersonic to postgres, and I was having the same problem with cmr fields with foreign keys. I foun dthat the probelm was caused because when the tables were created they were set to make the fk columns non-nullable. I believe this was because when no jdbc

[JBoss-user] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread jdwn
First of all, thanks for the quick replies! I watched the other topic (already watched it in a previous search), but it's surprising me that it's impossible to have relationships over different jar's. This means that I've to put nearly all my entity beans in one jar file (or dd). This is imposs

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

2004-05-26 Thread Alastair Brown
ejb-jar.xml excerpt findByBatchId java.lang.String View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836280#3836280 Reply to the post :

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-26 Thread erik777
The problem with that query is that it will return rows where c.customer IS NULL but the parameter ?1 is not null. You only want rows where c.customer is null and ?1 is also null. The equals doesn't work, and IS NULL only tests one side of the equation. You can't apply it to the parameter to

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem

2004-05-26 Thread themuppeteer
Sorry for that Adrian, I found this link by using google. I think the problem is more general then only JMS. Anyway, the solution to cataleans problem is the same as for my problem and thats why I'm on this thread. Catalean, I'll try this tonight and post the result. Hope it works. View the ori

[JBoss-user] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread ironbird
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49941 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836277#3836277 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836277

[JBoss-user] [Installation & Configuration] - Re: error on start JBoss 4.0.0DR4

2004-05-26 Thread [EMAIL PROTECTED]
Uses xerces. crimson is well old. I doubt it has support for namespaces. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836276#3836276 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836276 ---

[JBoss-user] [EJB/JBoss] - Re: Relationships over different jar's

2004-05-26 Thread [EMAIL PROTECTED]
Last time I tried this it was not possible. I don't know if 3.2.x has changed wrt this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836275#3836275 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836275 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: RMI over HTTP , hostname appears in client instead of ip

2004-05-26 Thread [EMAIL PROTECTED]
"themuppeteer" wrote : | I don't use JMS | Why are you posting in the JMS forum then? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836273#3836273 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836273 -

[JBoss-user] [Beginners Corner] - Hibernate Deployment

2004-05-26 Thread Itchyoinker
Hi, Does anyone know why a hibernate class can't be located upon attempting to compile its respective mapping document (xml.hbm) during deployment? I think the problem is due to classloading, but I don't know how to solve it. Everything else seems to depoy fine. I'd really appreciate any

  1   2   >