[JBoss-user] [Beginners Corner] - Problem in Deploying MyBank

2004-08-19 Thread kpraveena
Hi, I am unable to deploy the mybank bean in chapter 1...error is..0:57:40,436 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBea

[JBoss-user] [Beginners Corner] - Re: How to connect to HyperSonic DB on JBoss?

2004-08-19 Thread kpraveena
Hi, Which version u r using?With jboss-3.2.1 and latter u will find embedded hybersonic DB. Praveena View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845683#3845683 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845683

[JBoss-user] [Installation & Configuration] - Preoblems with JNI-modules

2004-08-19 Thread frodeh
When I run JBoss on a Windows-server, and uses InfoZoom-generated classes for accessing a DCOM-server, I am not able to redeploy my webapp. The server says :"java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\infozoom\izmjnicom.dll already loaded in another classloader" Is there po

[JBoss-user] [Installation & Configuration] - Custom Authentication

2004-08-19 Thread dhill
Is there a way to use custom authentication within jboss so that all request will have a principal assocaited with them, I am trying to get around the j2ee security constraint, what I mean is I don't want to have to use this method, I would like to just call a JBossAuthenticator in my login port

[JBoss-user] [Installation & Configuration] - Cannot keep login data

2004-08-19 Thread ltcmelo
Hi, i thought that my question would better fit in the JAAS forum, but as it's a very ordinary theme, i decided to come over here and ask people (how knows a little about login stuff) to take a look there http://jboss.org/index.html?module=bb&op=viewtopic&p=3845677#3845677 I'd really appreciate

[JBoss-user] [Security & JAAS/JBoss] - Problems to keep login data

2004-08-19 Thread ltcmelo
Hi, i got a real big problem that i must figure out a way out of it. I got my application protected with JAAS, so users cannot access any pages or servles withou a login. There's only one servlet (wich is not secure) that is the one that actually logs the user in. Heres the code of my login ser

[JBoss-user] [Beginners Corner] - Re: Compile of Duke's Bank app failed

2004-08-19 Thread rhook
Rantless response. To get over that particular hurdle, I had to do the following: 1. Edit the build.properties file in the j2eetutorial directory to make sure the servlet.jar line read: servlet.jar=${jboss.server}/deploy/jbossweb-tomcat50.sar/servlet-api.jar 2. Edit the jboss-build.xml file in

[JBoss-user] [Beginners Corner] - Re: Compile of Duke's Bank app failed

2004-08-19 Thread rhook
"hbaxmann" wrote : your ant script environment is missing some impotent .jar files (servlet.jar in this case) | | bax {Rant mode enabled} rrrgghhht!!! Just what I like about the FOSS world. An answer that is: a) misspelt; b) risible due to incorrect spelling; c) accurate, but compl

[JBoss-user] [Nukes User] - Re: Time out in index writer...

2004-08-19 Thread MilesParker
I tried changing that value (MaxUploadSize) to a very large value -- but after experimenting it appears that this is the problem. I had it at 80MB. For whatever reason hanging it back to a lower value worked for smaller (600k) files. I am going to try it on intermediate sized files now, but it

[JBoss-user] [Security & JAAS/JBoss] - how to invoke securable ejbs?

2004-08-19 Thread mayue00
Hi, I have a swing application running as a client that needs to invoke ejbs deployed on a remote Jboss server. How should I pass the authentication to the Jboss so that those securable ejbs can be invoked? Thanks a lot! Mark Ma View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [EJB/JBoss] - RMI/Naming with Multiple Site Hosting

2004-08-19 Thread grinch
Dear Friends, We are currently hosting multiple JBOSS sessions by running different jboss server instances on different JVM ports. I have created a client app than connects to the a server instance, but when I try to create an initial contect to a machine it always get connection refused. I

[JBoss-user] [EJB/JBoss] - Re: why i can't invoke bmp method

2004-08-19 Thread osataken
thank you for the answer jamesstrachan but when i run client i cannot see "ejbCreate() Called" in Server Console and no information insert in database , i think the method "ejbCreate()" was not invoked. did i miss something??? (my English skill is not very well) sorry, if it has some mistakes.

[JBoss-user] [Installation & Configuration] - Re: Having trouble connecting jboss 3.2.2 to Oracle 10g

