[JBoss-user] [JNDI/Naming/Network] - Re: client cannot reconnect after server restart

2005-05-10 Thread elmizmo
Here's what I do when I encounter an exception via the onException(JMSException) method : | if (jndiContext != null) { | try { | logger.debug("Closing JNDI InitialContext."); | jndiContext.close();

[JBoss-user] [Security & JAAS/JBoss] - Solution: stop displaying JAAS security exception trace

2005-05-10 Thread sivakumar_n
The solution follows: You can redirect the exception trace to a log file by adding the following category in the log4j.xml file. So the exception stack trace will not be displayed in the server console. | | | | | This will redirect all the ERROR s of org.jboss.ej

[JBoss-user] [Persistence & CMP/JBoss] - CMR question

2005-05-10 Thread yxyang
Hi I have entity bean A and B, field x of A is mapped as the primarykey field of B. And x is integer. When Entity A is created, field x is always set to integer zero even i don't set anything in the ejbCreate method. Actually, i want to CMP engineer just leave this field as enpty. Due to t

[JBoss-user] [Security & JAAS/JBoss] - Re: stop displaying JAAS security exception trace

2005-05-10 Thread sivakumar_n
Hi All, Can i redirect security exceptions to a log file ,other than console.Can i set log level to prevent this. Thanks Siva View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877289#3877289 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Installation & Configuration] - Re: 4.0.1sp1 to 4.0.2 causes recursive ejbCreate calls then

2005-05-10 Thread [EMAIL PROTECTED]
I should remember changes I make ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877288#3877288 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877288 --- This SF.N

[JBoss-user] [JBoss Portal] - Re: Available Portlets

2005-05-10 Thread elenn
An important Forum Search functionality is available on jboss.org but not in the Forums portlet - can someone confirm? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877287#3877287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [Clustering/JBoss] - Re: How to get failover with HASingletons ?

2005-05-10 Thread [EMAIL PROTECTED]
If you deploy your TreeCacheAop as a mbean service, you can then access from ejb (directly or through a wrapper). As a result, all memebers in the group will have the replicated state. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877286#3877286 Reply

[JBoss-user] [JBossCache] - Re: Shallow synchronous replication with TreeCacheAop

2005-05-10 Thread [EMAIL PROTECTED]
James, If you can come up with a simple JUnit test case demontrating what you do, I will be glad to take a look. Meanwhile, I have couple of exmples junit tests on collection api using TreeCacheAop in the distro. Can you check them out as well. -Ben View the original post : http://www.jboss.

[JBoss-user] [Beginners Corner] - Re: java.sql.SQLException: socket creation error (table cre

2005-05-10 Thread baojiaozi
I also meet the same problem. I statred jboss first ,then impelment the command:ant -f jboss-build.xml db-create-table but got the same result:( Every answer is appreciated:) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877284#3877284 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - InvalidClassException on jbossall-client.jar class

2005-05-10 Thread gberish
Hi, This code below works fine in a test class run from my PC. However when I put it in a WebStart downloaded client, the app thows an InvalidClassException.env= new Hashtable (); | | env.put (Context.INITIAL_CONTEXT_FACTORY, |"org.jnp.interfaces.NamingContextFactory"); | | env.p

[JBoss-user] [JBossCache] - Re: Conncurrent Txn put issue

2005-05-10 Thread [EMAIL PROTECTED]
You can't. Otherwise, you will have an inconsistent, won't you? -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877282#3877282 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877282 ---

[JBoss-user] [JBossCache] - Re: Eviction and cache access

2005-05-10 Thread [EMAIL PROTECTED]
1) It is "safe" but you can have a null value since it has been evicted. 2) Evict operation should not update the node time stamp again. So node "/a" is updated by some other means. Can this be just a wake-up interval timing thingie? -Ben View the original post : http://www.jboss.org/index.htm

[JBoss-user] [JBossCache] - Re: remove leaves the caches consistent in clustered environ

2005-05-10 Thread [EMAIL PROTECTED]
Yes. Read the documentation or run through the tutorial and you will see for yourself. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877280#3877280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877280 ---

[JBoss-user] [JBossCache] - Re: remove leaves the caches consistent in clustered environ

