[JBoss-user] [Installation & Configuration] - Re: classloader configuration

2004-04-03 Thread [EMAIL PROTECTED]
However, the UseJBossWebLoader=true in 3.2.3 does give the EJB deployment visibility into the WEB-INF/lib so it is possible to do. Your suggestion works also. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829074#3829074 Reply to the post : http://www.jbos

[JBoss-user] [Installation & Configuration] - Re: Custome Configuration Error

2004-04-03 Thread [EMAIL PROTECTED]
What is the very first exception or error you see on your server log? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829073#3829073 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829073 --

[JBoss-user] [Installation & Configuration] - Re: How do I set up JBoss

2004-04-03 Thread [EMAIL PROTECTED]
Upgrade to JDK 1.4 to get around the JVM crash. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829072#3829072 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829072

[JBoss-user] [Persistence & CMP/JBoss] - CMR, three way relationship

2004-04-03 Thread glazed
Hello I assume that what I am going to ask cannot be done with the current CMR spec. But I will give the question a go anyway just to be sure. I have an existing datamodel that looks like this: table1: PRODUCT PRODUCT_ID (pk) table2: ITEM ITEM_ID (pk) table3: PRODUCT_ITEM PRODUCT_ID (fk PRODU

[JBoss-user] [Installation & Configuration] - Re: Apache Connector for JSP????

2004-04-03 Thread [EMAIL PROTECTED]
You still need mod_jk on the Apache side for apache to be able to pass the HTTP request to Tomcat View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829070#3829070 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829070 -

[JBoss-user] [Beginners Corner] - Re: maxProcessors & acceptCount parameters

2004-04-03 Thread [EMAIL PROTECTED]
you can go as far as how many threads your system is able to handle concurrently View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829069#3829069 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829069 ---

[JBoss-user] [Beginners Corner] - Re: Transaction Times?

2004-04-03 Thread [EMAIL PROTECTED]
RequiresNew starts a new independent transaction and suspends the existing one until the new tx commits View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829068#3829068 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38290

[JBoss-user] [Beginners Corner] - Re: JMX Colnsole

2004-04-03 Thread [EMAIL PROTECTED]
http://localhost:8080/web-console View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829067#3829067 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829067 --- This SF.Ne

[JBoss-user] [Beginners Corner] - Re: problem to init MBean

2004-04-03 Thread [EMAIL PROTECTED]
MBeanRegistration.preRegister? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829066#3829066 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829066 --- This SF.Net e

[JBoss-user] [Beginners Corner] - Re: Deploying EJB's that use classes in web-inf\classes

2004-04-03 Thread [EMAIL PROTECTED]
Correct, there's no visibility from an EJB to the servlet's WEB-INF/classes in JBoss 3.0, you need to share the classes in a location somewhere other than WEB-INF (pretty much anything else will work) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829065#3

[JBoss-user] [Beginners Corner] - Re: Memory leak on redeploy

2004-04-03 Thread [EMAIL PROTECTED]
See: http://sourceforge.net/tracker/index.php?func=detail&aid=576913&group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829064#3829064 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829064 ---

[JBoss-user] [Beginners Corner] - Re: Linux platform

2004-04-03 Thread [EMAIL PROTECTED]
yes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829063#3829063 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829063 --- This SF.Net email is sponsored by: IBM L

[JBoss-user] [HTTPD, Servlets & JSP] - access restriction to URLS

2004-04-03 Thread tomerbd
Hi How can I restrict access to urls i.e. "localhost:8080/" or any other url pattern "localhost:8080/xxx" ? Thanks Tomer View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829061#3829061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Beginners Corner] - Re: auto-increment CMP entity bean in Hypersonic

2004-04-03 Thread [EMAIL PROTECTED]
This works for me: jbosscmp-jdbc.xml | | | | Books | java:/DefaultDS | Hypersonic SQL | false | | java.lang.Integer | | ID | INTEGER | INTEGER | |

[JBoss-user] [Beginners Corner] - Re: communicating over socket port 1411

2004-04-03 Thread [EMAIL PROTECTED]
There's nothing in JBoss that is actively trying to block you from doing socket connections. There's some other error in your code or deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829058#3829058 Reply to the post : http://www.jboss.org/index.ht

[JBoss-user] [Beginners Corner] - Re: start failure, help please!!!

2004-04-03 Thread [EMAIL PROTECTED]
You cannot use JDK 1.5 beta to run JBoss. This is a FAQ in the wiki. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829059#3829059 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829059 ---

[JBoss-user] [Beginners Corner] - Re: WARN [NamingContext] Failed to connect to http:1099

2004-04-03 Thread [EMAIL PROTECTED]
Your naming properties: WARN [NamingContext] Failed to connect to http:1099 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829057#3829057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829057

[JBoss-user] [Persistence & CMP/JBoss] - Can i change the default Persistence Storage?

2004-04-03 Thread liuhf
hi all, i use MS SQL SERVER 2000 as my database . Althourgh i did not change the Default Pesistence Storage of EJB Container: Hypersonic , i have not catched any operational errores when i access to MS SQL SERVER 2000. WHY ?And can i change the Default Pesistence Storage of EJB Conta

[JBoss-user] [EJB/JBoss] - java.net.SocketTimeoutException under load

2004-04-03 Thread mihaip
I'm running JBoss 3.2.2 under HP-UX11. I have a cron job that starts a java client that connects to one of the EJB's every hour for half an hour, and executes a method on that session bean. Everything in nice until jboss reaches its heap limit (set to 400 M). It takes a while to get there (24-32

[JBoss-user] [Javassist user questions] - Re: Can this be achieved using javassist?

2004-04-03 Thread wangglei
Thanks chiba. But here what I want to change is not just the name of a class, but I mean a totally different class, including declaration of the class, its members and implementations, such and such. And even though I change the classname of one class, how to make changes to all the related clas

[JBoss-user] [JBoss.NET & SOAP] - No thread for Socket.........

2004-04-03 Thread Lee_x_Francis
I have a web service deployed that acts like a data feed, clients connect to it and request data. The clients time out after 30 secs, if there is no data then reconnect. The problem I am seeing is that each time the clients disconnect then reconnect the web service leaves a thread open until eve

[JBoss-user] [Persistence & CMP/JBoss] - Re: finder with single result

2004-04-03 Thread mkyaj
Hi, I think changing that finder return type to Collection and getting ur required entity from that collection in the code will the alternative for this. (But it may be like loading unnecessary data :-( ) Murali. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

Re: [JBoss-user] [Beginners Corner] - JAVA_HOME set, not finding /lib/tools.jar

2004-04-03 Thread Jack Lauman
I assume you out the JAVA_HOME line in /etc/profile. Add this line below it: export JAVA_HOME Then log out and log back in. santoshamb wrote: I'm trying to set up JBoss - In /etc/default/jboss I have the line: JAVA_HOME=/usr/lib/j2sdk1.4.2 I've verified that /usr/lib/j2sdk1.4.2 is good, and tha

[JBoss-user] [EJB/JBoss] - difference between local and remote calls

2004-04-03 Thread cari34
Hi guys, I have several stateless EJB deployed on JBOSS, on the same machine. They use the remote interfaces to communicate. I want to know if there is any benefit to use the local interfaces for communication between EJB on the same server, instead of the remote? In particular, is there any ga

[JBoss-user] [Beginners Corner] - JAVA_HOME set, not finding /lib/tools.jar

2004-04-03 Thread santoshamb
I'm trying to set up JBoss - In /etc/default/jboss I have the line: JAVA_HOME=/usr/lib/j2sdk1.4.2 I've verified that /usr/lib/j2sdk1.4.2 is good, and that lib/tools.jar exists However, when I start jboss using run.sh it gives me the following error at the beginning of the startup process: run.

[JBoss-user] [Clustering/JBoss] - Re: HA Data source... how?

2004-04-03 Thread nickman
You might also look at ObjectWeb's Clustered-JDBC. Seems pretty decent, but I have not used it. C-JDBC: http://c-jdbc.objectweb.org/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829032#3829032 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Ping Timeout

2004-04-03 Thread alanc_yang
I have two subscribers, one MBean and one MDBean that in 1 min apart, the exceptoin was thrown as in the following: 07:57:05,473 WARN [Connection] Connection failure: org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.io.IOException: ping timeout.) at org.jboss.

[JBoss-user] [Beginners Corner] - Simple Questions

2004-04-03 Thread bacro
Hi I am a newbie at jms and I want to know a few things about this provider: Can jboss allow one client to subscribe/publish to topic, say A, and another client subscribe/publish to topic B but not A? Can a .net c# application send subscribes/publishes to jboss server? If Jboss can do all of i

[JBoss-user] [Installation & Configuration] - Re: Apache Connector for JSP????

2004-04-03 Thread rhugga
I see this is now embedded in tomcat somehow. Does this mean all I need to do is the apache side configuration? (build and install mod_jk2 and configure the workers???) Thx, CC View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829029#3829029 Reply to the post

[JBoss-user] [Security & JAAS/JBoss] - Re: Login as new user from login module

2004-04-03 Thread [EMAIL PROTECTED]
Its not clear what you are talking about here. What is an example of what you are doing to relogin as the internal user? Submit the example as a bug report to sourceforge: http://sourceforge.net/tracker/?group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [Clustering/JBoss] - Re: service unavailable

2004-04-03 Thread tom.baeyens
BTW, I use jboss-3.2.3 I found the problem but the error message pointed me in a complete wrong direction. Therefor... Feature request : when an object that is returned from a client is not serializable, throw an appropriate exception on the server and the client. Now, the exception is masked

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Bug with post data surviving form based login?

2004-04-03 Thread [EMAIL PROTECTED]
The fix has been in cvs since Wed. No more soup for you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829026#3829026 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829026

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Bug with post data surviving form based login?

2004-04-03 Thread uhurusurfa
Dont hold your breath for these guys. You might just die. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829025#3829025 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829025 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: IllegalStateException while removing entities in CMR.

2004-04-03 Thread ebrain13
According to Specs. anonymous wrote : 10.3.6.1 Use of the java.util.Collection API to Update Relationships | The Bean Provider should exercise caution when using an Iterator over a collection in a container-managed relationship. In particular, the Bean Provider should not modify the container-m

[JBoss-user] [Installation & Configuration] - Apache Connector for JSP????

2004-04-03 Thread rhugga
Is there a connector in Jboss for Apache that forwards all *.jsp requests to the Jboss server. (Tomcat used to have the jk2 conector, but it appears development on the connector has stagnated) I want a URL such as mydomain.com/some/deep/directory/myfile.jsp to be auto-magically handled by Jbos

[JBoss-user] [Security & JAAS/JBoss] - Re: Login as new user from login module

2004-04-03 Thread monster
Additional results: Also this problem occurs when user was logged in and we are trying to relogin from jsp as `internal' user, or from EJB. In other words, we can't login as 'internal' for some specific activity in LoginModule, JSP, EJB, after we were logged in as `user' View the original post

[JBoss-user] [Performance Tuning] - Re: Local optimizations and transactions

2004-04-03 Thread loubyansky
Yes. It is recommended to access CMP beans with a tx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829020#3829020 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829020 ---

[JBoss-user] [EJB/JBoss] - Re: FK Constraints not recognized by JBOSS.

2004-04-03 Thread loubyansky
"ebrain13" wrote : So on deletion of A i should get Referential Intergrity violation as B is referencing A. First of all, it is not a bug (or point me to the spec paragraph that states that). But some users are confused with this. I would agree with config option for this case. You can submit

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem with relation between EJBs

2004-04-03 Thread loubyansky
Do I understand you right that you have a CMP bean deployed with LDAP persistence manager? What is the implementation? And how do you deploy it on JBoss? Unfortunately, you can't have relationships using different persistence managers. View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [Persistence & CMP/JBoss] - Re: finder with single result

2004-04-03 Thread loubyansky
According to 10.5.6.1 Single-object finder, it should throw FinderException. Doesn't it happen? How can it return null if there are several rows matching the criteria? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829017#3829017 Reply to the post : http://w

[JBoss-user] [Persistence & CMP/JBoss] - Re: Wrong SQL Statement... (MySQL)

2004-04-03 Thread loubyansky
It is absolutely fine to contraint into the create statement. I guess, you are using | Hypersonic SQL | with MySql datasource. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829016#3829016 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Persistence & CMP/JBoss] - Re: Creating relations to two EJBs

2004-04-03 Thread loubyansky
How do these relationships are configured in ejb-jar.xml and jbosscmp-jdbc.xml? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829015#3829015 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829015 -

[JBoss-user] [EJB/JBoss] - context problems

2004-04-03 Thread Berritxu
Hello! I'm having some context problems, I think. When I launch my EJBs, all is OK. But launching an EJB from dispatcher MBean, I've an NamingException error. It cant't find java:comp/env/ejb/myejbControllerenv What is the problem? EJB's and MBean's contexts are diferent? How can I solve it?

[JBoss-user] [Persistence & CMP/JBoss] - Re: Compound PK problem

2004-04-03 Thread loubyansky
I guess this is because you don't have a no-arg constructor for the PK class. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829013#3829013 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829013 ---

RE: [JBoss-user] unknown-pk won't work...

2004-04-03 Thread Alexey Loubyansky
Is this generated by JBossCMP for MySql? I would guess that in fact it is for Hypersonic. In this case you should set pk-constraint to false. Because, Hypersonic does not allow IDENTITY and explicit primary key constraint at the same time. > -Original Message- > From: [EMAIL PROTECTED]

[JBoss-user] [Persistence & CMP/JBoss] - Re: mysl (cmp) ->

2004-04-03 Thread loubyansky
You will find both on http://xdoclet.sourceforge.net View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829012#3829012 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829012

[JBoss-user] [EJB/JBoss] - Re: J2EE CMP EJB Error compiling ejbql FROM not found

2004-04-03 Thread loubyansky
The queries are correct. 'AS' is optional. Are you sure the exception is thrown parsing the queries you posted? What if you try a later JBoss version? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829011#3829011 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [EJB/JBoss] - Re: how to do this kind of jboss-ql?(select top n from....)

2004-04-03 Thread loubyansky
Like this | SELECT OBJECT(o) FROM OrderX o OFFSET ?1 LIMIT ?2 | It is, in fact, does not translate into a vendor specific SQL syntax but the result set is read taking into account the values. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829010#3829010

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR many to many w/ compound keys

2004-04-03 Thread loubyansky
Yes, it does support it. First of all | | hints that it is either 1:1 or 1:m. You something like | | A_C | java:/DefaultDS | Hypersonic SQL | true | true | | instead. View the original post : http://www.jbo

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBossCMP and multiple database schemas (using postgres)

2004-04-03 Thread loubyansky
It does not seem to be that hard to do taking into the anaysis you've done. If you come up with a patch please submit it to sf.net, it'll be applied. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829008#3829008 Reply to the post : http://www.jboss.

[JBoss-user] [Persistence & CMP/JBoss] - Re: IllegalStateException while removing entities in CMR.

2004-04-03 Thread loubyansky
What is the method code that fails? So far it works for me with these relationships and the data. If you have a testcase you can submit a bug report on sf.net/projects/jboss. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829007#3829007 Reply to the p

[JBoss-user] [HTTPD, Servlets & JSP] - Re: unable to compile jsp after redeploying war...???

2004-04-03 Thread uramisten
The actual application in question here is a modified version of jpivot (jpivot.war from the downloads at sourceforge.net/projects/jpivot). I thought maybe I messed something up, so I tried the stock version too.. same results. jboss 3.2.3, java sdk version 1.4.2_03, same on win32, or on linux.

[JBoss-user] [Persistence & CMP/JBoss] - Re: DuplicateKeyException threw wrongly - Exception handling

2004-04-03 Thread loubyansky
This is how it is fixed in 3.2.4RC2 | catch(SQLException e) | { | if(exceptionProcessor != null && exceptionProcessor.isDuplicateKey(e)) | { | log.error("Failed to create instance.", e); | throw new CreateException( |

[JBoss-user] [Persistence & CMP/JBoss] - Re: Could not create two instances of the same entity at the

2004-04-03 Thread loubyansky
|// If rolled back -> invalidate instance |if (status != Status.STATUS_ROLLEDBACK) |{ | switch (commitOption) | { | // Keep instance cached after tx commit |

[JBoss-user] [Security & JAAS/JBoss] - Login as new user from login module

2004-04-03 Thread monster
When some user try to login, he should come throw my own login module. This module needs to obtain information from EJB as, for example, `internal' user, so login module should in turn login as `internal' . When I try to execute first LoginContext.login() (as `user'), it enters in my login modu

[JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()

2004-04-03 Thread monu
Hi Sacha/Bela, It would be nice if you can release fix for jboss version 3.2.2 itself .Switching to RC verison of jboss might not good choice for production. Thanks, Monu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829002#3829002 Reply to the post : ht