2004-08-19 Thread lafr
Your configuration is not quiet clear to me. On the box where jboss is running you have 10g installed ? You use a 9i instance on another box ? You should use oci instead of oci8 in your protocol definition. Environment variable ORACLE_HOME must be set and point to the oracle 10g software dir. Envi

[JBoss-user] [Javassist user questions] - Re: bug in ExprEditor.edit(NewExpr call) when in try-catch-b

2004-08-19 Thread fedor
// code to patch class-file: | | import javassist.*; | import javassist.expr.*; | import java.io.*; | import java.util.*; | public class Patch | { | public static void main(String args[]) | throws Exception | { | File f=new File

[JBoss-user] [EJB/JBoss] - Re: javax.ejb.ObjectNotFoundException: No such entity!

2004-08-19 Thread balteo
Hello Loubyansky, First of all thanks for taking the time to respond. I tried the following test as you suggested: 1. I try to access the record through a ejbhome findByPrimaryKey 2. I try to access the record through plain jdbc Here is the code: | <%@ page import ="javax.ejb.*" %> | <

[JBoss-user] [Persistence & CMP/JBoss] - BLOBs and Transactions

2004-08-19 Thread ceh
Hi, JBoss 3.2.4 Oracle 9 or 10 I have a bean with byte[] fields that are stored as BLOBs in the Oracle database. The bean is created with the blobs empty. When I update both blob fields (an image and an audio clip) within a transaction using the setter method, the values get switched in the dat

[JBoss-user] [Installation & Configuration] - Jboss and Log4j

2004-08-19 Thread Some1ne
Hi, I was wondering if it's possible to configure multiple loggers through log4j...I know I can have multiple appenders so that I can go "log.debug('whatever');" and have the message go to multiple logs in multiple formats, but what I would like to do is have a logger configured that handles deb

[JBoss-user] adding garbles sesion id string

2004-08-19 Thread Nikita
Hello, I have a very simple war app. it consists of only test.jsp, a page that prints out session id string. The problem is that if i add "distributable" to web.xml, this string becomes garbled (both in the browser and in console output): without : "session id: 5129D795478E6529E233E1909EF85C

[JBoss-user] [Clustering/JBoss] - Re: How to access HA Singleton MBean clusterwide via EJB

2004-08-19 Thread nickman
Thorsten; Try this: 1. When your HASingleton starts, look up the jmx/invoker/RMIAdaptor in JNDI and bind it to a new name under HA-JNDI. 2. All your local EJBs can then look up that adaptor in HA-JNDI and invoke calls against it. 3. Calls made to that adpator will be invoked aganst the running

[JBoss-user] [Security & JAAS/JBoss] - declarative security and applet/flash remoting

2004-08-19 Thread sblanc1
Hello, I have a war application using tomcat security and declarative security on the server side. the authentification is performed per login-config on the web.xml and tomcat ensures SingleSignOn. Once done I'd like to launch applets and flash movies (using flash remoting) to call session beans

[JBoss-user] [HTTPD, Servlets & JSP] - adding garbles session id string

2004-08-19 Thread dukehoops
Hello, I have a very simple war app. it consists of only test.jsp, a page that prints out session id string. The problem is that if i add "distributable" to web.xml, this string becomes garbled (both in the browser and in console output): without : session id: 5129D795478E6529E233E1909EF85CB7.n

[JBoss-user] [HTTPD, Servlets & JSP] - Serve static files with Apache from a deployed .WAR file?

2004-08-19 Thread jjm
As all of these types of posts start, I'm new to JBoss and need some help. I have setup Apache 2.0.50 and JBoss 3.2.5 using mod_jk2. My application is defined to operate in the root context (http://servername/) by creating a WEB-INF/jboss-web.xml I am serving static files (with apache) from a d

[JBoss-user] [Nukes User] - Re: Time out in index writer...

2004-08-19 Thread cooper
it's not related I think. to upload larger file, this must be tweaked on the CoreModule which has an value that limits the file uploaded size. julien View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845648#3845648 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Beginners Corner] - Re: JBoss Connection Pooling - MySqlDS not bound Error