2005-05-10 Thread gdaswani
I'd also like to know if remove removes the values in the replication partners. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877279#3877279 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877279 -

[JBoss-user] [Installation & Configuration] - Jboss on Windows 2003

2005-05-10 Thread rblebea
Hi everybody, I would like to know where I could find some info on compatibility issues between various versions of jboss and windows server 2003. Can anyone help me? Thnak you, Radu Blebea. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877278#3877278 Rep

[JBoss-user] [Installation & Configuration] - Re: 4.0.1sp1 to 4.0.2 causes recursive ejbCreate calls then

2005-05-10 Thread [EMAIL PROTECTED]
What the user is doing is clearly not portable, since the EJB spec does not mandate lazy construction of instances like the 4.0.1sp1 pooling code, though I imagine most appservers have some config parameter to enable this behaviour. View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [Installation & Configuration] - Re: 4.0.1sp1 to 4.0.2 causes recursive ejbCreate calls then

2005-05-10 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBAS-1600 Previously, home.create() only created the proxy to the ejb. It didn't try to create the ejb instance. This change is incomplete anyway, since the home.create() might suceed, but some other thread takes that instance and the remote/local method still ha

[JBoss-user] [JBossCache] - Eviction and cache access

2005-05-10 Thread tcherel
Two quick questions about the eviction mechanism. I admit, I did not do extensive searches in the forum to see if this has been already answered before. 1) If I am writing my own TreeCacheListener, in the execution of the nodeEvicted operation, is it safe to access the data about to be evicted i

[JBoss-user] [Installation & Configuration] - Re: Mutual authentication with JBOSS (CLIENT-CERT configuart

2005-05-10 Thread [EMAIL PROTECTED]
Works for me as I am prompted for an ssl cert. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877274#3877274 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877274 --

[JBoss-user] [Beginners Corner] - Re: Silly session timeout question

2005-05-10 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877273#3877273 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877273 --- This S

[JBoss-user] [Installation & Configuration] - Re: 4.0.1sp1 to 4.0.2 causes recursive ejbCreate calls then

2005-05-10 Thread [EMAIL PROTECTED]
Nothing comes to mind as to what change would introduce differing pooling behavior. Similarly, I don't know why this ever should have worked. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877272#3877272 Reply to the post : http://www.jboss.org/index.html?mo

[JBoss-user] [JBossWS] - Re: JAXB/JAXRPC 2.0 EA in JBoss 4.0.2 blues

2005-05-10 Thread hr_stoyanov
Okay-, It turns out, with J2SE 5.0, the $jboss-xxx/lib/endorsed really needs to be removed, since all the XML stuff (JAXP 1.3) is already an integral part of J2SE 5.0 If you do not do that, JBoss will load the old JAXP stuff over the one endorsed in J2SE 5.0 itself. And bad things will happen

[JBoss-user] [Installation & Configuration] - Re: JBOSS with Crytal Report

2005-05-10 Thread richardzheng
I configed it like this: jnp://localhost:1099 org.jnp.interfaces.NamingContextFactory java:/smDS But got an error: Failed to open the connection. Details: Exception: [Error Message:]javax.naming.NameAlreadyBoundException; remaining name ?smDS?. Richard View the original post : http://w

[JBoss-user] [JBossWS] - JAXB/JAXRPC 2.0 EA in JBoss 4.0.2 blues

2005-05-10 Thread hr_stoyanov
Thomas and all-, I am trying to use JAXB/JAXRPC 2.0 EA within the latest JBoss 4.0.2 under J2SE 5.0 Update_2. I get a weird exception, when a client tries to access my endpoint (see below). I did provide a jboss-web.xml file according to the wiki, to make sure I fully isolated myself from the ol

[JBoss-user] [Installation & Configuration] - Re: jboss 4.0.2 not deploying hibernate-service in exploded

2005-05-10 Thread jhudson
Does anyone know the solution to this problem? How can we get this to work again? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877262#3877262 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877262 -

[JBoss-user] [JBossWS] - Re: JAXRPC/AJXB 2.0 integeration?

2005-05-10 Thread [EMAIL PROTECTED]
Yes, its targeted for jboss-5.0. See the JBossWS roadmap http://jira.jboss.com/jira/browse/JBWS?report=com.atlassian.jira.plugin.system.project:roadmap-panel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877261#3877261 Reply to the post : http://www.jboss.o

[JBoss-user] [EJB/JBoss] - An example of using an identity column for a primary key in

2005-05-10 Thread robr
I spent several days trying to figure this out and have finaly succeeded. I could not find any place that had all this information in one spot so here it is. I was trying to create an entity bean that used an identity column in an MSSQL table for it's primary key. Here is what I finaly came u

[JBoss-user] [Beginners Corner] - Re: Advice on converting RMI app to JBoss

2005-05-10 Thread chubbard76
Any help? Jboss guys? Charlie View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877259#3877259 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877259 --- This SF.Net e

[JBoss-user] [Performance Tuning] - Re: Locking in JaasSecurityManager.isValid

2005-05-10 Thread [EMAIL PROTECTED]
No workaround exists. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877258#3877258 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877258 --- This SF.Net email is sp

[JBoss-user] [Performance Tuning] - Re: Locking in JaasSecurityManager.isValid

2005-05-10 Thread parmarsanjay
Thanks Scott for the quick around. There is no way to fix this issue in JBoss 3.2.x ? Is there a work around ? We are telling our customers to go-live on this release. This is really critical for us in Production enviornment. View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Performance Tuning] - Re: Locking in JaasSecurityManager.isValid

