[JBoss-user] [Management, JMX/JBoss] - Mbean dependency resolution

2004-05-05 Thread aseembansal
Hi, I am looking for a way in which my mbean can retieve its dependent objects. It seems that in the xml, I can specify my dependencies and container passes that objectname (via a setter) in my Mbean. From there how can my mbean retrieve the dependent object instance without using dynamic proxy.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown query error on finder method

2004-05-05 Thread [EMAIL PROTECTED]
Pascal Yip, double-checked all my interfaces etc. Funny thing is, the findByPrimaryKey gives me exactly the same error. That is why I am starting to wonder if it is not maybe a JBoss configuration that's wrong... Will have a look at the other topic as well. Thanx for your help! View the ori

AW: [JBoss-user] [Security & JAAS/JBoss] - Re: Very Very Urgent !! Multiple User

2004-05-05 Thread Janardhan Burugupalli
If u r using Jboss3.2.1 and using web clients ( like servlets,jsps to access secure EJB's) u must do the LoginContext.login() for every call made. ( Reason i Tomcat makes use of different thread for the same caller in successive requests) am i right scott regards jani -Ursprungliche Nachrich

[JBoss-user] [Beginners Corner] - How to get CMP EJBs with a Relation running with JBoss...

2004-05-05 Thread atrapp
Hi! I am trying to get my first 2 EJBs (User and Person) running with JBoss since February, but I get very funny messages from JBoss (Null-pointer-exceptions) when I try to deploy them... I am pretty sure, that there is something wrong with my descriptor files (because there is no useful docum

[JBoss-user] [Persistence & CMP/JBoss] - How to log sql statements on JBoss3.2.3

2004-05-05 Thread abv
Can anybody explain how I can JBoss force to log the sql statements generated by CMP? thanks Sven View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833858#3833858 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833858 -

[JBoss-user] [JBoss Getting Started Documentation] - run jboss in debug mode

2004-05-05 Thread Saroj
anybody can help me how to run jboss in debug mode in Linux OS. thanks in advance. Saroj View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833855#3833855 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833855 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: message distribution round-robining?

2004-05-05 Thread genman
Ignore what I wrote above. I should just shut up and drink my tea when I haven't taken a good look at the code Every time a message is added, the receiver is removed, and when the receiver is done processing it's added back. For hashtables, objects are returned by an iterator in the orde

[JBoss-user] [Installation & Configuration] - Re: BASIC HELP?! Getting 404 on port 8082 after install

2004-05-05 Thread raja05
Hmm I havent checked the docs in a while but if so, you should file a bug report as this is one of the first things that someone looks at after installing (just like you :-)) Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833853#3833853 Reply to the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: message distribution round-robining?

2004-05-05 Thread genman
I don't really understand how changing the HashSet -> ArrayList really helps distribution of load. It might change the iteration order, but the order then wouldn't change. Here's what I think is the problem. 1. No receivers 2. Queue receives, say 100 messages 3. A receiver is added When

[JBoss-user] [Management, JMX/JBoss] - Re: Packacking EAR with SAR

2004-05-05 Thread edelarosa
hello nort, try this one in your jboss-app.xml: | | | EJBJMX.sar | | | and add this to your application.xml: | | | | EJBJMX.sar | | | then try to run jboss and see if your service loads. HTH View the original pos

[JBoss-user] [Security & JAAS/JBoss] - Re: Help! Form-based authentication issue

2004-05-05 Thread NikhilKumar
Update: I was able to get the FORM based authentication working. The issue was in the placing of the user/roles property files in the WEB-INF. They needed to be in the WEB-INF/classes directory. Otherwise the console-war or jmx-war property files were overriding, leading to a failure of the lo

[JBoss-user] [Security & JAAS/JBoss] - WARN message when calling sessionContext.isCallerInRole(Stri

2004-05-05 Thread ronaldoc
Environment: JBoss 3.2.3 I have a Stateless Session Bean and within one of the business methods, I have code that looks something like this: | /** | * @ejb.interface-method | * @ejb.permission role-name = "Manager, Director" | */ | 1 public void doSomething() { | 2 Principal

[JBoss-user] [EJB/JBoss] - Stateful Transaction Timeout

2004-05-05 Thread jagertee
Greetings. I have a stateful session bean that I wish to set a timeout value for (e.g. if the user goes away to write a novel I want it to eventually timeout). I am also doing the appropriate remove at the end of the transaction sequence. Not sure where to set this in JBOSS. I've been using Jrun

[JBoss-user] [JBoss.NET & SOAP] - tomcat/axis WS won't deploy

2004-05-05 Thread tbiernat
after spending the last 4 hrs scanning through the available docs, I am still at a loss re. how to get our axis web services running in JBoss 3.2 or 4.x. these web services have been running for sometime in tomcat 4.x and 5.x under axis 1.1, so i figured this is a no brainer! my initial (naiv

[JBoss-user] [Messaging, JMS & JBossMQ] - message distribution round-robining?

2004-05-05 Thread darickard
I'm running 3.2.4RC2 in the HA configuration with MSSQL persistence on Windows 2000. Our messages are consumed by multi-threaded client apps running outside of JBoss. On each client, all threads share a connection, but each has its own session. I was seeing that all messages were being sent to

[JBoss-user] [Security & JAAS/JBoss] - Re: Very Very Urgent !! Multiple User

2004-05-05 Thread [EMAIL PROTECTED]
Using what version of jboss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833839#3833839 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833839 --- This SF.Net emai

[JBoss-user] [JBoss Getting Started Documentation] - app-client.jar in EAR? Deployed to server?

2004-05-05 Thread lancej
Hi all, I'm a jboss newbie working my way through the "Getting Started" docs and have found in section "4.1.5. Packaging the Java Client" the following: "The client jar will also be included as an additional module in the EAR file and the server." This seems rather odd. Why does the client nee

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP problem

2004-05-05 Thread [EMAIL PROTECTED]
Yes, the problem with http is that is stateless. There is nothing the server can keep open (like a tcp/ip connectio) to detect when a client fails. The client monitor helps, but only if the client is pinging to keep the connection alive. Is it not just a case of setting the PingPeriod in deploy/

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP problem

2004-05-05 Thread ducngo
It seems that even PingPeriod is set, it won't fix the problem because there is a HTTPClientIL instance created on the JBOSS to listen on the queue on behalf of remote HTTP JMS client - the PingTask only applied to this instance that's why PingPeriod is turned off. I guess that the only way ava

[JBoss-user] [EJB/JBoss] - ApplicationDeadlockException, retries and stateful session b

2004-05-05 Thread drdm7321
I have a stateful session bean that will deadlock relatively easily. I'd like very much to be able to detect deadlock situations and restart offending transactions. My beans has CMT, and org.jboss.ejb.plugins.TxInterceptorCMT successfully detects deadlocks, throws an ApplicationDeadlockException

[JBoss-user] [Clustering/JBoss] - Re: Clustered cache invalidations and BMPs

2004-05-05 Thread budworth
Sorry, ignore that post. For some reason I was completely missing the cache invalidation section of the clustering guide. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833833#3833833 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[JBoss-user] [Clustering/JBoss] - Clustered cache invalidations and BMPs

2004-05-05 Thread budworth
Hi all, I'm trying to implement some code to work with Oracle XML types. That being said, I need to do it as a BMP as accessing sys.xmltype from oracle requires a special oracle-specific library. I can easily do the database part, but where I'm getting stumped is I would like to use commit-op

[JBoss-user] [EJB/JBoss] - ERROR StatefulSessionEnterpriseContext locked < 0

2004-05-05 Thread bgw2
I'm seeing the following error periodically in server.log. What could possibly cause the enterprise context lock to get out of step like this ? This is JBoss 3.0.7 that I'm using. 2004-05-05 05:08:15,485 ERROR [org.jboss.ejb.StatefulSessionEnterpriseContext] locked < 0 java.lang.Throwable

[JBoss-user] [HTTPD, Servlets & JSP] - cookies not set with localhost but ok with 127.0.0.1

2004-05-05 Thread faria_hassan
Hi, I'm using a servlet to set cookies and then redirecting to a jsp. The servlet works fine if I access it with http://127.0.0.1:8080/servlet, or http://localhost.localdomain:8080/servlet. However, it does not set any cookies if I do http://localhost:8080/servlet. I am using JBoss with Tomcat,

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error when loading jmx-console

2004-05-05 Thread eldiosyeldiablo
I am trying to do the Duke's Bank Application and that is why I am posting this question here. Should I "move" this question to the general JBoss support forum? Thx, David View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833830#3833830 Reply to the post : htt

[JBoss-user] [JBoss Getting Started Documentation] - Error when loading jmx-console

2004-05-05 Thread eldiosyeldiablo
I have installed jboss-3.2.3 on my Windows XP Pro box today and when I try to goto the jmx-console page after I start the service. I am running the latest J2SE SDK (1.4.2). No changes have been done to the jboss install. I have added a few environment variables (JAVA_HOME, JBOSS_HOME, etc) Her

Re: [JBoss-user] [Beginners Corner] - Re: Deployment problem I cannot solve

2004-05-05 Thread Marco Tedone
Well, this seems a bit nusty. - Original Message - From: "momi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 05, 2004 8:42 AM Subject: [JBoss-user] [Beginners Corner] - Re: Deployment problem I cannot solve > I have a same problem for a bean which extends another clas

[JBoss-user] [Persistence & CMP/JBoss] - Pages in on-find read-ahead

2004-05-05 Thread sharris
In the latest JBoss A&D sections on the on-find and on-load read-ahead strategies, it's clear from the description of the generated EQL (listing 11-42) what the attribute does for on-load. But what does it do for on-find? View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [Installation & Configuration] - stop directory listing

2004-05-05 Thread aanand
Hi, Iam using jboss 3.2.3/Apache Tomcat/4.0.6 How do I disable directory listing for example when I enter this URL I can all contents under the directory .. http://localhost:/test Where is the tomcat conf file. I know this is doable in Apache but how to do this in Jboss/Tomcat environment.

[JBoss-user] [Installation & Configuration] - Re: Web Application Deployment Methods

2004-05-05 Thread jpw532
add me to the curious on this one View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833824#3833824 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833824 --- This SF.Net

[JBoss-user] [Security & JAAS/JBoss] - Form-based Login question

2004-05-05 Thread mwallner
Hi! I am using form-based login with j_security_check. After the user has logged in, some initalization is done (values are set into the session variable, etc). If a non-authenticated user requests a protected resource, he is redirected to the form-based login page (that's fine), but then redir

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to Configure the # of instances of an MDB

2004-05-05 Thread cvandyck
"[EMAIL PROTECTED]" wrote : | Here is something I added for 3.2.4 that provides a singleton MDB | http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/etc/conf/default/standardjboss.xml?r1=1.47.2.15&r2=1.47.2.16 | Adrian This is insanely useful and you have shaved hours off of the devel

[JBoss-user] [Security & JAAS/JBoss] - Re: Very Very Urgent !! Multiple User

2004-05-05 Thread Fenilya
What kind of applicatio do you have? Do you make use of jsp/servlets? HTTP sessions? If so, how do you keep track of Appserver sessions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833821#3833821 Reply to the post : http://www.jboss.org/index.html?module

[JBoss-user] [Performance Tuning] - Re: JBoss 3.2.3 memory leak in application, no idea what to

2004-05-05 Thread plutus
Hi community, as you can see in my first post there are very much byte and char arrays. I went into the detail and determined that most of the objects were instantiated in JSSE classes. Indeed we use encrypted communication between our web start swing clients and our jboss server: using ssl:

[JBoss-user] [Clustering/JBoss] - How do I set the workerName for session affinity in a load b

2004-05-05 Thread townej2
I am using jboss 3.2.1 with Jetty and there are 2 servers in the cluster. Apache is directing requests to JBOSS via mod_rewrite. I want to make sure all requests in a session hit the same server by adding a workerName to the end of the sessionID and using mod_rewrite to send requests to the right

[JBoss-user] [Nukes User] - Re: Nukes Can't Find JDBC Driver For MySQL

2004-05-05 Thread sgwood
Looking at the SectionEJB, the name should be 'pn_image'. I have changed the insert in setup.xml in CVS to reflect this. Sherman View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833818#3833818 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Installation & Configuration] - Re: BASIC HELP?! Getting 404 on port 8082 after install

2004-05-05 Thread spare_brain
Thanks! It worked, of course. So much for reading "unofficial JBoss Documentations"!! Both the documents claimed that the way to test installation is to visit http://localhost:8082 or http://localhost:8083 SB View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Beginners Corner] - Best way to establish systemwide properties at startup

2004-05-05 Thread pjrichter
What is the best way of load properties that will be available to any ejb? Specifically, I need an easy way to switch between our test and production databases. I'm not using connection pooling and need know the correct connection string. One thought was to use jndi-properties.xml, but I'm uns

[JBoss-user] [Nukes User] - Re: Nukes Can't Find JDBC Driver For MySQL

2004-05-05 Thread jiwils
Further investigation appears to indicate that the statement: CREATE TABLE nuke_sections ( pn_secid INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, pn_secname VARCHAR(40) DEFAULT '' NOT NULL, pn_image VARCHAR(50) DEFAULT '' NOT NULL ); incorrectly names the column pn_image instead of pn_secimage ba

[JBoss-user] [Installation & Configuration] - Re: BASIC HELP?! Getting 404 on port 8082 after install

2004-05-05 Thread raja05
Please read the Getting Started Docs that provide more info There is nothing listening on 8082 or 8083. http://localhost:8080/jmx-console is something that wud be up when u start jboss. There is NO default application hosted on 8080. View the original post : http://www.jboss.org/index.html?mod

[JBoss-user] [Nukes User] - Re: Nukes Can't Find JDBC Driver For MySQL

2004-05-05 Thread jiwils
I got past the problem of driver recognition. The driver should have been placed in the server's "lib" directory not the JBOSS_HOME/lib directory. With that, I encountered this error with the latest snapshot: INSERT INTO nuke_sections(pn_secname, pn_secimage) VALUES ('Nukes','transparent.gif')

[JBoss-user] [Installation & Configuration] - Re: BASIC HELP?! Getting 404 on port 8082 after install

2004-05-05 Thread spare_brain
Please let me clarify by saying that at http://localhost:8082/ I get the following: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. On http://localhost

[JBoss-user] [Installation & Configuration] - BASIC HELP?! Getting 404 on port 8082 after install

2004-05-05 Thread spare_brain
Hi, I'm a newcomer to JBoss. I downloaded and unzipped the binary for JBoss 3.2 on Win2K, and following the manuals, proceeded to C:\jboss-3.2.3\bin to execute "run -c all". The command window shows the usual starting of the JBoss, ending in "JBoss kernel started.." To test, I tried http://loc

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error When calling the HSQL Database Manager, page 23

2004-05-05 Thread eldiosyeldiablo
I too am getting this same exact error. I also have edited the file as the JBoss turorial said. Here is the lines from my edited hsqldb-ds.xml file in the default server directory... DefaultDS jdbc:hsqldb:hsql://localhost:1701 org.hsq

[JBoss-user] [Nukes User] - Nukes Can't Find JDBC Driver For MySQL

2004-05-05 Thread jiwils
After running the Nukes installer and filling out the datasource page (while following the updated Wiki instructions), I get a can not find database driver "org.gjt.mm.mysql.Driver" error when I click the next button. After searching the forums, I tried downloading the MySQL JDBC driver from the

[JBoss-user] [Beginners Corner] - [AbstractInstanceCache] Unable to passivate due to ctx lock

2004-05-05 Thread rasoul
Hi all, I am having a nasty repetitive error which I am unable to resolve. I have a gui client that depending on the user selection, makes different requests to a JBoss app server. The gui maintains a reference to a SessionFacade which is responsible for readying entity beans that represent data

[JBoss-user] [Beginners Corner] - Re: I Need a last release of jboss

2004-05-05 Thread nbrum
Thank you very much!! Natalia View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833807#3833807 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833807 --- This SF.Net ema

[JBoss-user] [Security & JAAS/JBoss] - Very Very Urgent !! Multiple User

2004-05-05 Thread anbenham
Hi, I have a strange behavior in my application If a user A tries to log on to the application, and user B is already logged on, sometimes, the user A is logged as B. That is request.getUserPrincipal() gives the principal of B. WhatÂs wrong View the original post : http://www.jboss.org/i

[JBoss-user] [Security & JAAS/JBoss] - Re: Multiple Login in multiple Applications

2004-05-05 Thread anbenham
I meant add the following to that file View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833805#3833805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833805 --- This

[JBoss-user] [Security & JAAS/JBoss] - Re: Multiple Login in multiple Applications

2004-05-05 Thread anbenham
add to jboss-service.xml under jboss-3.2.3\server\default\deploy\jbossweb-tomcat41.sar\META-INF View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833804#3833804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833804 ---

[JBoss-user] [JCA/JBoss] - Re: org.jboss.tm.JBossTransactionRolledbackException when ac

2004-05-05 Thread [EMAIL PROTECTED]
This is a generic error from Oracle saying it does not like the commit, look for error messages before this one or failing that turn on TRACE logging (explained in READ THIS FIRST). You might also want to look at the Oracle log. View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Persistence & CMP/JBoss] - Re: storing byte[] CMP field with size > 2000k

2004-05-05 Thread dhartford
couple of options: -Compress the byte array using ZIP/JAR utilities (and uncompress on the other end). -Switch field type. I do not know about Oracle, but in MySQL switching to LONGBLOB can hold an insane amount. -D View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: deadlock in invocation layers on solaris

2004-05-05 Thread [EMAIL PROTECTED]
Show me the thread dump for UIL2 OIL is deprecated because it has known synchronization problems. Are the first two threads supposed to match up? If so they are both waiting for each other, nothing is going to move. I would need to see a log to work out why the server is waiting for a response fro

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Interrupted while requesting permit!

2004-05-05 Thread raja05
Paul, Yes that should work. This is based on the concurrent.jar that gets a permit waiting for the timeout second u provide in the -ds.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833800#3833800 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [Beginners Corner] - Re: i need examples of jboss-ide, help me please.

2004-05-05 Thread ozzberdant
i see this examples..i have not problem with this,all running perfectly, but i need other examples with ejb(one entity bean "bmp"), jsp, jboss-idethe more simple example. pd:sorry my english is very poor... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [EJB/JBoss] - Re: properties from a file

2004-05-05 Thread raja05
Create a Singleton that would be kicked off from a load-on-startup servlet. This wud read a proprties using getResource() and store it as a singleton or jndi if clustered. Once u have it, u can access from ejb, jsp, whatever. Ofcourse, this is just one way, there are multitude of patterns availab

[JBoss-user] [Persistence & CMP/JBoss] - Re: storing byte[] CMP field with size > 2000k

2004-05-05 Thread ricardoarguello
The Oracle JDBC Thin driver is not spec complaint! They expect you to use the OCI driver, which is a PITA because of the Oracle Client installation you must do, and horrible TNS configuration headaches. I've had some problems with hot redeployment when using the OCI driver For me the OCI dri

[JBoss-user] [Installation & Configuration] - Web Application Deployment Methods

2004-05-05 Thread socrplyr
We are using the JBoss 3.2.3 w/ Tomcat 4.1 bundle. I know that Tomcat 4.x and 5.x both support deploying a webapp using an XML file stored in either the conf directory or the webapps directory (depending on version) that looks something like: | Is this or something similar possible w

[JBoss-user] [Security & JAAS/JBoss] - Re: New LoginContext for each request...

2004-05-05 Thread [EMAIL PROTECTED]
Use a servlet filter or tomcat valve then. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833794#3833794 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833794 --- Th

[JBoss-user] [Installation & Configuration] - Re: JBoss' org.jboss.logging.appender.DailyRollingFileAppend

2004-05-05 Thread [EMAIL PROTECTED]
The only behavior the jboss version adds is to create the path to the log file if it does not exist. | public class DailyRollingFileAppender |extends org.apache.log4j.DailyRollingFileAppender | { |public void setFile(final String filename) |{ | FileAppender.Helper.m

[JBoss-user] [Messaging, JMS & JBossMQ] - JBossMQ Error under heavy burden

2004-05-05 Thread swingler
I use JBuilderX. It has a wizard which can generate a class encapsulate the JMS service. The class implements MessageListener. Anyone who has JBuilderX can have a try. Use the wizard to generate the class without any Transaction or Persistance. Let's take topic as an example. if we just while(tr

[JBoss-user] [JBoss.NET & SOAP] - Re: AxisService doesn't send notification

2004-05-05 Thread [EMAIL PROTECTED]
I have fixed this for 3.2.4RC2. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833791#3833791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833791 --- This SF.Net e

[JBoss-user] [Security & JAAS/JBoss] - Desparate Help!- Login config using database - JBOSS

2004-05-05 Thread NikhilKumar
I am trying to implement form-based authentication in a JBOSS 3.2.3/ Embedded Tomcat/ Firebird database environment. I have tested that I can login into Firebird using isql for the user id/ password combination that I have. It seems to go past any jdbc connection errors (no stack/ failures). How

[JBoss-user] [Persistence & CMP/JBoss] - Re: Is this a jboss bug (entity setter mehod)?

2004-05-05 Thread vying
Yes, it's a 1-to-many relationship.where B has a compound primary key. say A's Primary Key is PK_A, B's Primary Key is (PK_A,ColB),where ColB is another column in Table B. The scenario like this: say table B's structure is like:(PK_A,ColB,ColB2) and we have a row of old data here in table B:(1

[JBoss-user] [Persistence & CMP/JBoss] - Re: How to integrate a sar of Hibernate in a JBoss EAR

2004-05-05 Thread moghrabi
I succeed to make it work and I don't know how. In fact, I named the directory META-INF in minuscule instead of capital letter. When I renamed it with capital letters, it has worked. It's a strange behaviour Xavier MOGHRABI View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [EJB/JBoss] - Re: TimerService(EJB2.1) with JBOSS-4.0.0DR2 don`t work if

2004-05-05 Thread fearghal
I'm experiencing the same problem - using jboss-4.0.0DR3, i've successfully created a session bean that creates a timer - the ejbTimeout method is invoked as expected. but when the server is restarted the jboss trace reports: 17:23:03,281 INFO [FilePersistenceManager] Using data directory: D:

[JBoss-user] [Installation & Configuration] - JBoss' org.jboss.logging.appender.DailyRollingFileAppender a

2004-05-05 Thread jonathanztaub
I'm using JBoss version 3.21 on a Redhat Linux 9. In the log4j.xml configuration file, there is an entry for a logger with the "org.jboss.logging.appender.DailyRollingFileAppender" appender. Everything works well. Recently I've been assigned a task to clean log files if they become to big. I thou

[JBoss-user] [EJB/JBoss] - Re: properties from a file

2004-05-05 Thread pjrichter
How are these entries accessed? Also, what if the same entry also needs to be accessed by a jsp? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833783#3833783 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833783 --

[JBoss-user] [Security & JAAS/JBoss] - Re: jBoss 3.2.3+DatabaseServerLoginModule+Struts confusion

2004-05-05 Thread [EMAIL PROTECTED]
Then either get in the debugger or add some logging and look at what the password is coming back from the db. Break or add logging to the UsernamePasswordLoginModule.validatePassword(String inputPassword, String expectedPassword) method. View the original post : http://www.jboss.org/index.html

[JBoss-user] [JCA/JBoss] - org.jboss.tm.JBossTransactionRolledbackException when access

2004-05-05 Thread pepcodina
Hi, I've got an Oracle xa datasource configured in my application. The datasource configuration file looks like this: | | | jdbc/myDataSource | true | false | oracle.jdbc.xa.client.OracleXADataSource | jdbc:oracle:thin:@hostname:1521:systao | user

[JBoss-user] [Messaging, JMS & JBossMQ] - deadlock in invocation layers on solaris

2004-05-05 Thread janssk1
Hello all, We are experiencing some annoying deadlock behavior when trying to send messages a queue. The code we use for sending a message is pretty straightforward: |public static void sendRequestsOnQueue(QueueConnectionFactory factory, Queue queue, List requests, int deliveryMode) thro

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown query error on finder method

2004-05-05 Thread sesques
Hi Hendrik, We had a similar topic this week, quite the same error: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833417 but your query seems OK, so I don't understand. I think that the error arrives before any database access (and the JNDI name should be the one I give you). There

[JBoss-user] [HTTPD, Servlets & JSP] - Run JSP with JBOSS

2004-05-05 Thread karlos
Hello, im using jbuiderX with JBOSS to develop a webmodule. I have a jsp file (home.jsp). When i run the project , i get an error in jbuilderX: ""home.jsp": java.lang.NoClassDefFoundError: org/apache/jasper/JspC" I donÂt know what is missing. Please someone help me View the original post :

[JBoss-user] [HTTPD, Servlets & JSP] - Re: servlet 2.3 web container first class loading in JBoss 3

2004-05-05 Thread DatriaSteve
Scott, Thanks that got past the web-console error. Now the problem is in the loading of my application. | 2004-05-05 09:08:04,453 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:/D:/jboss-3.2.3/server/default/deploy/EspeakDispatch.war | java.lang.VerifyError: (c

[JBoss-user] [Installation & Configuration] - SFTP service available on Jboss?

2004-05-05 Thread dhartford
Hey all, I know there is the mail service, but is there an existing SFTP service available on Jboss? Thanks, just curious before writing against a client library (sshtools) for my application, would be wiser/easier to use just another Jboss service. -D View the original post : http://www.jboss

[JBoss-user] [Persistence & CMP/JBoss] - How to integrate a sar of Hibernate in a JBoss EAR

2004-05-05 Thread moghrabi
Hello, I try to use Hibernate deployed as a SAR in a JBoss application (EAR). So all the libraries needed have been put into the $JBoss_home/server/all/lib. I build the Sar and the Jar. The 2 archives are correct because I can use them well when they are not deployed in the same EAR. When I tr

[JBoss-user] [EJB/JBoss] - Re: LIKE keyword in ejb ql with an input parameter CANT MAKE

2004-05-05 Thread jimboinlondon
Blimey. I was trying to do this all this aft. and you chaps have solved my problem. Thanks. James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833772#3833772 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833772 --

[JBoss-user] [Beginners Corner] - Database connection without pooling

2004-05-05 Thread pjrichter
How can I set up a datasource that does not use connection pooling/ I want it to establish a new connection to the sql2000 db on demand and release it when I'm done. I've attached my *-db.xml data. | | | | | | | | | | OracleDS | jdbc:oracle:thin:@10.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Persistent vs. in-memory

2004-05-05 Thread [EMAIL PROTECTED]
"Bill Burke" wrote : | Don't take Adrian's comments too personally. He is the KING of answering questions on the forums and sometimes loses his patience. If you have ever done support before, I'm sure RTFM questions would drive you crazy as well so cut him some slack. All of us do get annoy

[JBoss-user] [Installation & Configuration] - Re: Deploy WAR from directory outside of JBoss deploy direct

2004-05-05 Thread socrplyr
Tomcat 4.x and 5.x support deploying a webapp using an XML file stored in either the conf directory or the webapps directory (depending on version) that looks something like: | Is this possible with JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=

[JBoss-user] [Persistence & CMP/JBoss] - Updating entity bean fields using BeanUtils

2004-05-05 Thread roger_cmu
I have an entity bean with the following three methods. | public abstract Integer getProductid(); | public abstract void setProductid(Integer productid); | public abstract String getProduct_desc(); | public abstract void setProduct_desc(String desc); | public abstrac

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown-pk usage ?

2004-05-05 Thread sesques
Thanks Roger, I agree with you. The auto generated primary key issue is solved by: 1) the @jboss.persistence auto-increment = "true" tag for the primary key cmp field. 2) the @jboss.entity-command name = "(Database specific)" in the bean definition. But it works also with: 1) @jboss.unknown-pk .

[JBoss-user] [Beginners Corner] - Vignette Content Services on JBoss?

2004-05-05 Thread TaKoehler
Hi, I was wondering, if anyone out there knows, if Vignette Content Services (http://www.vignette.com/) can be deployed on JBoss? We are in search of a low-cost alternative to using other application servers such as BEA Weblogic or IBM Websphere and thought, JBoss might be just what we are look

[JBoss-user] [Persistence & CMP/JBoss] - storing byte[] CMP field with size > 2000k

2004-05-05 Thread jdauvin
Hi all, I have a CMP EntityBean with one CMP field of type byte[] /** * @ejb.persistent-field * @ejb.persistence column-name = "binary_file" * @ejb.interface-method view-type = "${ejb.interface.type}" * * @return the binary content of the file */ abstract public byte[] getBinary