[JBoss-user] [JCA/JBoss] - Re: Oracel XA and deployment error

2004-05-30 Thread santon
To [EMAIL PROTECTED] Hi What i see in jmx-console jboss.jca name=DefaultDS,service=LocalTxCM name=DefaultDS,service=ManagedConnectionFactory name=DefaultDS,service=ManagedConnectionPool name=JBoss JDBC XATransaction ResourceAdapter,service=RARDeployment name=JBoss LocalTransaction JDBC Wra

[JBoss-user] [EJB/JBoss] - Re: EJB ghost reference in JBoss JNDI

2004-05-30 Thread b_manuj
Pls help me for the same problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836930#3836930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836930 --- This SF.Ne

[JBoss-user] [Persistence & CMP/JBoss] - Mapping Entity Beans to Database Tables

2004-05-30 Thread abcolson
Greetings, I am using JBoss 3.2.3 with Postgres and encountering issues mapping beans/attributes to tables/fields. My table/field names sometimes have spaces and/or other characters that don't exactly match the bean, such as: anonymous wrote : Mapping entity bean "Question" => Table "Questions

[JBoss-user] [Installation & Configuration] - CMP2.0 bean Deployment failure with JBoss

2004-05-30 Thread Saroj
Hi, Iam using Jboss3.2.1, NetBeansIDE3.6. I tried to deploy theCMP2.0 enity bean.But Deployment fails with following Exception. Exception : Exception in CMP Enity Bean - ejb-jar.xml. Abstract schema name mustbe a valid Java Identifier. I configured OracleDatasource by following steps.. 1.Edited

[JBoss-user] [EJB/JBoss] - Re: Why the detail locals are not loading

2004-05-30 Thread lahirukarunatilake
Thanx for the help I figured it out. As you have said it was a database issue. After I changed the table types of my mysql datbase the ejb worked as normal.. Thanx again, Lahiru. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836925#3836925 Reply to the

[JBoss-user] [Installation & Configuration] - Re: Starting failed java.sql.SQLException: User not found: S

2004-05-30 Thread murthy_cvrs
I didn't change any settings...Just Insatalled Jboss 4.0 and all my classpath was set to this installation.when I started the server...I got this error. Do u think I have to delete the prior Installation of Jboss 3.x on my system which was running successfully? Thanx n Rgds View the original

[JBoss-user] [JCA/JBoss] - Re: PostgreSQL - default data source

2004-05-30 Thread gorano
You can't change database in DefaultDB without changing the JMS configuration. /Goran View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836923#3836923 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836923

[JBoss-user] [EJB/JBoss] - Re: lookup datasource from java client

2004-05-30 Thread gorano
If you have to use a datasource from your client I guess most J2EE programmers would agree that you have a problem with the design of your application. Use the datasource in a session bean and do remote calls from the client. The whole idea behind J2EE is to keep the bussiness logic on the serve

[JBoss-user] [Performance Tuning] - jboss starts getting slower after 150 form submissions

2004-05-30 Thread sk4567
Hi, I am using jboss 3.2.3 with MysqlI have a struts based application..with EJB 1.1... I am using CMP's . I am seeing that after submitting a particular form 150 times+ the system tends to slow down P.S - the form whcih is getting submitted has dynamically generated rows of text boxe

[JBoss-user] [Javassist user questions] - Problem with .jar creation

2004-05-30 Thread nikleas
Hello Perhaps i'll pass for a newbie for this, but what the hell! I created an application that dynamicly create classes using javassist and created the .jar for this appli. The problem is, when i run the thing with java -jar myjar.jar , it creates successfully dynamicly the .class files, but of

[JBoss-user] [Installation & Configuration] - Re: HELP - Cant Log into Mgt Console

2004-05-30 Thread javadon
I am a newbie with JBOSS, where do I find those files? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836913#3836913 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836913 -

