[JBoss-user] [Persistence & CMP/JBoss] - why findAll() method retuning unusual result

2004-06-17 Thread nischalsharma
hi friends i am getting very unusual result while running findAll() method of my cmp bean. for example :if there are 3 record in database then final output show the last record 3 three times. ie end record display three time. here is the code :function with findAll() -

[JBoss-user] [Security & JAAS/JBoss] - Re: Customized Authecticator failed on JBoss 3.2.4

2004-06-17 Thread gfzhang
it is solved by modifying org/apache/catalina/startup/Authenticators.properties View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839173#3839173 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839173 -

[JBoss-user] [Installation & Configuration] - Re: Bunch of errors at startup

2004-06-17 Thread kikuze
ok.. i find the cause of the errors.. it was due to a tomcat-configured jndi.properties placed in the lib folder of the sdk.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839172#3839172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS+HAIL+XA: Pooled Connections Never reconnects on singleto

2004-06-17 Thread arisa
I'm using JMS with HAIL and XA on JBoss 3.2.3, which seems uncommon from the posts I see. I have a clustered configuration (2 servers), and need to send JMS Messages transactionally with the container-managed transactions. I need to send the JMS Message to the singleton JMS Server (which in 3.

[JBoss-user] [EJB/JBoss] - Re: Potential Bug when looking up on localhost

2004-06-17 Thread ronaldoc
bruciadmin, Not sure what platform you're running JBoss on but if its Linux, make sure your iptables setting is allowing connection to port 1099. Nevertheless, post your solution here if it was caused by something else. Regards, Ronaldo View the original post : http://www.jboss.org/index.htm

[JBoss-user] [Installation & Configuration] - Re: Bunch of errors at startup

2004-06-17 Thread kikuze
By the way these errors come up even though I did not do any setup at all.. all I did was just to unzip JBoss and execute the run.bat... so hope someone can tell me if there is anything i need to look out for prior to running the server.. thanks Russ View the original post : http://www.jboss.o

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-06-17 Thread jae77
can you send the sar (including source) to the address in my profile and i'll take a look at it on my end. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839165#3839165 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Security & JAAS/JBoss] - Two way authentication rmi over ssl

2004-06-17 Thread rufusness
I have the pay documentation that explains how to configure SSL communication to an EJB but I didn't see anything that talks about two way authentication. Is there a way to configure two way authentication? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Installation & Configuration] - Re: Config Web Application in JBoss for Development Environm

2004-06-17 Thread gorano
Configurations take place in web.xml and and the jboss specific jboss-web.xml. Those files should be in the lib directory inside your war. Yes, you have to rebuild your war every time. This is not a problem if you use a proper IDE, for example Eclipse. ANT is a great tool to automate all your b

[JBoss-user] [Beginners Corner] - Re: CMP deployment error on JBOSS 3.2.4 using Eclipse

2004-06-17 Thread gorano
If you have not succesfully deployed any CMPs yet, please provide more info on syntax and deployment descriptors. It is most likely your CMPs are not correct. /Goran View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839160#3839160 Reply to the post : http://

[JBoss-user] [Beginners Corner] - Re: depolying jars error

2004-06-17 Thread gorano
Update versions "outside" JBoss to be the same as the one used in JBoss. /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839159#3839159 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839159

[JBoss-user] [Beginners Corner] - Re: depolying jars error

2004-06-17 Thread gorano
You have another copy of bcel.jar, that is conflicting with the version in JBoss. The most common one is if you have xalan.jar in your JAVA_HOME/jre/lib/endorsed directory. Info about this can be found on the WIKI. /Goran View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [Installation & Configuration] - Re: URGENT- Classloader issue

2004-06-17 Thread skulawik
I've actually replaced the dom4j from JBoss 3.2.4 in Version 1.3 with the latest 1.5B2 from sf.net. Right now this one comes with a full jaxen distribution which I'm using right now. Nevertheless, this sounds more like a hotfix. Same procedure starts with cocoon and a new Xerces 2.6.2 which has

[JBoss-user] [Beginners Corner] - Re: depolying jars error

