[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown-pk usage ?

2004-05-07 Thread sesques
Thanks very much Alex. This is more clear for me. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834063#3834063 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834063 --

[JBoss-user] [Messaging, JMS & JBossMQ] - JbossMQ Error at Heavly load

2004-05-07 Thread jmer
Hi list; Im using jboss-3.2.2 as server. Im doing a load testing my MDB using Jmeter.My MDB does is read a Object message from a queue and query a stored procedure on sql server(select) and dump the result to a mysql database and finally create a message and send to another on which anot

[JBoss-user] [Security & JAAS/JBoss] - Re: Very Very Urgent !! Multiple User

2004-05-07 Thread anbenham
Hi, Here are my details: RuntimeEnvironment: JBoss 3.2.3 with Tomcat 4.1 Configuration: 1-Single Sign On in Tomcat enabled 2-I Use my own Implementation for the LoginModule 3-I use my own Implementation of the Principal Implementation: LoginModule | public boolean commit() throws LoginExce

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependency resolution

2004-05-07 Thread aseembansal
Thanks. That was what I was looking for. -Aseem View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834059#3834059 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834059 ---

[JBoss-user] [EJB/JBoss] - Re: Socket connections in stateful session bean

2004-05-07 Thread darranl
Unless you are happy ignoring the J2EE specification session beans must not open socket connections. You should be looking at JCA or possible MBeans to handle the connections. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834058#3834058 Reply to the post :

[JBoss-user] [Security & JAAS/JBoss] - Re: Change rolesQuery in DatabaseServerLoginModule

2004-05-07 Thread jburugupalli
HI, I have an idea, better write some class similar to NestedPrincipal which holds information other than the principal and set this Pricipal in the ClientLoginModule instead of SimplePrincipal. SecurityAssociation.setPrincipal(new SimplePrincipal(username)); But you should write your

[JBoss-user] [Nukes User] - Re: newbie questions on Nukes

2004-05-07 Thread hxp
Jujube -- "jujube" wrote : - Does Nukes require the use of a full J2EE server like JBoss? Or can it be used with just Tomcat? (Perhaps a dumb question since it was developed by JBoss. But it never hurts to ask. :-) ) | Nukes requires JBoss3.2.3, period. Dont think about trying w another versi

[JBoss-user] [Performance Tuning] - Re: Jboss server fails with 20 concurrent hits - service una

2004-05-07 Thread rraam75
hi, thanx Sacha I changed the backlog value from 50 to 500 & 5000..but still i face the same exception... In the above mail in the run() mtd i wrongly given the code that belongs to weblogic server...however there is not much change except the setting of env properties... Below is the correct

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB to talk to remote queue via HTTP tunelling

2004-05-07 Thread andre_v
Before I am going to great lengths explaining my problem. I just want to know whether it is possible for an MDB to listen on a remote queue using HTTP tunelling. If it is possible is there any special way of configuring it ?? Apart from the other well documented way. I tried by changing the

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependency resolution

2004-05-07 Thread raja05
Ofcourse there is, the MBeanRegistry implementation in jboss does have this. getServer().getAttribute(this.dependBean); is going to take this value from the Registry and return the MBean associated with the object name, View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Beginners Corner] - Cannot authenticate user - ConnectException: Connection ref

2004-05-07 Thread KTM
Hi, I'm pretty new to JBoss and have a situation here and i really hope someone could lend a hand. I'm running JBoss 3.2.3 on a redhat 9 machine. The client is running off a Fedora machine. (the jbossall-client.jar is also 3.2.3) The client needs to publish a message to JMS, but it keeps throwin

[JBoss-user] [EJB/JBoss] - Socket connections in stateful session bean

2004-05-07 Thread tbrandt
Hi, We are trying to connect a legacy server from a stateful session bean via tcp/ip sockets. The server is an interpreter which provides applications itself (in a binary protocol). As we want to provide these applications on the web, we built a stateful bean which acts as a client to this serv