2005-05-10 Thread [EMAIL PROTECTED]
Its a known bottleneck that will be addressed in the 4.0.3 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877255#3877255 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877255 -

[JBoss-user] [JCA/JBoss] - java.lang.IllegalStateException: Trying to return an unknown

2005-05-10 Thread mikeg123
Hello, Here is the scenario which should work but throws an exception Inside of MDB start user transaction then using hibernate session update records in db after that call Stateless Session bean's method that has @ejb.transaction type = "RequiresNew", upon exiting this method get the followi

[JBoss-user] [JBossWS] - ServiceLifecycle problem with webservice and jboss-4.0.2

2005-05-10 Thread sirwio
Hi, I'm in the task of developing a binary file upload webservice on jboss. The binary attachment is passed as a mime multipart attachment. In order to retrieve the attachment the webservice implements ServiceLifecycle. The context retrevied from the argument of the init method is then used to

[JBoss-user] [Performance Tuning] - Re: Locking in JaasSecurityManager.isValid

2005-05-10 Thread parmarsanjay
We are using JBoss 3.2.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877249#3877249 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877249 --- This SF.Net email

[JBoss-user] [JNDI/Naming/Network] - Re: client cannot reconnect after server restart

2005-05-10 Thread manishsingh
would u mind sending a code snippet. I tried the closing the initial context but no success. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877248#3877248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877248 ---

[JBoss-user] [Performance Tuning] - Locking in JaasSecurityManager.isValid

2005-05-10 Thread parmarsanjay
In our performance test we are seeing that threads are getting blocked at "Ajp13Processor[8009][25]" daemon prio=5 tid=0x64097100 nid=0x79c waiting for monitor entry [65e4f000..65e4fd88] at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:238) - wa

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started Guide - release 3

2005-05-10 Thread [EMAIL PROTECTED]
Perhaps you can show me where the getting started guide says to remove the other MBean definition? It's just not there. If you DO remove it, then yes you need to change to dependency. I can certainly concede that the guide could be clearer and emphasize that you indeed shouldn't do something

[JBoss-user] [JBoss.NET] - Re: Problem accessing .NET webservice from servlets

2005-05-10 Thread [EMAIL PROTECTED]
"Tyler Black" wrote : In JBoss 4.0.2 they have repacked things to be org.jboss.axis. I'm working on issues that this causes right now. What fun! Hey, we had to repackage it keeping customers like you in mind. Whenever you post a stacktrace involving axis, now we can know whether the user is

[JBoss-user] [Beginners Corner] - Re: Need info on JbossSX, Active Directory and openLDAP

2005-05-10 Thread sandipan_s
Hi, I would really appreciate if someone can share there experience . Thanks !! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877239#3877239 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877239 -

[JBoss-user] [EJB/JBoss] - Problem solved.