2004-08-19 Thread noseya
theoretically u should ask for java:/YOURJNDINAME I did but it doesnt work 4 me View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845647#3845647 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845647

[JBoss-user] [EJB/JBoss] - Is there a way to download stub jar for an deployed EJB in J

2004-08-19 Thread yueming
Hi there, I'm trying to get a stub jar for an EJB, but couldn't find the place. Can someone tell me where I can do this in web-console or jmx-console or via API? Thanks in advance! Yueming View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845645#3845645 Reply t

[JBoss-user] [Beginners Corner] - Re: making http request from within a session bean

2004-08-19 Thread janilsal
Look at HttpClient module from Apache Jakarta Commons project. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845646#3845646 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845646 --

[JBoss-user] [JCA/JBoss] - Re: JCA/CICS has problem with JBoss4.0 RC1

2004-08-19 Thread mlavarreda
Sorry for my english. Where i found the file cicseci.rar? and how I deploy the cicsc-ds.xml into Jboss. I use Jboss 3.2.2 Thank in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845643#3845643 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: [b]Not authorized to add messages to DLQ[/b]

2004-08-19 Thread wolfj
I get the same problem in JBoss 3.2.3 The MDB that's trying to write to the DLQ is configured to listen to a queue on another server over HTTPS. I wonder, then, if it's trying to write the message to the other server's DLQ? View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Nukes User] - Re: Time out in index writer...

2004-08-19 Thread MilesParker
Anyone have any idea what is going on here? This is very frustrating, because now that I have built the funcitonality to upload a directory stucture I cannot upload any large files. Even relativly small files (600+K) have difficulties. :-( View the original post : http://www.jboss.org/index.h

[JBoss-user] [Beginners Corner] - making http request from within a session bean

2004-08-19 Thread columod
hi all, sorry if this seems a stupid question, but ;-) i'm trying to make a http request from within a session bean (to a url not within jboss). does jboss have a standard way of doing this/ standard library for making the call. any help greatly appreciated. cheers, colum. View the original post

[JBoss-user] [Clustering/JBoss] - Re: How to clear HAJNDI's HARMI stub being cached in NamingC

2004-08-19 Thread drew.farris
"[EMAIL PROTECTED]" wrote : I added a change for 3.2.5 that clears the discovered proxy on failure. I am encountering this issue as well -- in 3.2.5, where can I find the patch that fixes it? Will this fix be rolled into the next release of 3.2.x? View the original post : http://www.jboss.org/i

[JBoss-user] [Installation & Configuration] - Re: JBoss, Hibernate, JDBC, hotdeploy causes error

2004-08-19 Thread forhead
We believe that the problem is in hotdeployment: JBoss does not manage to undeploy the application and connections and that is why hotdeployment fails when Hibernate asks for a connection from JBoss connection manager. I use jTDS driver, but problems occur with MS JDBC Driver too. So how am I su

[JBoss-user] [EJB/JBoss] - Re: why i can't invoke bmp method

2004-08-19 Thread jamesstrachan
Although you are returning an AccountPK object from your ejbCreate() method, you are not storing an AccountPK object inside the Entity Bean itself. So JBoss cannot locate or handle the Entity Bean. You need to add as shown below :- | System.out.println("ejbCreate() Called."); |

[JBoss-user] [EJB/JBoss] - Re: ABSTRACT_SCHEMA problem with ejb-ql

2004-08-19 Thread harshi2003
i forget to add one thing. i get this error only when i use jboss.query with Like. if i use ejb finder without jboss.query not getting this error. is there anyway i could use order as bean jndi name and use above queries. you reply is very much appriciated. View the original post : http://www.

[JBoss-user] [Persistence & CMP/JBoss] - Re: unique constraint & TransactionRolledbackLocalException

2004-08-19 Thread tomerbd
Rolled back ofcourse :) ... why didnt i catch that exception in the testUnique() method ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845632#3845632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845632 --

[JBoss-user] [Persistence & CMP/JBoss] - Re: unique constraint & TransactionRolledbackLocalException

2004-08-19 Thread tomerbd
Could it be a cache thing? That my transaction was commited but not to the database ? if so, then How can I konw if my setAlias succeeded or failed? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845631#3845631 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Installation & Configuration] - Jboss - MS SQLSERVER2000 configuration problem