2004-06-17 Thread thudacko
I just "upgraded" from JBoss 3.2.2RC3 to 3.2.3 and I now get the same for one (or more) of my CMP EJBs. There have been no changes to my code, XML deployment descriptors, Ant build.xml, etc. This previous worked fine. Apparently something has changed in 3.2.3. You might try an older version

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where to define my context when upgrading from JBoss 3.2

2004-06-17 Thread hergaty
Hi Roel, did you find a solution for your problem? Regards, Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839155#3839155 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839155

[JBoss-user] [Beginners Corner] - CMP deployment error on JBOSS 3.2.4 using Eclipse

2004-06-17 Thread ggilberto
Hi there, I have been able to deploy all other types of beans except CMP beans. I I'm using the Hypersonic SQL datasource. Please let me know if you have any ideas. I am using JBoss 3.2.4. I get the following error when deploying a bean: 17:50:47,828 WARN [ServiceController] Problem starting servi

[JBoss-user] [Installation & Configuration] - NoClassDefFoundError on AIX with EJB over HTTP

2004-06-17 Thread hswac
Hi, we are using EJB over HTTP with no problems on Windows and Linux platforms. But on AIX, it doesn't work. We got this error (complete stacktrace below): Unexpected Error: java.lang.NoClassDefFoundError: $Proxy138 With EJB over RMI everything is fine. The JBoss configuration is identical on

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

2004-06-17 Thread hergaty
Hi, did you found a solution for your problem above? Greats, Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839151#3839151 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839151

[JBoss-user] [Installation & Configuration] - Re: Config Web Application in JBoss for Development Environm

2004-06-17 Thread hergaty
Hi, did you found a solution? I've got the same problem. Thanks, Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839150#3839150 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839150 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Cannot delete temporary queue, it is in use.

2004-06-17 Thread mkarrys
So. I have searched the list and cannot find any resolution to this problem even though there are a few messages about it. I had the problem in the 3.0.x days but my code has been working for awhile but now with 3.2.4 this problem has reared its ugly head again. So does anybody know how to use

[JBoss-user] [JBoss.NET & SOAP] - get rid of jboss-net/service and just have url have my given

2004-06-17 Thread acxsjones
I am using jboss-net for webservices. I would like to make the url simple and not contain jboss-net or service. I can map service in the web.xml to a prefix of my own. But how do I tell JBoss to not require jboss-net in the url. Thanks View the original post : http://www.jboss.org/index.htm

[JBoss-user] [Security & JAAS/JBoss] - JBoss and HTTP Authorization

2004-06-17 Thread Some1ne
I was just wondering about the scheme used for HTTP Authorization in JBoss when is set to "BASIC" in web.xml...does it follow a challenge/response pattern, or will the server bypass issuing the challenge if the first request already contains an Authorization header with the proper credentials?

[JBoss-user] [Beginners Corner] - Re: Error in getResourceAsStream(); Can't read a properties

2004-06-17 Thread kumar30r
Sorry, Small correction Contents of the JAR has Ebonding.properties though in the previous post I typed in process.properties by mistake in JAR contents. meta-inf/jboss.xml | meta-inf/ejb-jar.xml | conf/Ebonding.properties | com/../.. (other bean classes) Thank you. View the original pos

[JBoss-user] [Beginners Corner] - Re: Converting from Hypersonic to MYSQL

2004-06-17 Thread seabird
There is a format error (or something) in the previous post. The XML did not render cleanly. It should have read: I had to drop the opening < from defaults> mySQLDS mySQL foreign-key defaults> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Beginners Corner] - Error in getResourceAsStream(); Can't read a properties file

2004-06-17 Thread kumar30r
I have put a properties file under conf directory in a JAR. I am not able to read its contents from one of the beans deployed through the same JAR file. Contents of the JAR: | meta-inf/jboss.xml | meta-inf/ejb-jar.xml | conf/process.properties | com/../.. (other bean classes) I am try

[JBoss-user] [Beginners Corner] - Converting from Hypersonic to MYSQL