2005-05-10 Thread robr
I had originaly learned how to write EJBs outside of a container using a tool called Blazix. I didn't realize the difference. In my first post I included the contents of a file called PropsTableBean.java. I will include it here with the changes. You can compare this copy to the previous copy

[JBoss-user] [JBoss.NET] - Re: Problem accessing .NET webservice from servlets

2005-05-10 Thread Tyler Black
You're missing a library for org.jboss.net client classes. Look in JBOSS_HOME/docs/examples/jboss.net/ directory and add the jboss-net-client.jar file to you classpath. I just copy it into my server configuration's lib directory. So if you're running your server in the all configuration, copy

[JBoss-user] [Beginners Corner] - Re: About start up JBoss and debug EJB in Eclipse, please he

2005-05-10 Thread Andre1001
Hello, Have you guys solved this problem? I got the same Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877234#3877234 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877234 -

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started Guide - release 3

2005-05-10 Thread pchandra
"[EMAIL PROTECTED]" wrote : Yes, the tutorial works. Use the the latest version at docs.jboss.org with the update 4 of the Sun J2EE tutorial. Everything works. I've installed and run the examples dozens of times. | | Norman As you can see in another thread, the tutorial does not work d

[JBoss-user] [Beginners Corner] - JBoss DeployTool

2005-05-10 Thread reneguenther
Hello, is there a deploytool for creating ejb-jar.xml? Anything comparable to Suns deploytool? Thanks Rene View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877232#3877232 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [EJB/JBoss] - Simple entity bean will not insert data into a table.

2005-05-10 Thread robr
I am using Intellij 4.5.4 along with JBOSS 4.01sp1 with a JBOSS plugin. I am also using MSSQL. Everytime I try to create an instance of the entity bean I get the following error. Cannot insert the value NULL into column 'keyid', table 'WebQuoting.dbo.PropsTest'; column does not allow nulls.

[JBoss-user] [Installation & Configuration] - Re: Change deployment order

2005-05-10 Thread kulaahmet
Thanks schrouf, I have found a solution : org.jboss.deployment.MainDeployer-xmbean.xml in JBOSS_HOME/server/default/conf/xmdesc/ (line 41) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877230#3877230 Reply to the post : http://www.jboss.org/index.html?mod