2004-08-19 Thread asite
I am configuring our application on joss-3.2.5. We are using Ms Sql database. I have done up to following steps for configuration of Jdbc. 1)copy msbase.jar,msutil.jar,mssqlserver.jar from Microsoft SQL Server 2000 Driver for JDBC\lib to C:\jboss-3.2.5\jboss-3.2.5\server\default\lib dir. 2)En

[JBoss-user] [JCA/JBoss] - Jboss - MS SQLSERVER2000 configuration problem

2004-08-19 Thread asite
I am configuring our application on joss-3.2.5. We are using Ms Sql database. I have done up to following steps for configuration of Jdbc. 1)copy msbase.jar,msutil.jar,mssqlserver.jar from Microsoft SQL Server 2000 Driver for JDBC\lib to C:\jboss-3.2.5\jboss-3.2.5\server\default\lib dir. 2)En

[JBoss-user] [Persistence & CMP/JBoss] - unique constraint & TransactionRolledbackLocalException timi

2004-08-19 Thread tomerbd
Hi I have a unique constraint on an alias field (I dont want two users with the same alias) on a mysql database in this way : | ALTER TABLE User ADD UNIQUE(alias); | I have a test client like this (pseudo code) | public void setUp() { | // Set up user1 entity with alias1 | //

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XAConnectionFactory not bound

2004-08-19 Thread optimusprime
Well, thanks. The deploy is ok now, but I'm not being able to find the QueueConnectionFactory through jndi lookup. I'll post my descriptors, plus the client code: jboss.xml : | | MailCreatorMDB | queue/MailQueue | | jms/QCF | QueueConnectionFa

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - org.jboss.deployment.DeploymentException: Invalid encoding n

2004-08-19 Thread zzhang999
Hi, Folks, I can run ex041a(b) successfually. So I tried to run ex042 by using "ant run.client_42", but I failed. The error message is: javax.naming.NameNotFoundException: TravelAgentHomeRemote not bound. Anyone has some clues? Thanks, z View the original post : http://www.jboss.org/index.h

[JBoss-user] [Installation & Configuration] - Re: Debugging in JBoss, please how to?

2004-08-19 Thread darranl
Have a look at JBoss-IDE to get you started. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845625#3845625 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845625 ---

[JBoss-user] [Installation & Configuration] - Custom Auth Valve on jboss-3.2.5 w/tomcat

2004-08-19 Thread dhill
I have a custom authentication valve that I use on tomcat 5.x with no problem, on tomcat I just add the Valve and the Realm to the context and add the jar to the server/lib folder. How can I confgiure this to work on jboss, I tried adding it to the server.xml but I am getting a lot of mbean erro

[JBoss-user] [HTTPD, Servlets & JSP] - Re: HttpServletRequest.getServerPort() incorrectly returns 8

2004-08-19 Thread danorris
Followup: I tried adding proxyPort="8080" to server.xml. After that, getServerPort() does correctly return 8080. But shouldn't proxyPort default to the actual port setting, which is 8080? I shouldn't need to explicitly specify a proxyPort. Thanks again, -- David Norris [EMAIL PROTECTED] View th

[JBoss-user] [Security & JAAS/JBoss] - Updating login information

2004-08-19 Thread tscondor
Hi! I use the DatabaseServerLoginModule and I have a problem: when I insert a new user with password and roles on the db, the new information are not usable. The new user don't login on the system. I must restart JBoss for accepting the new user. You have some ideas? Simone Excuse my very bad e

[JBoss-user] [HTTPD, Servlets & JSP] - Deployment problem with JBOSS 3.2.5

2004-08-19 Thread bgarner
Hello, I am trying to deploy a small application that was created using the Sun ONE development tool. Everything works well in Sun ONE, and I had Sun ONE create the .war file. When I copy the .war file to the server/default/deploy directory in JBOSS, the deployment is successful. However whe

[JBoss-user] [EJB/JBoss] - My entity bean does not work when I have not network connect

2004-08-19 Thread vedamen
I use myEclipse and JBoss 3.0.8. When I create an CMP entity bean, and deploy it, everything works fine if I am connected to the network. If I am not connected to the network, Session and MDB beans work fine, but when I call an entity bean I get the following error: java.rmi.ServerException: R

[JBoss-user] [Installation & Configuration] - Entity beans don't work if not connected to the network?

2004-08-19 Thread vedamen
I use myEclipse and JBoss 3.0.8. When I create an CMP entity bean, and deploy it, everything works fine if I am connected to the network. If I am not connected to the network, Session and MDB beans work fine, but when I call an entity bean I get the following error: java.rmi.ServerException: R

[JBoss-user] [Persistence & CMP/JBoss] - Entity beans don't work if not connected to the network

2004-08-19 Thread vedamen
I use myEclipse and JBoss 3.0.8. When I create an CMP entity bean, and deploy it, everything works fine if I am connected to the network. If I am not connected to the network, Session and MDB beans work fine, but when I call an entity bean I get the following error: java.rmi.ServerException: Re

[JBoss-user] [EJB/JBoss] - why i can't invoke bmp method "ejbCreate()"

2004-08-19 Thread osataken
from mastering ejb II i 've created primary key class (AccountPK) and defined it in tag in ejb-jar.xml . this is my EJBHome public interface AccountHome extends EJBHome { | Account create(String accountID,String ownerName) throws CreateException,RemoteException; | public Account f

[JBoss-user] [Javassist user questions] - Re: bug in ExprEditor.edit(NewExpr call) when in try-catch-b

2004-08-19 Thread chiba
I'm using JDK1.4.2 and the javac compiler of 1.4. What are you using? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845612#3845612 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845612 ---

[JBoss-user] [Javassist user questions] - Re: bug in ExprEditor.edit(NewExpr call) when in try-catch-b

2004-08-19 Thread chiba
I ran the following test case but any problem was not found: | ExprEditor ed = new ExprEditor() { | public void edit(NewExpr expr) throws CannotCompileException { | expr.replace("$_ = new test2.HashMapWrapper($1, 1);"); | } | }; | | CtClass cc = ClassPool.getDefault

[JBoss-user] [JCA/JBoss] - Re: Dramatic SQL response time moving from jboss 3.0.6 to 3.

2004-08-19 Thread mbaptist
OK, We are making the same tests using p6spy SQL Profiler v.0.3. By the way, is there any difference between v3.0.6 and 3.2.5 that could explain our problem? REM: with both versions, I made the tests using the default config. and both are using the same database located on a remote server. B

[JBoss-user] [Security & JAAS/JBoss] - Re: Who handles the login request????

2004-08-19 Thread stueccles
Are you using Tomcat?? If so it will be org.apache.catalina.authenticator.FormAuthenticator View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845609#3845609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845609 -

[JBoss-user] [Nukes User] - Nukes 1.1 default theme

2004-08-19 Thread cooper
Which theme do you want to bethe default theme. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845608#3845608 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845608 -

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss JAAS x Tomcat's

2004-08-19 Thread dev2gosoft
Security context is propagated in JBoss-Tomcat. I use the databaseserverloginmodule to authenticate and i can use methods like reqest.isUserInRole etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845607#3845607 Reply to the post : http://www.jboss.org/in

[JBoss-user] [JCA/JBoss] - Re: Dramatic SQL response time moving from jboss 3.0.6 to 3.

2004-08-19 Thread [EMAIL PROTECTED]
Get a profiler and show where it is spending the time. 1) The cpu used by each method 2) The "real time" for each method The results will be different for each, (2) is more interesting, it is closer to what your debug is showing. JBoss doesn't do anything for rs.next() except pass it to the data

