[JBoss-user] [Persistence CMP/JBoss] - Re: Insertin records on One-to-Many relation

2004-11-15 Thread jobor
You have to use the cmr field of the user that is created. After creation you can have an empty Collection on calling the getCMRfield() method. Then you can use the Collection methods to add related CMP's to that collection. Suppose you hava an collection of roles(CMP's) in a Collection

[JBoss-user] [Beginners Corner] - jboss error with tutorial example Fibbonacci Application

2004-11-15 Thread nirmaljeet
I am trying to deploy the the Fibonacci Application example porvided in the jboss tutorial. I have exactly followed the instructions but am getting this error. Please if someone can help me out 08:13:37,111 WARN [verifier] EJB spec violation: Bean : Fibo Section: 22.2 Warning: The bean

[JBoss-user] [EJB/JBoss] - Re: Error: lock 0

2004-11-15 Thread loubyansky
As to the performance, just test it as it depends on lot of factors. As to the CMR, make sure the field access and collection iteration is done in the same tx. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855159#3855159 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: JBosss and Apache

2004-11-15 Thread Didi1976
Sorry, don't know where to find the full document. In short, the missing part is that you need to configure a clusterwide id for your tomcat. This is done by adding jvmRoute=... to the engine-tag in your tomcat. e.g.: ... Have a look at the documentation from apache.org (don't know a

[JBoss-user] [Persistence CMP/JBoss] - Re: Timestamp issue