2004-06-17 Thread seabird
This is actually a series of messages strung together from a posting at "theserverside.com" I didn't get many helpful answers here, so I am submitting the evidence to this august group and begging for assistance. Sorry the post is so long, I wanted to offer as much evidence as I could. "I had

[JBoss-user] [Beginners Corner] - Re: EJB not committing

2004-06-17 Thread u9707118
Hi, thanks for the reply. The reason I am confused is because when using Oracle 9i Application Server...when you create an EJB (supplying a unique ID), this is reflected immediately in the database. However in JBOSS, (as described in the above scenario), this is not true. Damian View the origi

[JBoss-user] [Beginners Corner] - Re: Can Jboss Connection Pool framework be used to pool reso

2004-06-17 Thread kumar30r
Thanks darranl and Spritualmechanic, I think I got an idea based on what I read on JCA. Lets see how it works.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839139#3839139 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Beginners Corner] - Problem session Hibernate and JBoss

2004-06-17 Thread tads
Hi, IÃÂm using Hibernate 2.0.2, Oracle 8.1.7 and JBoss 3.2.3. I have a method as follows: | | // Obs.: the attribute dsTest of test is updated in called of | the method insertTest(..) | | | public void insertTest(Test test) | { |Session session = null; | Tr

[JBoss-user] [EJB/JBoss] - servlet and entity bean problem

2004-06-17 Thread jonasj
I have a project and spent 2 full days and not able to get it working. I am using jboss3.2.3. I have a servlet and entity bean (BMP). Servlet neeeds to talk to entity bean. this is the portion of code in servlet init: Context context = new InitialContext(); Object ref = context.lo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Client not able to pull any messages from the Queue

2004-06-17 Thread brightsunny2020
Thanks dannyyates I tried by seting the persistence mode to message, didn't work. Then I tried setting the persistence mode for both QueuSender and Message, still no luck Can u pls. take a look at the code or Please copy&paste ur code here that works for you. I am using to the file system persi

[JBoss-user] [Messaging, JMS & JBossMQ] - user: NULL is not authenticated

2004-06-17 Thread gfreemankc
We're having an issue with our queue where we are unable to send messages to it after a period of inactivity. We're using JBoss 3.2.3 (on Windows) The mq trace log has the following: 2004-06-17 13:02:39,207 TRACE [org.jboss.mq.Connection] Connection Initializing 2004-06-17 13:02:39,207 TRACE [or

[JBoss-user] [Clustering/JBoss] - 3.2.4 cluster problem

2004-06-17 Thread amdonov
I had two solaris machines clustered with 3.2.3. Moved to 3.2.4 and started an all instance on each box. They don't see each other. I can start two instances on the same machine and they cluster fine. The boxes both only have a single network card (That seemed to be causing others problems).

[JBoss-user] [Performance Tuning] - Re: how to keep alive the connect between standalone Tomcat

2004-06-17 Thread yong_jiao
If you look at org.jboss.invocation.pooled.server.PooledInvoker, JBoss does seem to cache the connection on the client side. However the CurrentClientPoolSize is already 0 during my testing. I used COMMIT D option and "optiond-refresh-rate". Originally I thought JBoss would automcatically RELOAD t

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-06-17 Thread ferruccio
I'm using JBoss 3.2.3RC1 with Nukes 1.0.0 prepared for MySQL. The server starts without problems. This is the code: package org.jboss.nukes.addons.modules.linkmodule; import org.jboss.nukes.module.*; import org.jboss.nukes.html.*; public class LinkModule extends ModuleSupport { /** Cr

[JBoss-user] [Beginners Corner] - Re: java.net.SocketException: Network is unreachable: connec

2004-06-17 Thread gorano
Sorry, didn't read yur post to the end :-( Im so lazy. /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839132#3839132 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839132 -

[JBoss-user] [Beginners Corner] - Re: java.net.SocketException: Network is unreachable: connec

2004-06-17 Thread gorano
Telnet will probably fail, and you have a network issue to sort out. If it doesn't fail you will get some rubish back from JBoss as a response. /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839131#3839131 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Beginners Corner] - Re: java.net.SocketException: Network is unreachable: connec

2004-06-17 Thread gorano
Try to telnet the server on port 1099. /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839130#3839130 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839130 --- Th

[JBoss-user] [Beginners Corner] - Re: JBoss3.2.4 + Struts

2004-06-17 Thread gorano
we have a quite heavy Struts site developed and tested on 3.2.3. Deployed it on 3.2.4 production a few days ago. We have not experienced any problems at all so far (Just want to help ruling out any bug thoughts). /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Management, JMX/JBoss] - Monitors and operations

