Re: [JBoss-user] error writing a document to a local file

2003-05-28 Thread kiuma
You can't write to a file from an ejb, you should instead use an MBean to do this. ciao, kiuma Gordon wrote: Hi. I have a problem writing a SVG document to a local directory My code works in a normal java class but when i use it in an ejb, i get an error. The svg file is created in the local

Re: [JBoss-user] Problem configuring xa-tx-datasource

2003-05-28 Thread Janardhan Burugupalli
Hi All, My sapdb-xa-ds.xml looks like this ...i have a problem that the AIWORKDB is not bound while starting the JBoss can some one correct this if anything goes wrong in this... and also i dont know how to specofy the driver class for the database driver .i tried the normal

[JBoss-user] Problem configuring xa-tx-datasource

2003-05-28 Thread Janardhan Burugupalli
Janardhan Burugupalli wrote: Hi All, My sapdb-xa-ds.xml looks like this ...i have a problem that the AIWORKDB is not bound while starting the JBoss can some one correct this if anything goes wrong in this... and also i dont know how to specofy the driver class for the database driver .i

[JBoss-user] automatic entity bean creation at deployment time

2003-05-28 Thread Carsten Hammer
Hi, I currently look for an easy way to do some database initialisations at deployment time of a J2EE application. For some of the entity beans it would make sense to provide some entries directly after the installation. I would like to avoid to access the database directly. On the other hand I am

[JBoss-user] DefaultDS Lookup Failure

2003-05-28 Thread Andre . Fuechsel
Hi, I'm having problems too to deploy the osworkfolw_example to JBoss like Rod Macpherson had earlier. Maybe, I do not really understand, how to set up the oracle connection or how to bind the JNDI names. I always get 14:30:19,425 FATAL [BaseJDBCProvider] Could not look up DataSource using

RE: [JBoss-user] Deployment problems going from 3.0.6 - 3.2.1

2003-05-28 Thread Torsten Terp
Hi Scott, Thanks! Im getting a little confused here though. Your description looks like an explanation to the problem with the scheduler not being deployed: [ObjectName: test:service=TestScheduler state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Exception

[JBoss-user] JAAS Error

2003-05-28 Thread Maiquel Sampaio de Melo
Can anybody help-me with this error? Exception in thread main java.lang.SecurityException: Unable to locate a login configuration at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:97) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at

[JBoss-user] security question: removing an individual user from authent cache

2003-05-28 Thread jfc
Hi, I would like to know whether or not I need to upgrade my current version of JBoss (308RC1 bundled with tomcat 4.1.24 LE1.4) in order to aquire functionality/support for removing an individual user from the authentication cache when he logs out of the web application. If this is possible

[JBoss-user] 1050

2003-05-28 Thread hgf
** 1.3++180 ** ** ... **

[JBoss-user] problem/mistake with CMP/CMR settings

2003-05-28 Thread costin
Hello! I am having difficulties with a CMR relation on one of my web-apps. I am using JBoss 3.2.0 and MySql 4.0.12 on Linux 2.4.18. I have the following diagram: ++ | A bean | ++ A 1 | V * +--+ |B bean| +--+ The problem appears

Re: [JBoss-user] problem/mistake with CMP/CMR settings

2003-05-28 Thread Alexey Loubyansky
First, you should have public void ejbPostCreate(ALocal a ) { do you have it? alex Wednesday, May 28, 2003, 1:45:32 PM, costin costin wrote: c Hello! c I am having difficulties with a CMR relation on one of my web-apps. c I am using JBoss 3.2.0 and MySql 4.0.12 on Linux 2.4.18. c I

Re: [JBoss-user] ORA 00921 revisited

2003-05-28 Thread Jon Haugsand
* Jon Haugsand Look at the following code fragment: public void testEqual() throws Exception { cat.debug(testEqual); KonfigurasjonPK pkp = new KonfigurasjonPK(1); KonfigurasjonLocal kl = konfHome.findByPrimaryKey(pkp); kl.getBeskrivelse(); Collection all

Re: [JBoss-user] newbie question on JMS and JBOSS

2003-05-28 Thread Allan Kamau
Hi Markus, Indeed it is difficult to explain how to use JMS in an J2EE environment/application like JBOSS by email. This is because one needs to first understand what messaging is, what message driven beans (MDB) are, then how to deploy MDB in an application server such as JBOSS. A good place to

[JBoss-user] mbean access from session bean help

2003-05-28 Thread kiuma
Hello, I ahve this method: * @ejb.env-entry * name=jaasMgrName * value=jboss.security.service=JaasSecurityManager * @ejb.env-entry * name=securityDomain * value=progettoblu public Collection getLoggedUsers() throws RemoteException { try {