2004-11-15 Thread jobor
Be aware of how you fill the CMP field (if you're using CMP). Look at the type mappings in the standardjbosscmp-jdbc.xml file. E.g use a Calendar object in your application to create a correct date and time object (aware of timezone etc.) and use this object to fill a date, time or timestamp

[JBoss-user] [Installation Configuration] - Re: EAR deployment problem - Incomplete Deployment listing

2004-11-15 Thread Frito
Even the DTD doesn't know anything about EARs with other EARs inside. JBoss should? http://java.sun.com/dtd/application_1_3.dtd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855163#3855163 Reply to the post :

[JBoss-user] [JBoss.NET] - Re: Axis EJB provider not registered with JBoss 3.2.6

2004-11-15 Thread tdiesler
Have you considered using standard portable J2EE web services (WS4EE) with JBossWS? http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS Borland probably wants to support that and discontinue JBoss.NET View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855164#3855164

[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.5 - Exception deploying Web module (working on

2004-11-15 Thread cdmein
Not sure if this will be any help to anyone but... The problem occurs when using the commons-logging.jar package inside a web application deployed on JBoss 3.2.5 (or higher). The latest JBoss uses Tomcat 5.X and evidently there is a class loading issue with this (there are other posts with the

[JBoss-user] [Installation Configuration] - Re: JBosss and Apache

2004-11-15 Thread ltexier
I fixed the wiki page. Keep in mind that we strongly recommend using mod_jk1.2 instead http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855166#3855166 Reply to the post :

[JBoss-user] [Installation Configuration] - Problem connecting AS400

2004-11-15 Thread tonic48
I've always used Jboss 3.0.7. To connect AS/400 from my application following data source works perfectly. ?xml version=1.0 encoding=UTF-8? | | !-- = -- | !--

[JBoss-user] [EJB/JBoss] - Re: Error: lock 0

2004-11-15 Thread duardor
Thank you so much. I will try to change the commit option to B. Later Ill return with feedback and some numbers Again, thank you so much. Bye, Eduardo Rodrigues View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855172#3855172 Reply to the post :

[JBoss-user] [Installation Configuration] - Accessing ejbs in isolated ears from within axis-webapp

2004-11-15 Thread sirlinux
Hello, I have deployed an EJB session bean on jboss 3.2.6. The session bean acts as a client for a webservice and therefore I had to activate Isolation with Overriding for the axis libraries, because they interfere with the standard libaries from jboss. Now I'd like to publish this session

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss 4.0: Failed to load DynamicSecurityManager

2004-11-15 Thread boo
mespee wrote : Resolved: | The key is the login-config.xml. They changed the section under !-- Security domain for | JBossMQ --. I just took the 3.2.5 part of that section, and pasted into | our login-config.xml and then it worked. Hi mespee, I have the same problem but I can't apply

[JBoss-user] [Installation Configuration] - Re: install jboss 4 on a already jakarta tomcat 5

2004-11-15 Thread sergiomb
genman wrote : | JBoss already has tomcat 5 built in. I kwon but I want work with other tomcat in other directory, how this is possible ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855177#3855177 Reply to the post :

[JBoss-user] [EJB/JBoss] - Using utility jars inside ear archive

2004-11-15 Thread chrisdutz
I am developing a quite complex application and have run into the folowing problem. For example I am using eXist as xml-database. I created a MBean for starting the databases at deployment time. For this I have a jar-file containing eXist and a sar-file containing the MBean. As I want the

[JBoss-user] [EJB/JBoss] - Providing global jar-files in ear-archive?

2004-11-15 Thread chrisdutz
Hi, when using Bea-Weblogic there seems to be a way to make jar-files available to all applications on the server if puting them in a special directory insoder the ear-archive. Is there a similar way to do this with jboss? I have quite a large set of independant Application-Parts, that all use

[JBoss-user] [Beginners Corner] - Re: Simple reference of CSS from JSP doesn't work

2004-11-15 Thread ianfallon
Raist_Majere, Thanks for your reply. This (now solved) was a bit of a wierd one. The bit of test CSS I was using simply modified the look of h1. I was using Firefox to view the page and for some wierd reason Firefox seems to ignore the first CSS tag defined! So the paths issue was a red

[JBoss-user] [HTTPD, Servlets JSP] - Re: JBoss kills accept-encoding Header?!?!

2004-11-15 Thread ThReCa
How could it be, that the Header accept-encoding with the value gzip, deflate, will be parsed to --- and - ---, if I use jboss 3.2.6 with tomcat instead of standalone tomcat 5 View the original post :

[JBoss-user] [HTTPD, Servlets JSP] - Re: JBoss kills accept-encoding Header?!?!

2004-11-15 Thread ThReCa
How can I disable this feature??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855183#3855183 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855183 --- This SF.Net

[JBoss-user] [Security JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied

2004-11-15 Thread runeteigen
Perhaps you need to look at your rolesQuery. The result-set from this query should return role-name and role-group-name (which I have hard-coded to 'Roles'). So maybe you could try something like: select RoleName, 'Roles' from UserRoles where username=? View the original post :

[JBoss-user] [Performance Tuning] - Re: JBoss - Weblogic comparison

2004-11-15 Thread chrisdutz
Another tip: Increase the prepared-statment-cache for your datasource. This lead to a dramatic performance increas when doing some SPECjAppServer2004 benchmarking. Yet another Tip: Use the JRockit VM from BEA it did not increase the troughput much, but the response-time was a lot better. It's

[JBoss-user] [Performance Tuning] - Tuning-Hints for JBoss

2004-11-15 Thread chrisdutz
At the moment I am working on a project for SAP where we have to compare the new SAP Netweavers performance compared to JBoss 4.0.0. As Installing SAP Netweaver on a Server-Cluster was a total, neverending nightmare and SAP secially wanted uncensored results, I am planing on giving them

[JBoss-user] [Performance Tuning] - Re: Implications of increasing TransactionTimout value in jb

2004-11-15 Thread chrisdutz
On Systems with heavy load this parameter can be a very good performance parameter. We used it for shifting the thrashing-point of the system. I would only recomend increaing the transaction timeout, if you realy need the time for your transactions. If not you are only delaying your problems

[JBoss-user] [JBoss.NET] - Migrate from WL to JBoss .net

2004-11-15 Thread time4tea
I'm trying to migrate and EJB previously deployed as a web service in WL6.1. I've looked at the JBoss WS, and it seems that its not ready for prime time yet. There's far too much manual generation of wsdl files etc. So I revert to JBoss.NET which I have in fact had working in an older version

[JBoss-user] [The Lizzard's corner] - New Website Design

2004-11-15 Thread Tobias
I see, another try to organize that huge pile of information this website provides. Good that you are trying ... but WhoTF came up with these we are so coporate images at the top? (I saw a nice back of a girl unknown to me, that's the only one I liked so far ;)) They look like canned music.

[JBoss-user] [The Lizzard's corner] - Re: Setting cron jobs in jboss

2004-11-15 Thread Tobias
The training would show you how to use the included JBoss Scheduler Service. It's all there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855191#3855191 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855191

[JBoss-user] [Installation Configuration] - Prevent client access during large deploy...

2004-11-15 Thread jardia
Hello. If we are deploying/re-deploying a large file (say ear), JBoss begins deploying the individual elements (beans, servlets etc). The client can then access these even though the ear deployment is not complete. One idea i had is to stop the appropriate invokers and then to restart them

[JBoss-user] [Security JAAS/JBoss] - Re: Problem with roles: principalRoles=null

2004-11-15 Thread fnowak
Hello scott, hello robuttera, I experience the same problem. I try to use a protected method in an ejb but it seems the roles are not set properly. Here is the stack trace ... | | 14:01:36,254 INFO [STDOUT] fnowak | 14:01:36,254 INFO [STDOUT]

[JBoss-user] [Installation Configuration] - After upgrading from 3.2.3 to 3.2.6, now xslt routines throw

2004-11-15 Thread greiezer
Hi, our webhoster forced us to upgrade our jboss 3.2.3 installation to 3.2.6. The deployed application still runs as expected but there are now many xslt related error messages in the server log. This is what I see: 12:44:08,699 INFO [STDOUT] [Error] :99:80: Document root element

[JBoss-user] [Beginners Corner] - Re: Is JBoss a POS???

2004-11-15 Thread ltexier
We've seen this kind of behavior in the past when using mod_jk2. The reason is still not well identified but it is definitely not a problem caused by JBoss AS. That's why we recommend using mod_jk1.2 instead as explained in this wiki page

[JBoss-user] [Beginners Corner] - javax.naming.NameNotFoundException: ejb not bound

2004-11-15 Thread hanssack
Hey group, I'm trying to access a simple Session Bean via JNDI. I'm using JBoss 3.2.6 and everytime the lookup is performed, I get an exception ejb not bound I already searched all the other newsgroup entries, but I couldn't find anything fixing my problem. The strange this is, that the EJB

[JBoss-user] [JBoss.NET] - Re: Migrate from WL to JBoss .net

2004-11-15 Thread time4tea
I found the fix to the problem! It was identical to this: http://java2.5341.com/msg/64448.html Where the axis URLMapper service was not running correctly. James View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855204#3855204 Reply to the post :

[JBoss-user] [HTTPD, Servlets JSP] - Re: Building a .ear file

2004-11-15 Thread ThReCa
Download the tutorial from http://sourceforge.net/project/showfiles.php?group_id=22866package_id=72248release_id=254457 That is for Eclipse-IDE, but I think, you can understand, how to build a .ear file... View the original post :

[JBoss-user] [Beginners Corner] - Re: Understanding Jboss - Threads, Pools yada yada

2004-11-15 Thread ErrolDC
genman wrote : | There are a couple pools you're dealing with: | | 1. Web service connections. These are configured within some .xml file I imagine. This configures the number of simultaneous connections. | 2. Database connections. These are (likely) within some sort of -ds.xml

[JBoss-user] [Management, JMX/JBoss] - why throw java.net.MalformedURLException: no !/ in spec

2004-11-15 Thread cool_xiong
?xml version=1.0 encoding=UTF-8? !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd The IBS CONFIG XMBean Example state-action-on-update value=keep-running/ com.ibs.cofig.mbean.ConfigFile

[JBoss-user] [Management, JMX/JBoss] - Re: why throw java.net.MalformedURLException: no !/ in spec

2004-11-15 Thread cool_xiong
?xml version=1.0 encoding=UTF-8? !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd !--mbean The IBS CONFIG XMBean Example state-action-on-update value=keep-running/

[JBoss-user] [Beginners Corner] - Re: Understanding Jboss - Threads, Pools yada yada

2004-11-15 Thread ErrolDC
Also, one other thing I'd like someone to help me understand. And please forgive my obvious ignorance... If a connection pool of 50 is specified (minimum), does this mean that jboss will open 50 dedicated connections to a database host? Thanks again... View the original post :

[JBoss-user] [HTTPD, Servlets JSP] - Re: Where is mod_jk for Solaris?

2004-11-15 Thread dpasiuk
FYI, I eventually got the one named jakarta-tomcat-connectors-jk-1.2.6-solaris8-sparc-apache-1.3.31_native.so to work, at least to the point of Apache 1.3.31 starting up without errors. I renemed it to mod_jk.so, followed directions in the links for mod_jk + Apache, but the fix was that I had

[JBoss-user] [Beginners Corner] - Re: One more beginner question on JBoss (3.2.6)/Tomcat/Apach

2004-11-15 Thread dpasiuk
FYI, I eventually got the one named jakarta-tomcat-connectors-jk-1.2.6-solaris8-sparc-apache-1.3.31_native.so to work, at least to the point of Apache 1.3.31 starting up without errors. I renamed it to mod_jk.so, followed directions in the links to mod_jk + Apache, but the fix was that I had

[JBoss-user] [EJB/JBoss] - Re: Service (SAR file) that relies on an EJB...

2004-11-15 Thread daorriss
[EMAIL PROTECTED] wrote : The ejb container has a jmx name of the form | | | | jboss.j2ee:service=EJB + ,jndiName= + jndiName | | | | where jndiName is the name of the home interface, or the local home if the ejb does not provide a remote home. | | You can also embed the

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Exercise 7.2f -- Column not found: SHIP

2004-11-15 Thread lesterlaforce
I'm getting this error from the O'Rielly EJB workbook exercise 2f, chapter 7 (Client_72f). Is this a error in the workbook code? Is anyone else getting this error -- does anyone have a fix? Here is more of the message: [java] javax.ejb.CreateException: Could not create

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Exercise 7.2f -- Column not found: SHIP

2004-11-15 Thread lesterlaforce
Perhaps I should have mentioned; my question refers to the 4th edition (O'Reilly EJBs). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855225#3855225 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855225

[JBoss-user] [Persistence CMP/JBoss] - findByPrimaryKey using a compound PK in a wrapper class

2004-11-15 Thread dijkstra
I have the following situation; An entitybean has a compound primary key. The primary key consists of a unique number and a foreign key. I have already found out that I should use some kind of a wrapper class for the compound primary key. The wrapper class is finished and has 2 public fields

[JBoss-user] [JBoss Getting Started Documentation] - Re: 4.1.3. Package the EJBs

2004-11-15 Thread nrichards
It looks to me like you are using the 3.2.6 getting started code with the J2EE 1.4 tutorial from sun.Make sure you are using the 4.0 code: http://docs.jboss.org/jbossas/getting_started/startguide40.zip View the original post :

[JBoss-user] [EJB/JBoss] - Re: Using utility jars inside ear archive

2004-11-15 Thread chrisdutz
Ok ... after another googling Session one of the pages unavailable fpr the last days was online again and I found a solution to my problem. Instead of adding a Class-Path Element to the MANIFEST.MF File I have to add a module to my application.xml file: lib/utility.jar Just thought I

[JBoss-user] [Beginners Corner] - Re: Is JBoss a POS???

2004-11-15 Thread jasong
FYI for those that don't know. Apache 2.1 is going to include a replacement for JK called mod_proxy_ajp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855229#3855229 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855229

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0 documentation

2004-11-15 Thread nrichards
That is the 3.2.6 getting started code. Try: http://docs.jboss.org/jbossas/getting_started/startguide40.zip View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855231#3855231 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Using utility jars inside ear archive

2004-11-15 Thread chrisdutz
Haha ... what an intelligent system to stip off the xml-tags ... well I'll just replace with [ and with ] :) [module] [java]lib/jakarta-oro-2.0.6.jar[/java] [/module] Eat this! ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855232#3855232 Reply to

[JBoss-user] [EJB/JBoss] - Re: Jboss Auto deploy after compile the class files...

2004-11-15 Thread verycool
Thank you very much , i will test this and inform you, but, one different thing that i deploy my ear. so when i touch my ear ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855235#3855235 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: need log4j category to work in my webapp

2004-11-15 Thread mechatoni
I had this same problem trying to debug jgroups in jboss 4.0.0, which didn't work till I removed the commons-logging.properties from the ebxmlrr folders. Lot's of thanks - you saved me time here too! View the original post :

[JBoss-user] [EJB/JBoss] - Re: Providing global jar-files in ear-archive?

2004-11-15 Thread kalyan120
Can you not include the jars in the class path? The entry can be made in the conf/jboss-service.xml file. Extract the jars in the ear file to a location (ex: /home/mylib/) Include the following line in the jboss-service.xml file: classpath codebase=/home/mylib/ archives=*/ This way the jars

[JBoss-user] [HTTPD, Servlets JSP] - Re: Tomcat Servlet Destroy method

2004-11-15 Thread SJNewOrleans
It would also work if I could just make JBoss work with the Tomcat installation I already have. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855239#3855239 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855239

[JBoss-user] [Security JAAS/JBoss] - What am I doing wrong? Please help.

2004-11-15 Thread minmay
Here is the scenario. I have a custom jaas login module that my web app and EJBs use. A user performs a login. The webpage calls an EJB to do something. It seems as though the web application authenticates and authorisizes properly, however, the EJB seems to fail in the same process. Am I

[JBoss-user] [EJB/JBoss] - Re: Jboss Auto deploy after compile the class files...

2004-11-15 Thread darranl
If the archive that you are deploying has been recreated with later classes / jars you should not need to touch it as it would already have a later modified time anyway. If your build process is not updating the modified time of the jar / ear it is likely that the archive is not being updated

[JBoss-user] [EJB/JBoss] - Re: Using utility jars inside ear archive

2004-11-15 Thread darranl
| module | javalib/jakarta-oro-2.0.6.jar/java | /module | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855242#3855242 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855242

[JBoss-user] [JBoss Getting Started Documentation] - Re: 4.1.3. Package the EJBs

2004-11-15 Thread microneering
Thanks, that was it. I have unzipped so many bits and pieces, I overlooked that the jbossj2ee-src.zip was included in the startguide40.zip file, so went and got another copy that turned out to be the jboss 3.2 version. View the original post :

[JBoss-user] [Management, JMX/JBoss] - detecting jboss startup

2004-11-15 Thread mgmurray
I need to automatically invoke a stateless session bean method after jboss has started. And probably via a MBean. Can anyone tell me how to detect when jboss has completed its startup process? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855245#3855245

[JBoss-user] [HTTPD, Servlets JSP] - Case Sensitivity of Custom Tags - JBoss vs Weblogic

2004-11-15 Thread hhendler
Hi All, We are attempting to use JBoss with a Struts app originally developed under Weblogic. I'm at the point of compiling JSPs in Ant using org.apache.jasper.JspC. There are many custom tag attributes used in the .JSPs that differ from the .TLD files in case only. Never showed itself is a

[JBoss-user] [Management, JMX/JBoss] - Re: detecting jboss startup

2004-11-15 Thread meatus
Ant can do it with the waitfor task. Probably something like: | waitfor | http url=http://localhost:8080/jmx-console/ | /waitfor | Good luck, Brett View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855248#3855248 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: detecting jboss startup

2004-11-15 Thread [EMAIL PROTECTED]
1st method: Write an MBean (extend org.jboss.system.ServiceMBeanSupport) and inside the startService() method make the call to your EJB - make a ./deploy/deploy.last folder and deploy your MBean in there. 2nd method: Write an MBean (extend org.jboss.system.ListenerServiceMBeanSupport) and

[JBoss-user] [EJB/JBoss] - Removing stateless session beans

2004-11-15 Thread fredatwork
Hello, I'm relatively new to EJBs and I have a question on stateless session beans. I would like to know if I need to remove stateless session beans once I'm finished using them. I understand that my J2EE server (JBoss in this case) has a reserve of bean instances ready to execution business

[JBoss-user] [Management, JMX/JBoss] - Re: dynamically create XMBeans?

2004-11-15 Thread ffrederick
Chris, I need to dynamically create an XMBean for a project. I'm not quite following how you would do this from what you have posted. Could you outline the steps in more detail or provide some sample code? Thanks View the original post :

[JBoss-user] [Beginners Corner] - Re: When I install Liferay2.2.1 with JBoss 4.0.0...

2004-11-15 Thread lesterlaforce
I am getting this error too. But, my standardjboss.xml shows: invoker-proxy-binding session-webservice-invoker invoker-mbean/ proxy-factoryorg.jboss.net.ws4ee.server.EJBProxyFactoryImpl/proxy-factory proxy-factory-config/ /invoker-proxy-binding So, seems like

[JBoss-user] [Security JAAS/JBoss] - Re: One basic problem about authentication..can someone help

2004-11-15 Thread minmay
You answered the question yourself. Your image is a restricted directory. Place that image in an unrestricted location. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855254#3855254 Reply to the post :

[JBoss-user] [Installation Configuration] - user mode linux, j2sdk 5.0, jboss 4.0/3.2.6

2004-11-15 Thread jflinchbaugh
on my own little debian install of user mode linux binaries (2.4.26-um3), when i try to start any jboss 4.0 or 3.2.6 with jdk 1.4.2_06 or 5.0, it just locks my uml process and i have to kill it off from the host. on my vps host (using linux 2.4.26-um2), jdk 1.4.2_06 works fine with either

[JBoss-user] [Persistence CMP/JBoss] - Re: Insertin records on One-to-Many relation

2004-11-15 Thread jaime
Thanks for your reply I'm gona to read the EJB Spec thanks again View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855261#3855261 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855261

[JBoss-user] [EJB/JBoss] - Re: Providing global jar-files in ear-archive?

2004-11-15 Thread chrisdutz
This way I have to reconfigure the server. I want to avoid this. In Bea-Weblogic I can explicitly export jars inside an ear to the global server classpath, just as if I had added them to the jboss/server/default/lib directory. I was wandering if such a thing is available on Jboss. View the

[JBoss-user] [Persistence CMP/JBoss] - Re: Why an ejbLoad() call for each get* method?

2004-11-15 Thread jaime
A Session Facade + Value Object design patterns solves this problem JaimeS View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855264#3855264 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855264

[JBoss-user] [Persistence CMP/JBoss] - fail to obtain type-mapping metada

2004-11-15 Thread kongdy
I got a fail to obtain type-mapping metadata error when deploying CMP. I am using JBoss 4.0.0./Java 1.4. I am using mySQL database. My mysqldb-ds.xml in my deploy directiory looks like: local-tx-datasource jndi-nameDefaultDS/jndi-name

[JBoss-user] [Persistence CMP/JBoss] - purpose of eager-load-group in entity

2004-11-15 Thread jobor
Hello, I'm trying a lot of things with optimizing the loading of CMP's. But still the purpose of the element eager-load-group in is not clear to me. To me it looks like the element is a sort of default. Saying something about the default eager-load-group for a specific CMP bean. I tried e.q. a

[JBoss-user] [Beginners Corner] - cmp: Verifying column names

2004-11-15 Thread Surlykke
Hi I'm using jboss 4.0 with postgresql 7.2. I have cmp's with attribute-column-name mappings set through jbosscmp-jdbc.xml, e.g: | jbosscmp-jdbc | . | . | entity | ejb-nameOperator/ejb-name | datasourcejava:/jdbc/AmisPooledDS/datasource |

[JBoss-user] [Persistence CMP/JBoss] - Re: TransactionRolledbackLocalException while creating bean

2004-11-15 Thread redBeard15
loubyansky, Thanks for the message. I tried adding the following code to my 'ejb-jar.xml' file: |container-transaction | method | ejb-nameProduct/ejb-name | method-intfLocal/method-intf | method-nameaddChild/method-name |

[JBoss-user] [Security JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied

2004-11-15 Thread infectedrhythms
I opened up the src for the DatabaseServerModule and I copied the queries exactly. I even made sure to structure my db the same way. Yet same problem... I can enter invalid user name and password all day, but one I enter the right username and password I get the 403 error... So it does seem to

[JBoss-user] [Security JAAS/JBoss] - Re: What am I doing wrong? Please help.

2004-11-15 Thread minmay
I found out what I did wrong. My login module code must be in the ejb jar files, and also in the war files. Everything else was done correctly :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855273#3855273 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: One basic problem about authentication..can someone help

2004-11-15 Thread minmay
move your files out of the directory that requires authentication. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855274#3855274 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855274

[JBoss-user] [Persistence CMP/JBoss] - Re: findByPrimaryKey using a compound PK in a wrapper class

2004-11-15 Thread lafr
Since you're already using XDoclet I would recommend to let XDoclet create the PK also. Mark those fields which are part of the PK with @ejb.pk-field. Add entitypk to the ejbdoclet task in build.xml. View the original post :

[JBoss-user] [HTTPD, Servlets JSP] - Securing statis content in external dirs

2004-11-15 Thread uglyhead69
I successfully followed the instructions in the wiki to get an external directory to serve static content through JBoss 3.2.6 Now I need to secure access to that content through my JBoss security configuration. I figured this would be done through the Realm sub-element of the Context element

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Caching messages in Hypersonic database

2004-11-15 Thread genman
The HSQDB database file won't shrink until you do a clean ashutdown. What is the stack trace of the OOMException? If you want to continue using HSQLDB, I would use 1.7.2 (which is in 3.2.7RC I believe, or d/l the .jar file from the website.) Otherwise, I suggest going with a free database

[JBoss-user] [EJB/JBoss] - inserting an already existing bean - not my db insert

2004-11-15 Thread dkuehner
I have a problem with random inserting an already existing bean errors at a client - about every month or so. the error occurs on a line where i am not doing any data inserts of my own. The error happens on the home.create() Object ref2 =

[JBoss-user] [Persistence CMP/JBoss] - Transaction problems with jboss4.0.0+hibernate

2004-11-15 Thread berkgypsy
At the end of a bunch of hibernate calls I commit my JTA transaction, which calls org.jboss.hibernate.session.TransactionSynch.beforeCompletion(). Inside this method I see that session.flush() is called, and it's failing for me because of a db integrity constraint, which is fine. However, the

[JBoss-user] [EJB/JBoss] - Re: Ear deployment problems (:)

2004-11-15 Thread muhr
Has anyone solved this? I am having the *Exact* same problem. None of my Exception classes from an external project are being found by JBoss when deploying the War or EJB Jar for my app. Deployment descriptors are correct, the Exception classes JBoss is choking itself trying to find are in

[JBoss-user] [Management, JMX/JBoss] - Re: why throw java.net.MalformedURLException: no !/ in spec

2004-11-15 Thread cool_xiong
?xml version=1.0 encoding=UTF-8? !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd The IBS CONFIG XMBean Example state-action-on-update value=keep-running/ com.ibs.cofig.mbean.ConfigFile

[JBoss-user] [Management, JMX/JBoss] - Re: why throw java.net.MalformedURLException: no !/ in spec

2004-11-15 Thread cool_xiong
?xml version=1.0 encoding=UTF-8? !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd mbean descriptionThe IBS CONFIG XMBean Example /description descriptors persistence persistPolicy=Never persistPeriod=10 persistLocation=data/JNDIMap.data

[JBoss-user] [Management, JMX/JBoss] - Re: why throw java.net.MalformedURLException: no !/ in spec

2004-11-15 Thread cool_xiong
I understand your meaning, thanks. I use jboss3.2.1 | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd | mbean | descriptionThe IBS CONFIG XMBean Example/description | descriptors | persistence

[JBoss-user] [Installation Configuration] - Re: Change default port of 8080

2004-11-15 Thread kencooperjr
Changed the port as per your prior reply from 8080 to 8089, Still get the following message: How to I get JBoss to run on something other than 8080? THANKS - Ken Cooper ...22:55:50,906 INFO [Server] Core system initialized 22:55:54,062 INFO [Log4jService$URLWatchTimerTask] Configuring from

Re: [JBoss-user] JBoss hanging problem, more info...

2004-11-15 Thread Michael Burbidge
Here's some more info. Just recently, about the same time of the hang, whenever I startup jboss I get the following exception, perhaps this is related: --- GMS: address is 10.51.241.62:49800 (additional data: 17 bytes)

[JBoss-user] [Messaging, JMS JBossMQ] - extending jboss's MQ to other servers - design

2004-11-15 Thread aagmon
hello , we shiped an application consist of offline clients using a stand alone application to process their data and when a client is online - he send an rpc call to announce he is online , and exchange his data using messages to jbossMQ for persisting and further processing. now , the

[JBoss-user] Hyperlinking to pdf files...

2004-11-15 Thread Michael Burbidge
I'm running jboss-3.2.6, with the included Tomcat web server. >From a java servlet I want to create a link to a pdf file. Consider the following two lines from my servlet: out.println(a href='test1.gif'>Click here to get the logo/a>br>); out.println(a href='test2.pdf'>Click here to get the

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Applet as JMS Client

2004-11-15 Thread edmond
edmond wrote : In order to call InitialContext(), what information should be supplied with Context.INITIAL_CONTEXT_FACTORY? The code fragment is as fllow. | Hashtable env = new Hashtable(); | env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory ); |

[JBoss-user] [JBoss Getting Started Documentation] - Re: failed to install jboss4

2004-11-15 Thread Enthusiast
INFO [NamingService] Started jnpPort=1099, rmiPort=1098 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855299#3855299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855299

[JBoss-user] [Security JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied

2004-11-15 Thread tschraepen
This might be a stupid question, but did you check if the role that is returned matches the user's role? I'm not sure if it's case-sensitive. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855300#3855300 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: findByPrimaryKey using a compound PK in a wrapper class

2004-11-15 Thread dijkstra
lafr wrote : Since you're already using XDoclet I would recommend to let XDoclet create the PK also. | Mark those fields which are part of the PK with @ejb.pk-field. | Add entitypk to the ejbdoclet task in build.xml. | I am familiar with that, but now I would like to know how to use the