2004-06-17 Thread mcorey
Is there currently any way to have monitors evaluate the output of an operation, instead of simply checking the value of attributes? If not, are there any plans to implement this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839128#3839128 Reply to the po

[JBoss-user] [HTTPD, Servlets & JSP] - Redirect from Apache to JBoss losing request/session info

2004-06-17 Thread monocongo
In apache/conf/httpd.conf I am doing a RedirectPermanent to a URL on another machine, and I think I am losing some session or request information when the request is forwarded to the redirect URL. I am redirecting to a servlet which is running on a JBoss server on a remote machine, and in the s

[JBoss-user] [Clustering/JBoss] - Re: farming problem with trivial webapp

2004-06-17 Thread guidog
The farm/ directory wasn't writeable on the second node, so farming failed silently. I posted a patch to the BTS to add an error message when renameTo() fails View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839126#3839126 Reply to the post : http://www.jboss.

[JBoss-user] [Management, JMX/JBoss] - Timer MBean Sample

2004-06-17 Thread bnadesan
Hi All, Please if possible, can anyone post a sample of a timer MBean. Regards... bnadesan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839125#3839125 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839125 ---

[JBoss-user] [EJB/JBoss] - error message : column can't be null.

2004-06-17 Thread caesarkim
java.sql.SQLException: General error, message from server: "Column 'client' cannot be null" this is what i got from local ejb entity bean implementation. this is my deployment descriptor. MAIN_PROJECT id client projectOwner createDate lastChange id