[JBoss-user] [Beginners Corner] - Sessionbean and DB connection PB

2004-05-07 Thread aquafresh
Hello, I have a problem when I want to access a database via my session bean I use Jboss3.2.3 with postgresql 7.4 db I have got a MDB tha listening on a topic when it receives a message a session bean is instanciated and this one get record from a database but after deploying my beans and the

[JBoss-user] [Beginners Corner] - Sessionbean and DB connection PB

2004-05-07 Thread aquafresh
Hello, I have a problem when I want to access a database via my session bean I use Jboss3.2.3 with postgresql 7.4 db I have got a MDB tha listening on a topic when it receives a message a session bean is instanciated and this one get record from a database but after deploying my beans and the

[JBoss-user] [Installation & Configuration] - Re: Unable to compile inspectMBean_jsp.java file

2004-05-07 Thread ET
"aanand" wrote : Check if you have jbossall-client.jar in your /WEB-INF/lib directory. I think that I had the same error and the culprit was this jar file. | | --Anand Thank you for your answer, Anand. However the problem seems not to be in the Jbossall-client.jar file. I had an old version

[JBoss-user] [Security & JAAS/JBoss] - Change rolesQuery in DatabaseServerLoginModule

2004-05-07 Thread morenito9000
Hi all, I have a question about changing rolesQuery in DatabaseServerLoginModule. In my application a user may have different roles but this roles could change depending from the company in which user works. For example: in Company1 user John has Admin/Developer Roles in Company2 user John has De

[JBoss-user] [Persistence & CMP/JBoss] - Re: OutOfMemory after some 1000 CMP Beans

2004-05-07 Thread [EMAIL PROTECTED]
Alexey is working on instance-per-transaction which isn't a real cache. You ain't going to get much help with more info. Asserting you've done things correctly isn't very useful. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834044#3834044 Reply to the post

[JBoss-user] [Persistence & CMP/JBoss] - QL parser ignores spaces

2004-05-07 Thread wolfc
jBoss 3.2.2 jBoss 3.2.3 The following will not work: | SELECT es.dateFrom FROM EventSeq es | org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "FROM" at line 1, column 20. | Was expecting one of: | "IN" ... | ... | While the following does work: | SELECT es.dat

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Lookup for HTTPXAConnectionFactory on Mac

2004-05-07 Thread catalean
Sorry, i think this problem has nothing to do with JMS; my client that want's to lookup for the HTTPXAConnectionFactory is behind a firewall and it seems that something goes wrong so it does't get to the server...i think; anyway, some proxy settings have resolved the problem; on the server was n

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

2004-05-07 Thread [EMAIL PROTECTED]
http://jboss.org/wiki/Wiki.jsp?page=JBossForums View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834041#3834041 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834041 -

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

2004-05-07 Thread aquafresh
thanks fro your prompt reply. I have got another questions about the check-valid-connection-sql, in the database-ds.xml file does this tag allow to test the connection to the database? On the other hand if I have got a DB server and Jboss server installed on two different machine and the network

[JBoss-user] [Persistence & CMP/JBoss] - Re: OutOfMemory after some 1000 CMP Beans

2004-05-07 Thread triathlon98
Adrian, The setting is not enough. I have run into the same problem (and reported it) a couple of weeks back. I then tried modifying the container configuration and the read-ahead setting to anything I could image without results. However, I have seen that Alexey committed some changes in the c

[JBoss-user] [Security & JAAS/JBoss] - FORM dataBase authentication problem

2004-05-07 Thread pagomen
Hi All, I am trying to setup a simple FORM database authentication but I have some problem... The authentication seems to pass but then I get an "HTTP Status 403 - Access to the requested resource has been denied" from the Tomcat. The strange thing is that when I am using the users.properties & ro

[JBoss-user] [JBoss.NET & SOAP] - Mysterious warning with JBoss.NET webservice