[JBoss-user] [Installation & Configuration] - Debugging in JBoss, please how to?

2004-08-19 Thread ltcmelo
Hi, what do i have to do for debugging a request in JBoss??? It's so so important to me!!! I'd like to run the server, submit a page and go along the request through all it's steps. What do i have to do to accomlish that??? I'm using jboss 3.2.3 and eclipse ide. View the original post : htt

[JBoss-user] [Security & JAAS/JBoss] - Who handles the login request????

2004-08-19 Thread ltcmelo
When i submit a form based authentication (with action='j_security_check'), wich class handles this request??? I mean exactly what class is the main one in creation LoginContext(), calling Login(), etc... It's because i'd like to take a look to the source to build a very similar login handler.

[JBoss-user] [Beginners Corner] - How to connect to HyperSonic DB on JBoss?

2004-08-19 Thread wieza
Hi, i'm learning jBoss and at the beginning i would like connect to data base on jBoss. I have here part of my code: Connection con = null; Statement stm = null; ResultSet rs = null; try { Class.forName("?") con = DriverManager.getConnection("","user","password"); stm = con.creat

[JBoss-user] [Persistence & CMP/JBoss] - Re: Cascade delete

2004-08-19 Thread sbrbot
I have read it for more than few times but have no clue what exactly are you pointing on!? From that paragraph I cannot conclude that container should try to destroy relationships before trying to delete bean. Finally, the question stays: how JBoss manages deployment descriptor element (only

[JBoss-user] [JCA/JBoss] - Re: Dramatic SQL response time moving from jboss 3.0.6 to 3.

2004-08-19 Thread mbaptist
Hi, (I'm working with Damien, alias DaffyDuck) I made some complementary tests. Withe a simple ejb using a datasource on both JBoss 3.0.6 and 3.2.5, I found the following results (average time executing the same request 25 times) jboss 3.0.6 ~70 ms jboss 3.2.5 ~ 1000 ms !!! I added some debug to

[JBoss-user] [JCA/JBoss] - Re: DeploymentException: Error compiling EJB-QL for Roster a

2004-08-19 Thread daniels
Hi, I had the same problem with JBoss 3.2.5, and I will try to explain you how to fix it. Your problem is that the EJB-QL command contains Enter in the select command: select distinct object(p) from Player p where p.salary between ?1 and ?2 Try to change the select command to look like this (writ

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key violation - why is child deleted first in 1-

2004-08-19 Thread suzyrizzo
When I tried to isolate the issue, I realized that the problem only occurred when I had multiple releationships set up for an entity - one with batch-cascade-delete and the other without it. I have uploaded my little test-case along with bug report #1012184 Thank you very much for your time. V

[JBoss-user] [Beginners Corner] - JNDI Communication Exception

2004-08-19 Thread uharri
(should have been posted here!) hi there An instance of JBoss has been running for (probably too long) a while without any problems - then client processes suddenly get this communication problem: javax.naming.CommunicationException: Failed to retrieve stub from server *: Root exception i

[JBoss-user] [EJB/JBoss] - Re: wrong local-jndi tags in jboss.xml using Eclipse+Lomboz

2004-08-19 Thread darranl
Your post makes no sense, can you describe what you are doing fully. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845596#3845596 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845596

[JBoss-user] [EJB/JBoss] - wrong local-jndi tags in jboss.xml using Eclipse+Lomboz

2004-08-19 Thread AdCo
I still have the very old problem that the EJB tags for the local jndi names are not correctly generated (JBOSS.XML will be overwrite with wrong entries). Is anyone outthere that have solved this problem ? copy/paste each time when the EJB classes are generated is not very funny ... View the

[JBoss-user] [Installation & Configuration] - JNDI communication exception

2004-08-19 Thread uharri
hi there An instance of JBoss has been running for (probably too long) a while without any problems - then client processes suddenly get this communication problem: javax.naming.CommunicationException: Failed to retrieve stub from server *: Root exception is java.io.EOFException a

[JBoss-user] [Installation & Configuration] - Re: Having trouble connecting jboss 3.2.2 to Oracle 10g

2004-08-19 Thread seckley
i have tried the 10g drivers in the lib dir of the server and i still got the same result. I have a full installation of Oracle 10g on the machine where the server is. however the db i am connecting to is an oracle 9i db. I have tried the the thin statement in the Oracle-ds file but to no avail.

[JBoss-user] [Clustering/JBoss] - Re: How(when) detects the cluster the dead members?

2004-08-19 Thread prese
Hi Bela, I noticed the following behavior: - when the cable is pluged-out the suspect messages are generated but the HaPartition is not notified with a suspect event - when the cable is pluged-in the HaPartition is first notified with suspect event and after that with merge event Is this the exp

[JBoss-user] [Clustering/JBoss] - Re: How(when) detects the cluster the dead members?

2004-08-19 Thread bela
Pulling the plug should result in a viewAccepted() callback. Depending on the parameters of FD it will take more or less time. I have done this before on various systems, and it has always worked. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845587#38

[JBoss-user] [Installation & Configuration] - Tomcat 5 Integration Basics

2004-08-19 Thread rmkrueger
Hi, I'm currently evaluating migrating from a Tomcat 5 + Tyrex (JTA) combo to JBoss 3.2.x - Tomcat 5 (no EJB). I looked at the distribution and would like to ask a few basic questions regarding how Tomcat is integrated with JBoss. 1) server.xml It looks as if I can use all normal Tomcat 5 con

[JBoss-user] [Clustering/JBoss] - Re: How(when) detects the cluster the dead members?

2004-08-19 Thread prese
Hi Bela, IÂm using FD not FD_SOCK. I make a little debug and HAPartion.viewAccepted() is called only when a plug the network cable not when I unplug it. The cluster reports the node as suspicious but It still consider it like an friendly node ... Is any possibility to force the deleteion of t

[JBoss-user] [Management, JMX/JBoss] - Re: HELP! Redeploying webapps - how's it done?

2004-08-19 Thread icordoba
I am replying to this old post to ask what is the simplest way to redeploy/reload a webapp in JBoss 3.2.5 When I update jar files, EJBs are reloaded OK, but classes in jars inside WEB-INF/lib dirs of webapps are not. I "touch" web.xml file to get the webapp restarted, but jars are not reloada. T

[JBoss-user] [JBoss Getting Started Documentation] - Re: Installing a single JSP page

2004-08-19 Thread darranl
Deploy it in an exploded war. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845581#3845581 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845581 --- SF.Net email is

[JBoss-user] [EJB/JBoss] - Re: ABSTRACT_SCHEMA problem with ejb-ql

2004-08-19 Thread harshi2003
i am using xdoclet to generate ejb.jar and jboss.jar. i have define finder methods without using like as follows. @ejb.finder signature = "java.util.Collection findByOrderStatus(java.lang.String orderStatus)" * query = "SELECT OBJECT(o) FROM Order o WHERE o.workflow

[JBoss-user] [JCA/JBoss] - 3.2.5 + JCA + CCIBlackBox

2004-08-19 Thread deguoren
Hi, I'm a newbie to JCA and I'm trying to run Sun's CCIBlackBox-Adaptor from J2EE SDK 1.3.1 to see how things are working before implementing an OPC adapter. I copied the RAR into the deploy folder and created a -ds.xml file according to the FAQ: | | CciBlackBoxLocalTx | eis/

[JBoss-user] [EJB/JBoss] - Re: EntityBean not bound

2004-08-19 Thread itteerde
and the log reads 2004-08-19 11:32:22,309 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: dy2p65d1-6 2004-08-19 11:32:22,309 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.bbraun.ofas.configuration.connector.ejb.ConnectorE

[JBoss-user] [Persistence & CMP/JBoss] - Re: Delete Foreign Key Object

2004-08-19 Thread Hustenbolschen
My Tables after the create look like this: CREATE TABLE `BEANB` ( | `BEANB_NAME` varchar(250) binary default NULL, | `BEANA_ID` int(11) default NULL, | `BEANB_ID` int(11) NOT NULL auto_increment, | PRIMARY KEY (`BEANB_ID`) | ) TYPE=MyISAM; | | CREATE TABLE `BEANA` ( |

[JBoss-user] [EJB/JBoss] - EntityBean not bound

2004-08-19 Thread itteerde
i try to create a few EntityBeans from a statefull SessionBean but the SessionBean's create() method fails (i am trying to get the localhome reference in the create method [is that an apropriate place to do that btw?]) SessionBean's create method /** * Create method *

[JBoss-user] [Clustering/JBoss] - Re: HA JNDI peculiar behavior ?

2004-08-19 Thread amyrlinseat
One more thing:, when a single JBoss is up, and the lookup throws the exception in the client, on the JBoss I get the following DEBUG message: [org.jboss.ha.jndi.HANamingService$AutomaticDiscovery][HAJNDI-AutomaticDiscovery] Ignoring discovery request for partition: 1100 (the first [] is the cl

[JBoss-user] [Persistence & CMP/JBoss] - Delete Foreign Key Object

2004-08-19 Thread Hustenbolschen
Hello, IÂm using JBOSS 3.23 with mysql How can I prevent to delete the foreign key component when its still in use in the primary key object: I have two Beans BEAN A and BEAN B Both have an autoincrement ID and the ID of Bean A shall be the foreign key of BEAN B. This already works fine, but I

[JBoss-user] [Clustering/JBoss] - Re: How(when) detects the cluster the dead members?

2004-08-19 Thread bela
The dead member should be removed from the membership, but only if you use FD rather than FD_SOCK in (cluster-service.xml) Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845573#3845573 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

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

2004-08-19 Thread slonko
For the records: Put everything into an ear, then both the RA and the EJB's will be redeployed at the same time. This seems to solve my problems. Thanks to http://www.coredevelopers.net for their support and documentation. View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [JBoss.NET] - JBossAuthorisationHandler - AccessDenied Exception

2004-08-19 Thread serjik
Hi, I use JBoss 3.2.3. I wrote a simple web service and a simple client in Java. And I want to protect my service using application's realm, so I added Jboss authentification and autorisation handlers to my service. When I deploy my application (ear containing war and wsr) for the first time -

[JBoss-user] [Beginners Corner] - Tutorial on J2EE using JBOSS

2004-08-19 Thread sundy
I do it acording to this example . In chaper4 ,when i do stateful session bean,I create a bean ,and add to ejb module,then i generate ejb class,but it can not create the ejbCreate() method ,other method can be created.In previous step,no eror tell me. if i add ejbCreate() method by hand, and sa

[JBoss-user] [Beginners Corner] - Tutorial on J2EE using JBOSS

2004-08-19 Thread sundy
I do it acording to this example . In chaper4 ,when i do stateful session bean,I create a bean ,and add to ejb module,then i generate ejb class,but it can not create the ejbCreate() method ,other method can be created.In previous step,no eror tell me. if i add ejbCreate() method by hand, and sa

[JBoss-user] [Clustering/JBoss] - HA JNDI peculiar behavior ?

2004-08-19 Thread amyrlinseat
Hi all, I have 2 JBoss instances (3.2.3 on Windows 2003) in a cluster, and I have a client Java application (in a separate VM) that tries a JNDI lookup. The Jndi.Properties of the client is: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jbos

[JBoss-user] [Clustering/JBoss] - How(when) detects the cluster the dead members?

2004-08-19 Thread prese
Hi guys, IÂm using JBOSS 3.2.5. LetÂs consider the following scenario: - start Node A and Node B in the same scenarion - check the DefaultPartion MBean to see how many memebers are in the partition -- 2 .. A & B -- unplug the network cable for node B -- check the DefaultPartition -- 2 nodes A

[JBoss-user] [Installation & Configuration] - strange ConnectionFactory log messages

2004-08-19 Thread jkevin
hello - i have been using a db2 connection pool for awhile now and its worked fine. recently i made some changes to my app (added some EJB's so it went from deploying a .war to a .ear with the war inside) and thats deploying ok... except im seeing the following DEBUG entries in my server log:

[JBoss-user] [EJB/JBoss] - Re: ABSTRACT_SCHEMA problem with ejb-ql

2004-08-19 Thread loubyansky
You have change the abstract schema name to something else. The queries are compiled at deploy time (except for dynamic ones). So how does that deploy successfully? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845560#3845560 Reply to the post : http://www.

[JBoss-user] [EJB/JBoss] - Re: ABSTRACT_SCHEMA problem with ejb-ql

2004-08-19 Thread harshi2003
Thank you very much for your reply. As you said because of the order keyword it causes the problems. in my application order is an entity bean. but for the finder methods like @ejb.finder signature = "java.util.Collection findByConsigneeDate(java.lang.String consigneeRef,java.util.Date ord

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key violation - why is child deleted first in 1-

2004-08-19 Thread loubyansky
Yes, on the sourceforge.net. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845554#3845554 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845554 --- SF.Net e

[JBoss-user] [Persistence & CMP/JBoss] - Re: Cascade delete

2004-08-19 Thread loubyansky
I restored the page. Read starting from "The EJB2.1 spec defines the cascade-delete protocol in "10.3.4.2 Cascade-delete" as:" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845553#3845553 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post