[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI

2004-06-17 Thread budworth
I believe that items stored in JNDI are stored as serialized objects. Basically meaning that when your first server started, it created a new (empty) map and stored it in the JNDI tree. At that point, it was serialized as an empty map. Every subsequent lookup would then be getting the empty map

[JBoss-user] [EJB/JBoss] - Re: Exceptions on redeploy of EJB Jar

2004-06-17 Thread daorriss
Just an FYI for posterity... After reading and finding that a "LinkageError" is basically reported when there's a object loading error I found that there was overlap between two libraries containing the same objects. After I reorganized the projects to make sure they didn't load overlapping cl

[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI

2004-06-17 Thread nickman
Are you sure that the contents of the hashtable are serializable ? //Nicholas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839121#3839121 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839121 --

[JBoss-user] [Persistence & CMP/JBoss] - Foreign Key is also Primary Key

2004-06-17 Thread minimini
Dear Jboss Experts I've a question on cmr. I've read a lot of topics in this forum relating on this, but I haven't found an entry for my specific problem: i've an ejb with a composed primary key. one field of the primary key is defined as foreign key column too (and not null). i've configured m

[JBoss-user] [Beginners Corner] - Re: Log4j output to files

2004-06-17 Thread ghoyle
Also just rembered, when I change the date it does nto seem to roll over the file. Should'nt the operational..log become operational.log.dd-mm-yy when i change the date? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839114#3839114 Reply to the post : http

[JBoss-user] [Beginners Corner] - Log4j output to files

2004-06-17 Thread ghoyle
I have put some log4j code into my ejb's. I then want to log to 2 seperate files so I have modified log4j.xml to do this and I have been succesful. However the out put to the file is a little too verbose e.g. I get anonymous wrote : | 2004-06-18 16:15:59,156 [RMI TCP Connection(41)-192.168.0.

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-06-17 Thread jae77
do you have the nukes core deployed? are you using any 3rd party libraries in your code that aren't deployed in jboss? i have seen instances where jboss masks that fact one of your dependencies is missing, but it reports it as one of your own classes. View the original post : http://www.jbos

[JBoss-user] [Management, JMX/JBoss] - Security Problems with JBOSS

2004-06-17 Thread bnadesan
I have an mbean which tries to access an EJB in the startup() routine. I have the following dependency setup in my jboss-service.xml file. jboss.j2ee:service=EjbModule,module=SynchronyEJB.jar My mbean basically performs a lookup task in the startup routine. When I start the application I get

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-06-17 Thread ferruccio
For the sar (effectively jar) package i used Netbeans and i followed step by step the instructions from the article on O'Reilly (the one linked in the main page of nukes project). Into the archive i put the class as a leaf of the entire path of the package (org/jboss/nukes/core/.../LinkModule.cl

[JBoss-user] [Clustering/JBoss] - HA-JNDI "there but not"

2004-06-17 Thread Hank
I am unable to use a clustered HA-JNDI lookup. using load jboss-3.2.4RC2, j2sdk1.4.2_04 on Linux. I have a clean default jboss install and run from the 'all' deployment. I bind a hashtable to the HA-JNDI using the HA-JDNI properties as described in the "JBoss As Clustering" manual, page 43: INI

[JBoss-user] [Security & JAAS/JBoss] - running jboss with -Djava.security.manager

2004-06-17 Thread fe2o3
I have the need to make an RMI call originating from inside the jboss container (a StatelessSessionBean) to a remote jboss instance. My first attempt failed because there is no SecurityManager installed so I couldn't do any RMI classloading. So, I'm on the track of running with a security mana

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom Princpal Class

2004-06-17 Thread rimmeraj
OK. I have looked at AbstractServerLoginModule whcih my custom Server Login Module. Now instead of useing the property I am overiding createIdentity with my own custom implementation. the problem is that it is never getting called. Therefore ctx.getCallerPrincipal is still returning a class of

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-06-17 Thread jae77
did you package the class files w/ the sar? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839101#3839101 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839101 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbStore not updating database...

2004-06-17 Thread mrking
Got it - I should have been calling the set() methods of the bean's ProductLocal, rather than ProductData (which I guess is a copy of the bean's data, rather than the actual data itself). Doh for the noob post... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[JBoss-user] [Persistence & CMP/JBoss] - Re: problem for 2nd table using CMP

2004-06-17 Thread madadi
Hai , Today i solved my problem ,by adding relationship for 2 tables.like this... userid in specific_data is a foreign key RegistrationEjb One RegistrationEjb userid java.lang.String Registratio

[JBoss-user] [Beginners Corner] - Re: JBoss3.2.4 + Struts

2004-06-17 Thread darranl
How do you make the struts classes available to your web app? I have just started JBoss 3.2.4 and deployed struts-example.war without any problems, can you provide some more information about what you do to reproduce the problem. View the original post : http://www.jboss.org/index.html?module=b

[JBoss-user] [Persistence & CMP/JBoss] - ejbStore not updating database...

2004-06-17 Thread mrking
Hi there, I'm a bit of a newbie, so I hope someone can anser this. I'm building a simple application to administer a Product table in a PostgreSQL database. I'm using Lomboz and Eclipse to generate the ProductBean, and it seems to be connecting to the database and creating the beans with the

[JBoss-user] [Beginners Corner] - JBoss3.2.4 + Struts

2004-06-17 Thread jgisler
So I had an existing app using struts and everything worked in Jboss-3.2.3 but when I deploy the same .war to 3.2.4, it has a problem with the tag-libs. Thinking it must be a problem on my end, I deployed the struts-example.war that came with the struts distrubution and same issue. Here is the

[JBoss-user] [JCA/JBoss] - Re: DBCP using Jboss ,Hibernate and PostgreSQL

2004-06-17 Thread darranl
The file 'postgres-ds.xml' is the file that you want to use configure your PostgreSQL datasource, the service.xml filese were the old way to do it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839094#3839094 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [EJB/JBoss] - Re: creating more than one datasource in standardjbosscmp-jd

2004-06-17 Thread darranl
This is assuming that you are using CMP. You will need to deploy the entity beans with a jbosscmp-jdbc.xml deployment descriptor, within this deployment descriptor you can configure different datasources for different entity beans. See the dtd for more information on how to structure the file.

[JBoss-user] [Installation & Configuration] - Re: problem with mysql-ds.xml in deply directory

2004-06-17 Thread darranl
Yes you can although the two files will need different names e.g. mysql1-ds.xml and mysql2-ds.xml Alternatively just duplicate the definition of the data source within the 'datasources' element in your mysql-ds.xml | | | MySqlDS1 | jdbc:mysql://127.0.0.1:3306/darranl |

[JBoss-user] [EJB/JBoss] - creating more than one datasource in standardjbosscmp-jdbc.x

2004-06-17 Thread sivauser
how i can use diffrenent type of Database in jboss for creating entity beans. ex: Entity1 -> MySQL and Entity2-> Oracle thanks siva View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839091#3839091 Reply to the post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Persistence & CMP/JBoss] - blob CMP MySQL EJB JBoss3.2 mapping problem

2004-06-17 Thread ebende
Hi, I've read all threads concerning BLOBs, CMP and MySQL. Yet I don't know how to read BLOBs with CMP in combination with - mysql-connector-java-3.0.8-stable-bin.jar (driver) - jboss3.2 - mysql4.0 By the way, I managed to read BLOB 'manually' through direct query execution. With | ResultSet rs

[JBoss-user] [Installation & Configuration] - Re: Jboss & Eclipse IDE

2004-06-17 Thread Didi1976
@raagav: IMHO you have confused the versions of Eclipse and JBoss IDE. If you have Eclipse 2.1.3 you need to download JBossIDE 1.2.3. The one you downloaded (1.2.330) is targeted for Eclipse 3.0 ... so it will not work with Eclipse 2.1.3 View the original post : http://www.jboss.org/index.htm

[JBoss-user] [Messaging, JMS & JBossMQ] - Dynamically starting and stoping MDB from consuming messages

2004-06-17 Thread clcantrell
I need to dynamically start and stop a MDB from consuming messages from a queue. Does any know the best way to accomplish this in Jboss 3.2.4? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839087#3839087 Reply to the post : http://www.jboss.org/index.html?

[JBoss-user] [Beginners Corner] - java.net.SocketException: Network is unreachable: connect

2004-06-17 Thread Heini
Hi everybody! I am very new to EJBs. I have developed a client which connects to an EJB-application deployed on JBoss 3.0.4. The source code of my client is listed below. The server I want to connect to resides on a Solaris-system. When I run the client on the server directly, it works perfectl

[JBoss-user] [Installation & Configuration] - Re: Jboss & Eclipse IDE

2004-06-17 Thread dannyyates
raagav already said he can't use the update manager (although it's unclear why that won't work, but he can download the code directly) Note, that you don't need JBoss IDE to debug your EJB's - you can just start JBoss in debug mode (see run.bat) and connect the Eclipse debugger to it. View the

[JBoss-user] [EJB/JBoss] - Re: Potential Bug when looking up on localhost

2004-06-17 Thread [EMAIL PROTECTED]
There is not difference between 3.2.3 and 3.2.4 in this regard. The naming service rmi port is not being bound to the specified interface. You can override this interface by setting the java.rmi.server.hostname system property to localhost. View the original post : http://www.jboss.org/index.ht

[JBoss-user] [Installation & Configuration] - Re: Jboss & Eclipse IDE

2004-06-17 Thread diblanda
Follow the instructions below to install the JBoss-IDE Follow these steps : Â Start Eclipse. Â Select the Install/Update Perspective via Help > Software Updates > Update Manager or Window > Open Perspective > Install/Update. Â Select New > Site Bookmark from the context menu of the Feature Updat

[JBoss-user] [Installation & Configuration] - problem with mysql-ds.xml in deply directory

2004-06-17 Thread [EMAIL PROTECTED]
hello friends, can we configure 2 mysql-ds.xml files in deploy directory with 2 JNDI Names,can u give me the answer quickly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839082#3839082 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [Installation & Configuration] - Character encoding

2004-06-17 Thread JJman
Can I somewhere define character encodings? I have a problem with servlet. When I read characters in with GET, encoding is ISO-Latin 1 in JBoss 3.0.8 and in JBoss 3.2.3 UTF-8. Why is that. Operating system is XP and both has a same JVM... View the original post : http://www.jboss.org/index.htm

[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-17 Thread bentins
OK. I've changed the getID to getPrimaryKey(). How do you determine the tranaction state, by seeing the finaly in the log? I ask this because I see that it uses the same transaction ID (15) on all calls? If what you say on the transaction is correct it raises another question:my code opens up

[JBoss-user] [Installation & Configuration] - Re: Jboss & Eclipse IDE

2004-06-17 Thread dannyyates
Yes. Read the release notes and better understand what version of JBoss IDE you have downloaded. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839079#3839079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839079 ---

[JBoss-user] [Installation & Configuration] - Re: Classloading

2004-06-17 Thread wolfc
"[EMAIL PROTECTED]" wrote : | Who has some mess? | | Thread.currentThread().getContextClassLoader().loadClass() not Class.forName() I disagree, when I do an import org.domain.SomeObject (and use it) it will be loaded by the currentClassLoader, not by the contextClassLoader. So in effect j

[JBoss-user] [Installation & Configuration] - Jboss & Eclipse IDE

2004-06-17 Thread raagav
Hi, I am setting up a devlopment environment for EJB development with JBOSS as the server and eclipse as the IDE. I first downloaded the eclipse2.1.3 binary from the eclipse site and installed in my windows machine. Then I downloaded the Jboss IDE1.2.330 binary from jboss site and un

[JBoss-user] [Installation & Configuration] - French encoding

2004-06-17 Thread tvandeve
Hello, My JSP pages have french characters in them. When they are compiled into Html source code, any french character is replaced by a weirs character. The same pages are displayed correctly on WebLogic. What parameter should I change so that my jsps are displaying french encoding correctly

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-17 Thread mfrost
Would there be any benefit from calling Management Bean method flushCache() on the entity beans EntityContainer? We've tried this and it causes the beans to passivate. We could the just truncate the table as previously suggested. Any ideas how this flushCache() might sit with any entity beans t

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

2004-06-17 Thread liaoxiongfei
I also met the same problem. It is quite strange! A same EAR can be deployed on some machines but can not be deployed on some other machines. The error message tells us that some class can not be found but the class is in the ear file. We created the EAR using the Borland JBuilderX. Help us pl

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-17 Thread gorano
It's fine as long as the fields are "out of date" and not in use by the CMPs anymore. In our scenario we are deleting records older then 1 week. The table is a cache for temporary mapping and we have tuned the CMP cache to expire the records if they are 6 days or older, and the nature of the map

[JBoss-user] [Installation & Configuration] - Re: URGENT- Classloader issue

2004-06-17 Thread wolfc
try: run -L saxpath.jar Oh and place saxpath.jar in ${jboss_home}/lib. :-) It will be added to the NoAnnotationClassLoader which is used to load jdom.jar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839069#3839069 Reply to the post : http://www.jboss.or

[JBoss-user] problem with loader-repository and jaxrpc.jar

2004-06-17 Thread Artur Jonak
Hi, I use JBoss 3.2.3 with Tomcat 4.1.29 My ear application contains several ejb modules as well as web application and web service. Web service is built on apache Axis-1.1 framework which in particular requires jaxrpc-1.1.jar library and which I put into my webservice's WEB-INF/lib directory. Ad

[JBoss-user] [Clustering/JBoss] - Re: Suddenly a strange Exception

2004-06-17 Thread octopus
just upgraded from 3.2.3 to 3.2.4 and start receiving the same error. 11:50:39,125 WARN [UDP] discarded message from different group (TreeCache-Cluster). Sender was 192.168.2.3:3678 11:50:44,421 WARN [UDP] discarded message from different group (DefaultPartition). Sender was 192.168.2.3:3610

[JBoss-user] [Installation & Configuration] - Re: URGENT- Classloader issue

2004-06-17 Thread skulawik
Well, Ive also the same problem. In my case, I'm using Jaxen in a SessionBean so I can't use the changes in the jboss-web.xml. Entering a loader-repository in jboss-app.xml of the EAR causes a lot of ClassCastExceptions - has anybody an idea? View the original post : http://www.jboss.org/index.

[JBoss-user] [Security & JAAS/JBoss] - EJBException generated by SecurityInterceptor

2004-06-17 Thread morenito9000
Hi all, in my application I have a Session Bean callable from Role1 and not callable from Role2. When I try, as Role2, to create the Session Bean I have a EJBException generated from JBoss (from org.jboss.ejb.plugins.SecurityInterceptor). Client side I receive a RemoteException but I don't know

[JBoss-user] [Security & JAAS/JBoss] - Re: Customized Authecticator failed on JBoss 3.2.4

2004-06-17 Thread gfzhang
the mbean definition n mbeans-descriptors.xml is missed in the above post. see the following: [JBoss-user] [HTTPD, Servlets & JSP] - (Jboss 3.2.4)JasperException:"jsp:param"........ Please hel
Hello, I am trying to deploy an application to JBOSS 3.2.4 and I get an Error Message I do not understand: org.apache.jasper.JasperException: /init_obj_ha.jsp(43,0) Expecting "jsp:param" standard action with "name" and "value" attributes The include tag I use looks like that: It wa

[JBoss-user] [Security & JAAS/JBoss] - Customized Authecticator failed on JBoss 3.2.4

I developed an authenticator for JBoss for Single-Sogn On by NTLM, I configure it in web.xml as: NTLM VCSRealm /wardress/main/sys/login /wardress/main/sys/loginerror It works well on JBoss 3.2.3, but now it fails on JBoss 3.2.4. In JBos

[JBoss-user] [Nukes User] - Problem with new modules deploy

I deployed a new sample module for a project in my university, but nukes tell me: 11:14:28,116 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss -3.2.3RC1/server/default/nukes/linkmodule-service.sar 11:14:28,186 WARN [ServiceConfigurator] Failed to complete install java.lang.Clas

[JBoss-user] [Installation & Configuration] - root context outside of deploy directory

Hi, Does anybody know how to have the root context ( / ) mapped to a other drive than the deploy directory? I mean Jboss is installed of C:\ and http://localhost:8080/ should be on D:\ Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839060#3839060 R

[JBoss-user] [Installation & Configuration] - JBoss systray

Hi, Do you know if a systray tool exist to manage JBoss (Start, Stop etc..)? Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839059#3839059 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839059 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Null ConnectionFactory

Hello were u able to resolve that issue. I am facing the same problem of getting a nullpointer exception when i try to get the factory. Let me know if you could resolve this and if so how. regs Bushra View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839058#38

[JBoss-user] [Persistence & CMP/JBoss] - Re: unexpected problem with one to one relationship

The DDs seem to be correct. What JBoss version? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839054#3839054 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839054 -

[JBoss-user] [Clustering/JBoss] - JMS on cluster against one Oracle instance

This isn't a problem so much as a question; I am running JBoss against Oracle and trying to remove all dependencies on Hypersonic. To this end I have made the following changes: Replaced deploy/jms/hsqldb-jdbc2-service.xml with docs/examples/jms/oracle-jdbc2-service.xml Replaced deploy/hsqld

[JBoss-user] [Persistence & CMP/JBoss] - Re: No rollback of inserted data?

Thanks, dannyyates. The book is surprisingly comprehensive :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839055#3839055 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839055 -

[JBoss-user] JBoss startup error and WAR deployment strategy

Hello All, The set up that my company has in place caters for their two (JBoss) application servers. One is supposed to be a mirror image of the other and should in theory be identical. We have recently had problems with one of the servers and I wanted to run the unusual deployment process past

[JBoss-user] [Installation & Configuration] - Re: error beginning Jboss

Have you searched the forum, a number of people have been looking at running JBoss on Windows 98 recently. Describe your problem fully, including stack traces. Otherwise you have got no chance of getting any help, so far all I can tell is that you can't run JBoss. Also what is your JBoss versi

  1   2   >