2004-05-07 Thread fheldt
I have a mysterious warning showing up in the server.log file with my webservice. First i build my webservice with xdoclet from a session bean * @ejb.permission role-name="Master,Admin,Operator,User" * @jboss-net.authorization *domain="dhcRealm" *roles-allowed="Master,Admin,Operator,U

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Error creating the dlq connection: XAConnectionFactory n

2004-05-07 Thread robinpaul78
Phew the problem got solved. It was due to incorrect db tables that were generated in the database. I dropped the JMS_TRANSACTIONS and JMS_MESSAGES from the database and restarted JBoss. The app server then created the correct tables and my messaging got enabled. View the original post :

[JBoss-user] [Security & JAAS/JBoss] - Re: Form-based Login question

2004-05-07 Thread anbenham
I think agood way to do this ist to use a Filter, which would check if the initiatialization has been done . If yes redirect to the init-servlet, else call the protected source See http://java.sun.com/webservices/docs/1.3/tutorial/doc/Servlets8.html#wp64572 View the original post : http://www.

[JBoss-user] [Persistence & CMP/JBoss] - Re: session configuration in Jboss-3.2.3

2004-05-07 Thread loubyansky
Why do you think so? Please, post more info describing what you see. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834032#3834032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834032

[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbSelect with MAX()

2004-05-07 Thread loubyansky
In 3.2.3 Max, as well as some other numeric functions, does return double always. 3.2.4 supports EJBQL2.1 and respects the return type of ejbSelect. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834031#3834031 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Is this a jboss bug (entity setter mehod)?

2004-05-07 Thread loubyansky
What do you mean by enhancement? The only fix I can think about is to throw an exception whenever you invoke the CMR setter which modifies the primary key. The only way to destroy relationships in your case is to remove B. CMR in this case read-only. View the original post : http://www.jboss.or

[JBoss-user] [Beginners Corner] - Re: Remote administration

2004-05-07 Thread [EMAIL PROTECTED]
http://ipaddress:8080/web-console or http://ipaddress:8080/jmx-console Make sure you password protect them View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834029#3834029 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=383

[JBoss-user] [Beginners Corner] - Re: [AbstractInstanceCache] failed to passivate

2004-05-07 Thread [EMAIL PROTECTED]
You must remove nonserializable state in ejbPassivate. See the spec for the full lifecycle. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834028#3834028 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834028 -

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependency resolution

2004-05-07 Thread aseembansal
Thanks for the reply. Is this the only way to resolve the dependencies? In this case, a service has to expose getter/setter methods just to resolve the dependencies of dependents. Is not there any componentRegistry in JBoss which maintains a mapping of objectName Vs objects. -Aseem View th

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependency resolution

2004-05-07 Thread raja05
Have a optional-attribute-name attribute for ur depends clause, something like | objectname | And create a setter and getter for dependBean | private ObjectName dependObjName; | public ObjectName getDependBean() { | return this.dependBean; | } | | and then use it as

[JBoss-user] [EJB/JBoss] - Re: What is default transaction attribute for CMT session be

2004-05-07 Thread [EMAIL PROTECTED]
The question you should ask is whether it is wise to depend upon something that is mentioned in the spec. The answer to your FAQ (which you would have found if you used search) is Required except for MDBs where it is NotSupported View the original post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Lookup for HTTPXAConnectionFactory on Mac

2004-05-07 Thread [EMAIL PROTECTED]
503 is Service unavailable (usually server overloaded). So what is the error on the server? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834023#3834023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834023 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: OutOfMemory after some 1000 CMP Beans

2004-05-07 Thread [EMAIL PROTECTED]
100 is the pool size, the default cache size is 1 million in jboss. see standardjboss.xml Also if you are using hsqldb, its tables are fully loaded into memory unless you use "create cached table". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834022#3834022

[JBoss-user] [Security & JAAS/JBoss] - Re: New LoginContext for each request...

2004-05-07 Thread jburugupalli
HI All, Thanks scott, i used a filter to do this but i am not sure how to do it with a tomcat valve any way the filter looks like this | public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) | throws IOException, ServletException

<    1   2