[JBoss-user] [Installation & Configuration] - Re: Mutual authentication with JBOSS (CLIENT-CERT configuart

2005-05-10 Thread HuntEthan
I've seen this site before, but the problem is when I do what is written on this site client authentication doesn't works. When I set clientAuth="true" my Browser doesn't ask me for client certificate. I know from Sun Java App Server (when enabling mutual authentication) that a popup window app

[JBoss-user] [Management, JMX/JBoss] - jmx console content of entity beans

2005-05-10 Thread dannyb23
Hi Is there (and is it planned - could be nice) any option using the jmx console to view the content (lets say as a table on screen) of the content of entity beans? lets say i have a UserEntity I would like to have an operation content() by pressing it i can see the content of all the entities

[JBoss-user] [Testimonials] - Re: 4.0.2 Performance

2005-05-10 Thread fbiaggi
Simply by running a test class that do intensive and complex selects on a database, print out server times and client times to have the results. Run with 4.0.1 and 4.0.2, the result is 30% better View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877225#3877225 R

[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.2 with Jetty 5.x

2005-05-10 Thread rafcio
"frankgrimes" wrote : The log output you posted doesn't show what exception(s) are occurring that are keeping those services from being deployed. | | Still, I did manage to get everything working by building a jetty-5.1.4rc0-jboss-4.0.2.sar from the jetty-5.1.4rc0-all.zip distribution. | J

[JBoss-user] [JBossWS] - .NET calling WebService

2005-05-10 Thread awesomejt
Ok, I have created a simple "Hello World" type of Web Service that takes a single String argument in and returns a simple String response out. I have deployed it and it is using document/literal (wrapped). I have also written a small .NET console app that calls the Web Service developed and dep

[JBoss-user] [JBossCache] - Conncurrent Txn put issue

2005-05-10 Thread Bill Bejeck
Hi, I am doing some testing of using TreeCache in a cluster environment. To test simultanious txns I have Thread 1 put an object into the cache and wait 10 seconds before commiting. Then I have a second thread attempt to put an object into the cache on the same node during the interval taken

[JBoss-user] [JBossCache] - Re: Is JBossCache appropriate for this problem ?

2005-05-10 Thread jcasp
James, I found that thread and was reading through it. If you don't mind, could you email me the MBean (maybe remove your bizlogic) and whatever else is needed to get it deployed, and I'll use that as a starting point. Since we're both trying to do the same thing, hopefully two minds will sol

[JBoss-user] [EJB/JBoss] - Re: Worker thread count

2005-05-10 Thread jamesstrachan
Andy, This sort of problem is always a real hassle. I don't know the Tomcat internals at all. You may be able to switch on Log4J logging for some of the Tomcat internal classes to get a clue. The timing of the problem - after days of application usage - strongly suggests a problem somewhere w

[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.2 with Jetty 5.x

2005-05-10 Thread frankgrimes
The log output you posted doesn't show what exception(s) are occurring that are keeping those services from being deployed. Still, I did manage to get everything working by building a jetty-5.1.4rc0-jboss-4.0.2.sar from the jetty-5.1.4rc0-all.zip distribution. Just edit jboss.properties and run

[JBoss-user] [JBossCache] - Re: Is JBossCache appropriate for this problem ?

2005-05-10 Thread monocongo
Hi Justin. I have made another posting to this forum which hopefully explains my approach: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63328. Basically I have written an MBean which uses a TreeCacheAop service to cache some objects, and it is supposed to synchronously replicate acr

[JBoss-user] [Installation & Configuration] - Re: installer doesn't work ?

2005-05-10 Thread rjst
is there a time-frame for this ? thanks Ricardo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877212#3877212 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877212 ---

[JBoss-user] [Persistence & CMP/JBoss] - Referential Integrity - CMP - remove()

2005-05-10 Thread christianspiteri
I have 2 CMP beans Candidate and Country. The candidate table has a foreign key country_id with "on delete restrict" set. However when I delete an entry (using the entity bean remove() method) from the country table, the respective foreign key in candidate is set to null and the country is delet

[JBoss-user] [Advanced Documentation] - Re: Release 2 of the Application Server Guide

2005-05-10 Thread bocio
Hi, After a three hour painfull migration of an old RA from the JBoss 3.2.7 to 4.0.2 without success I discovered a bug on the chapter 7 example. This bug was previously reported here in january but examples are still reflecting this: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=5858

[JBoss-user] [Beginners Corner] - Need info on JbossSX, Active Directory and openLDAP

2005-05-10 Thread sandipan_s
Hello Team, we have an existing J2EE based application where authentication mechanism was apache. Now we would like to incorporate security into our applications using JBossSX. We want role based declarative authentication. The user-id and password will be stored in Active Directory and roles i

[JBoss-user] [EJB/JBoss] - MDBs Calling Stateless Session Beans too soon

2005-05-10 Thread vinsonizer
I have one MDB and 2 SLSB's in a ejb jar file that I am deploying to a live system. The MDB acquires the Home Interface of a SLSB in it's ejbCreate method. It uses this home interface in the onMessage section to get a new instance of the SLSB. This works great as long as there aren't messages

[JBoss-user] [Clustering/JBoss] - Re: How to get failover with HASingletons ?

2005-05-10 Thread jcasp
Ben, Does the use-case above appear in any of the cache docs? If you have any more info on this, I would very much like to read it. I want to do something similar to the above, i.e., access a distributed cache from EJBs in order to implement an in-memory, cluster-aware singleton. I was readi

[JBoss-user] [EJB/JBoss] - Deployment Problem

2005-05-10 Thread waglik
Hello I know its silly question but I am new in this technology and I have problem with deploying my EJB in JBoss. I have 3 classes : org.ejb.wybory.Model.class - Remote Interface org.ejb.wybory.ModelHome.class - Home Interface org.ejb.wybory.ModelBean.class - EJB and I have ejb-jar.xml : h

[JBoss-user] [Persistence & CMP/JBoss] - Get the right result after an insert with an entity CMP EJB

2005-05-10 Thread warx_sg
Hi all, in my project i use Entity EJB to insert/update and remove data from the database. To collect dat i execute some SELECT query which use the Connection from a datasource. Well, in a specific situation i have, in the same mthod: - Insert some data - Get, using a SELECT query, some

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error: can't find data source: java:/DefaultDS

2005-05-10 Thread pchandra
Just deleting the localDB phrase does it. Startsup fine. Thanks guys Chandra View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877190#3877190 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877190 ---

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error: can't find data source: java:/DefaultDS

2005-05-10 Thread pchandra
I was just about to start posting exactly the same problem and found you guys discussing it. I will try your suggestion. Thanks Chandra View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877188#3877188 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [JBossCache] - Re: Is JBossCache appropriate for this problem ?

2005-05-10 Thread jcasp
James, I'm trying to solve the exact same problem. Would you be willing to post some of the details of the MBean you wrote? Thanks very much for writing out the thoughts above. Justin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877185#3877185 Reply to

[JBoss-user] [JBossCache] - Re: Dummy transaction manager

2005-05-10 Thread [EMAIL PROTECTED]
No it won't. You may want to look at some standalone TX Managers, such as HOWL or JOTM (?). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877184#3877184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877184

[JBoss-user] [Persistence & CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-05-10 Thread rawat_tejinder
"prasadjoshi" wrote : I m also getting the same problem "org.jboss.mq.SpyJMSException" but the thing is that i m not using any entity bean , i m using hibernate.plz anyone help me out. | | | Prasad Joshi it is a problem with jboss server and it should not affect your application, if you

[JBoss-user] [EJB/JBoss] - jbossall-client.jar, MDB and Applets

2005-05-10 Thread [EMAIL PROTECTED]
Hi I have a Message Driven Been up and running on the jboss server. I need to get the MDB Client intergrate into a java applet which I have. My client needs the jbossall-client.jar so it my access the org.jnp.interfaces.NamingContextFactory for JNDI lookup... But because of the Sandbox in an

[JBoss-user] [Installation & Configuration] - Re: Oracle connections failure under 4.0.2

2005-05-10 Thread [EMAIL PROTECTED]
Read the release notes on the web container class loading changes. It would appear the the driver is getting loaded from two different class loaders. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877172#3877172 Reply to the post : http://www.jboss.org/index

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem deploying MDB when running server on different p

2005-05-10 Thread schrouf
Hm, are you using a clustered (e.g. all) or unclustered (e.g. default) jboss server configuration ? The unclustered jms-ds.xml defines a JMSProviderLoader with name JMSProvider | | Check your sample-bindings | while the clustered hajndi-jms-ds.xml defines a JMSProviderLoader with nam

[JBoss-user] [HTTPD, Servlets & JSP] - org.apache.jasper.JasperException

2005-05-10 Thread rawat_tejinder
hello all, when running my web application based on entity beans i am able to enter the values into the database through jsp pages but i am getting following type of error,can anybody see and find out what is the problem. exception org.apache.jasper.JasperException org.apac

[JBoss-user] [Installation & Configuration] - Oracle connections failure under 4.0.2

2005-05-10 Thread erobles
I tried to move from 4.0.1sp1 to 4.0.2, and my oracle-ds.xml, which worked just fine under 4.0.1sp1, is giving me troubles. I get lots of SQLExceptions like the one attached below. My web apps work normally during a while, they do get a database connection, , then I get some Exceptions, the er

[JBoss-user] [Beginners Corner] - Re: Silly session timeout question

2005-05-10 Thread stevecoh2
"[EMAIL PROTECTED]" wrote : There is a bug in (I think 3.2.5 and/or 3.2.6) that causes session timeout to stay at 30 minutes if you are also using cluster. I'm pretty sure this is fixed in 3.2.7. | | Stan Silvert Stan, is there a "bugzilla" or the equivalent for JBoss that you could point

[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.2 with Jetty 5.x

2005-05-10 Thread rafcio
"frankgrimes" wrote : http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63494 I've added | http://java.sun.com/dtd/web-app_2_3.dtd";> | to jboss-ws4ee.war/WEB-INF/web.xml but I get this: | --- Packages waiting for a deployer --- | [EMAIL PROTECTED] { url=file:/E:/jbos

[JBoss-user] [Messaging, JMS & JBossMQ] - JBossMQ Thread Count grows until Linux Too Many Files Open e

2005-05-10 Thread THancock
We are using JBoss 3.2.6 on JVM 1.4.2-06. We have 2 web servers that publish messages onto one of 3 JBoss Message Queue servers. The Thread List shows lots and lots of the following entries in the JBossMQ Thread Group: | Thread: UIL2.SocketManager.ReadTask#5 client=10.2.11.3:38834 : prior

[JBoss-user] [JBossCache] - Dummy transaction manager

2005-05-10 Thread lapwahlee
I've read that the DummyTransactionManager should not be used in production but we have a case where we need the transactional (read/write) nature of JBossCache without the app server overhead. We have 3 servers, one that writes and 2 that reads. We would like to replicate changes from the w

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem deploying MDB when running server on different p

2005-05-10 Thread cingram
Thanks for the reply Ulf. It does seem to be a port problem. However the problem is not showing it self until deploy. Checking the logs I found a communication exception javax.naming.CommunicationException: Failed to connect to server localhost:1099. This is confusing because I have uncommente

[JBoss-user] [Beginners Corner] - Re: Silly session timeout question

2005-05-10 Thread stevecoh2
Hmm, that's interesting. Our team's development workstations use 3.2.5 JBoss although the production site is at 3.2.1. (Stupid, I know, but it hasn't caused many problems). So, I'll ask, did this problem exist before 3.2.5? View the original post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Advanced Documentation] - Web Service Endpoint Interface with JBoss IDE

2005-05-10 Thread ameisinger
Hi, is there any Tutorial or Weblink where I can find a solution to create a Web Service Endpoint Interface (EJB 2.1) with JBoss IDE in Eclipse. I have found a good start at: http://www.dcl.hpi.uni-potsdam.de/research/asg/ws4ejb/ I failed when I started to insert the Wsee doclet (create a new

[JBoss-user] [Persistence & CMP/JBoss] - BMP Custom Finders with JAWS?

2005-05-10 Thread lefou
Hello, I want to port an EJB 1.1 based System to JBoss 4.0 and thus I have to use JAWS as persitence engine. Is it possible, to use "BMP Custom Finders" as described in Chap. 11.6.8 of the JBoss4 Guide (http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch11.chapter.html#d0e25946) for JAWS? I

[JBoss-user] [Persistence & CMP/JBoss] - Re: use entity bean as field of another CMP bean ?

2005-05-10 Thread lefou
I have the same question. I have an legacy system with is based on EJB 1.1 and that uses EntityBeans as CMP fields. I have to port this to JBoss and don't know, how to handle this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877155#3877155 Reply to the po

[JBoss-user] [Security & JAAS/JBoss] - Re: Where do properties files go?

2005-05-10 Thread streagan2
Excellent Scott - yes, that's what it was, works fine now - phew! Thx Matthew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877154#3877154 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877154 --

[JBoss-user] [Security & JAAS/JBoss] - Re: Where do properties files go?

2005-05-10 Thread [EMAIL PROTECTED]
A resource means visible to the thread context class loader of the UsersRolesLoginModule user. Use unique properties names to avoid finding the wrong properties file as is illustrated by the jmx-console config: | | | |jmx-console-users.properties |

[JBoss-user] [Security & JAAS/JBoss] - Re: Where do properties files go?

2005-05-10 Thread streagan2
I have found a guide on a Scottish University site. They confirm that classes is the right directory in my war file. I have also tried using the conf directory for the users.properties and roles.properties, tried specifying my properties file names in login-config as well but no joy. I have trie

[JBoss-user] [Security & JAAS/JBoss] - Re: How to dynamically change security role without logging

2005-05-10 Thread [EMAIL PROTECTED]
I don't think I want to support that level of integration as its too tightly coupled to the implementation. There should be some type of refresh capability of the user roles. Create a feature request in jira with your changes and I'll see how this can be supported without requiring subclassing a

[JBoss-user] [Beginners Corner] - Re: Silly session timeout question

2005-05-10 Thread [EMAIL PROTECTED]
There is a bug in (I think 3.2.5 and/or 3.2.6) that causes session timeout to stay at 30 minutes if you are also using cluster. I'm pretty sure this is fixed in 3.2.7. Stan Silvert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877145#3877145 Reply to the

[JBoss-user] [Installation & Configuration] - Re: installer doesn't work ?

2005-05-10 Thread [EMAIL PROTECTED]
No its not ready for anything but testing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877144#3877144 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877144 --- Th

[JBoss-user] [Installation & Configuration] - Re: Can we switch the default ORB to a foreign one

2005-05-10 Thread [EMAIL PROTECTED]
Sorry Adrian, I've missed your reply because I'm not watching this forum, so I posted the following to jboss-dev after having seen yet another user message in the IIOP forum: anonymous wrote : | This happens again and again: it seems almost nobody reads the "Sticky: DO NOT POST USER QUESTIONS

[JBoss-user] [Installation & Configuration] - installer doesn't work ?

2005-05-10 Thread rjst
Hi, I got the following error with jboss-4.0.2-installer.jar : Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/ins tall/PackageListener (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) I'm using jdk 1.4.2_08. It look

[JBoss-user] [JBossWS] - Re: Problem with URL Rewriting during WS - deployment

2005-05-10 Thread Alexis_Rondeau
Hello and thank you very much! This exactly fixed our problem :) Again: The teams thanks you for sparing us from another night of reading every single config file! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877140#3877140 Reply to the post : http://www

[JBoss-user] [Security & JAAS/JBoss] - Where do properties files go?

2005-05-10 Thread streagan2
I am using declarative security in my web app. I am able to identify a servlet and put a constraint on it so that I get my login form when I reference it. I am using anonymous wrote : org.jboss.security.auth.spi.UsersRolesLoginModule I've hunted all over the place go through all the documentation

[JBoss-user] [JBossWS] - Primitive type mapping fails

2005-05-10 Thread mjelle
I've created the JBWS-217 in jira with a fix. Who can actually make this fix get into the CVS? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877139#3877139 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877139 -

[JBoss-user] [JCA/JBoss] - Connections not returned to Pool

2005-05-10 Thread varkon
// Pasted here from Hibernate.org forum Hibernate version: 2.1.8 Mapping documents: *** hibernate-service.xml *** jboss.jca:service=LocalTxCM,name=OracleDS java:/ora/SessionFactory java:/OracleDS net.sf.hibernate.dialect.Oracle9Dialect 3 true true false 25 true net.sf.hibernate.cache.Hashtabl

[JBoss-user] [JBossWS] - Re: Problem with URL Rewriting during WS - deployment

2005-05-10 Thread jukvaa
Set WebServiceHost and WebServicePort parameters in JBOSS_HOME/server/?/deploy/jboss-ws4ee.sar/META-INF/jboss-service.xml (I had the same problem some time ago) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877136#3877136 Reply to the post : http://www.jbo

[JBoss-user] [Installation & Configuration] - Re: Run JBoss from CD

2005-05-10 Thread darranl
Have you seen this page? : - http://wiki.jboss.org/wiki/Wiki.jsp?page=LimitFilesJBossWritesToDisk View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877133#3877133 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877133 --

[JBoss-user] [JBossWS] - Problem with URL Rewriting during WS - deployment

2005-05-10 Thread Alexis Rondeau
Hello there! I have the following problem, that I can not find a solution for: I am _so far successfully_ deploying a slsb as a ws-endpoint: My wsdl target looks like this for my host: 115 116 117 118 119 120 12

[JBoss-user] [Installation & Configuration] - Re: Linux + MySQL, JBoss 3.x.x deployment error: http-invoke

2005-05-10 Thread pluviotor
I try to up this topic. cause my problem isn't resolve. have you idea for my exception from http-invoker.sar:? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877131#3877131 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Persistence & CMP/JBoss] - use entity bean as field of another CMP bean ?

2005-05-10 Thread bijoWAng
hi, from the codes for a EJB application of someone, I see he is using an entity bean as CMP field of an other entity bean. I know some EJB container support normal objects as CMP field, but dont know if an entity bean is also ok ? when yes, then how does the interaction of the two beans sup

  1   2   >