[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
hmm no docu whatsoever .. although through trial and error i kinda get the poll mysql mod up the poll says its installed. Getting it to show as a block, doesn't work. Fails with the usual unusable java exception tree. Well its free :) Still hoping for some precompiled modules which tell me wh

[JBoss-user] [Beginners Corner] - Weird problem starting JBoss on linux

2004-05-30 Thread maeztro
Hi, I'm having the strangest problem with a J2EE application that is running under JBoss on Linux. The application generates some graphics that are copied to a temp dir in JBoss directory. The application works fine IF I start it from a terminal _locally_ (sitting in front of the server comput

[JBoss-user] [Security & JAAS/JBoss] - Re: cannot get multiple realms to work with 3.2 (works well

2004-05-30 Thread [EMAIL PROTECTED]
Without the details of what each domain is doing there is insufficient information here. Described the complete call sequence that is failing along with the stacktrace of the failed call. Every call coming into the web container needs to establish its security context either by being a secured w

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Default page not found when precompiled

2004-05-30 Thread treespace
Found the problem. You cannot use a Servlet in the welcome-file-list of web.xml. This "flaw" is fixed in Tomcat 5.0 but 3.2.3 uses Tomcat 4.1. In 5.0 you can add the name of the servlet (not the mapping, the name) as a welcome file in your welcome file list. Meanwhile we will just leave that

[JBoss-user] [JCA/JBoss] - PostgreSQL - default data source

2004-05-30 Thread Bazgrus
I have problem to connect JBoss 3.2 to PostgreSQL 7.4 I have configured default ds in jbosscmp-jdbc.xml file java:/DefaultDS DefaultDS true false false 30 false true true foreign-key and replaced the hyper-ds.xml file for the pos

[JBoss-user] [Security & JAAS/JBoss] - cannot get multiple realms to work with 3.2 (works well in 3

2004-05-30 Thread Eelco69
Hello, I have searched all forums, haven't been able to find something about my problem. I have multiple websites in production running on a 3.0.7 JBoss Server. Everything works fine. However, I am now trying to get the same websites running under 3.2. Now something weird happens: The first rea

[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
ok found them now in the src dist, compile ok now i just have to figure out what to use ear sar ejb etc. hope this will be a kinda docu for the unknowing like me View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836906#3836906 Reply to the post : http://www.j

[JBoss-user] [Messaging, JMS & JBossMQ] - Jboss-3.2.3 Hypersonic localDB.backup problem

2004-05-30 Thread TheImmortal
When starting JBoss (3.2.3 on Solaris 2.8), we recieve the following errors: -- org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: File input/output error: /opt

[JBoss-user] [Persistence & CMP/JBoss] - Re: Index already exists in statement

2004-05-30 Thread sbocquet
Hi, I'm trying to install mySQL to do some testing... Here is the complète log with HSQLDB | 2004-05-31 00:20:36,048 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/bet4fun/Evenments,service=EJB | org.jboss.deployment.DeploymentException: Error wh

[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
jmx-console nothing, oh no, looks like I have to look in the source dist .. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836903#3836903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836903 ---

[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
http://www.onjava.com/pub/a/onjava/2003/06/04/nukes.html a Google search doesnt reveal, either but loads of talk about the modules :( Great job though .. :)) on the package itself View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836902#3836902 Reply to the

[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
I mean the once advertised on http://www.jboss.org/products/nukesjboss module name description origin corecore functionnalities : component management and security pnAPI + pnMod useruser management pnUser + module NS-NewUser your accountuser settings module NS-Y

[JBoss-user] [Nukes User] - where do I get modules

2004-05-30 Thread neilk
Where do I get the extra modules? Installed JBoss works added nukes mysql works no extra modules to be found though Looked in wiki nukes-installer/install doesnt exist neither in nukesmysql nor jbossnukes Then installed jboss3.2.3nukes to see if extra modules are there. Can't see them. Searche

[JBoss-user] [Security & JAAS/JBoss] - Running JBoss with the default sandbox

2004-05-30 Thread mtedone1
Hi, I'm studying Java Security, and trying to run JBoss with the default sandbox parameters. I set several permissions so far, and now I'm getting the following exception: | java.security.AccessControlException: access denied javax.management.MBeanServerPermission: name=createMBeanServer

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss audit fields

2004-05-30 Thread sbocquet
Hi, Thanks a lot for the quick answer... I know this isn't the right place, but do you know if it's possible to generate those fields automatically with JBoss IDE (XDoclet), because I can't find a jboss specific tag for it ? Cheers, View the original post : http://www.jboss.org/index.html?mo

[JBoss-user] [EJB/JBoss] - Re: Stateful session bean Problem

2004-05-30 Thread neptune5
cheers Scott i'll give it another try. I did put some similar code into the doGet() with the httpsession . Problem was when I add the item it goes through the doPost() and this part lost the bean and couldn't retrieve the order no to get the order details. Does putting this code into a doReque

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss audit fields

2004-05-30 Thread loubyansky
You are missing security-domain for EJB in jboss.xml. Have a look at jboss_3_2.dtd. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836896#3836896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836896

[JBoss-user] [Persistence & CMP/JBoss] - Re: Index already exists in statement

2004-05-30 Thread erik777
It appears as though it creates the index the first time, but can't detect that it already exists the next time, since it's trying to create it again. I would try another database, such as MySQL, to try to determine if it's a JDBC problem. If it works in MySQL or another database, then it is

[JBoss-user] [Persistence & CMP/JBoss] - JBoss audit fields

2004-05-30 Thread sbocquet
Hi, I try to add audit fields on my EJBs. I've added the corresponding tags on my jbosscmp-jdbc.xml file for my beans. | | Roles | true | false | Roles | | | roleId | RoleId | |

[JBoss-user] [Persistence & CMP/JBoss] - Index already exists in statement

2004-05-30 Thread sbocquet
Hi, I use JBoss IDE (XDoclet) to generate my CMP EJBs, and HSQQLDB as database. I have 2 EJBs, Groups and Roles. A groups can have many roles and a role can have many groups. There is a relation table between them, GroupsRolesLink. The first time I deploy them, the container creates the tables,

[JBoss-user] [EJB/JBoss] - Re: lookup datasource from java client

2004-05-30 Thread erahamim
So what should I do ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836891#3836891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836891 --- This SF.Net email is s

[JBoss-user] [EJB/JBoss] - Re: lookup datasource from java client

2004-05-30 Thread kabkhan
java:/ namespace is only accessible from within the same JVM View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836890#3836890 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836890 ---

[JBoss-user] [EJB/JBoss] - lookup datasource from java client

2004-05-30 Thread erahamim
Hi, I am tring to look up datasource from java client using the following code: Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); env.put (Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interf

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Transactional MessageBean not responding to client submi

2004-05-30 Thread rgjawanda
Thanks, I will give it a shot. I have read a lot on this topic on the SUN site. I didn't see anywhere an explaination about the commit. They only specified the change in the request to true,0. I appreciate your help. Ron View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Security & JAAS/JBoss] - Re: Authentication in JBoss (login)

2004-05-30 Thread pilhuhn
If it is stored encrypted: who has the key? The server would need the key somewhere in clear text (or protected by a pass phrase that the admin needs to type in everytime the server starts). If the admin has the key, he can read the password. What you can do (and which is supported by JBoss) is t

[JBoss-user] [Security & JAAS/JBoss] - Re: Authentication in JBoss (login)

2004-05-30 Thread remowaller
Oh, thanks very much for your hints. It seems as it would work with my application. I've solved it with a FORM-based authentication. This authentication I would need to get into my application. This application is a distributed EJB-application. a user can register himself to get access to it. t

[JBoss-user] [Persistence & CMP/JBoss] - Re: adding record to CMR field

2004-05-30 Thread ironbird
My address is ironbirdy40 at yahoo dot com. I rely on you not to be victim of spamming noise. But what happens with the new code ? the same thing or errors ? Put both entity beans, and the client, then I can test it in my computer. View the original post : http://www.jboss.org/index.html?modu

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread erik777
rberehoudougou: You did the same thing. Your CMP field used a lower case 'd': | | productId | | And your primary key class used an upper case 'D': | public String productID; | Also, I can't remember if it is a requirement as I replaced all my composite primary keys with

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread loubyansky
I do appreciate Ironbird's comments in other threads. Just be careful when and how you post. And think whether you would trust a forum which contained false statements and misleading info. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836883#3836883 Reply t

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread ironbird
Absolutly right Erik. Thanks you ! And you solve by the way the error of this topic where rberehoudougou uses a productId cmp field and a productID in its primary key class : the same "d" lower and upper case. Probably a bad natural reflex on the keyboard (the timing for pressing "shift" when yo

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread erik777
You used a lower case 'd' when you defined the CMP field: | | | cliId | | and an upper case 'D' when you defined your accessors in your primary key class: | public Long getCliID() { | return cliID; | } | Alex, Ironbird seems thus far to be a good person and is

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread ironbird
And I continue about compound primary key errors: To be clear, I never use it myself (I always use normalized schemas). But I try this: The same example as above with public String cliCode; in the primary key class (so 2 fields). The database creation in mySQL: | 2004-05-30 12:23:47,844 DE

[JBoss-user] [Installation & Configuration] - Re: where to put jk2.properties

2004-05-30 Thread rbanu
Please share us the info View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836878#3836878 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836878 --- This SF.Net email i

[JBoss-user] [Persistence & CMP/JBoss] - Re: adding record to CMR field

2004-05-30 Thread didi
may I send you an email with the LectureEntityBean.java? I am not getting it (I bet it is just a little, small thing..) even though I did everything you said View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836877#3836877 Reply to the post : http://www.jboss.o

[JBoss-user] [Persistence & CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-30 Thread hbaxmann
Uhu. Aha. bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836876#3836876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836876 --- This SF.Net email is sponsore

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread ironbird
Erik, Sorry, you teach me something, but I try both and cannot see a valuable difference. Alex, I apologize if you don't like my comments byt I can proove what I say. The only error I make is that (you are right) the SQL generated for testing the entity existence is the same for the databases).

[JBoss-user] [Installation & Configuration] - Re: how to avoid JNDI port conflicts at startup?

2004-05-30 Thread hbaxmann
If you want to have a full automatic port allocation and discovery process, than use and extend the ServiceBindingManager for dynamic port allocation and publish the StoreURL over a standardized port like LDAP or HTTP for the clients. But I am in doubt, if this efforts are good for hiding organi

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread loubyansky
IRONBIRD, your last two comments are absolutely misleading and wrong! DEBUG for org.jboss.ejb.plugins.cmp is enough to see each executed SQL and DDL statement. In 3.2.3 (as well as other versions), the SQL generated to check for key duplication is the same for each database and is correct for c

[JBoss-user] [Installation & Configuration] - Re: how to avoid JNDI port conflicts at startup?

2004-05-30 Thread [EMAIL PROTECTED]
http://www.iana.org/assignments/port-numbers View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836870#3836870 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836870 ---

[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.2 abnormal termination

2004-05-30 Thread [EMAIL PROTECTED]
To show shell config ulimit -a But the JVM should be trapping all signals and producing its own dump. in $PWD If you are sure you are not exiting gracefully (I haven't seen any evidence from you either way - e.g. "tail log/server.log") it is a JVM bug or OS problem. I do not intend to turn this