[JBoss-user] [Javassist user questions] - Re: Can Javassist control class file's version?

2004-10-08 Thread ymruan
professor,Thank you for your help !! Neo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850842#3850842 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850842 --- Thi

[JBoss-user] [HTTPD, Servlets & JSP] - Re: debugging with JPDA

2004-10-08 Thread kgalligan
AHHH! Sorry, frustration. I'm using Idea 4.5.1, and I've had some serious upgrade pain from version 3. I use ant to compile and package, which worked ok in v3, but I guess v4.5 likes its output directories set "properly". Ehh, something like that. Anyway, its working now. Thanks. View the

[JBoss-user] [HTTPD, Servlets & JSP] - Re: debugging with JPDA

2004-10-08 Thread [EMAIL PROTECTED]
You startup jboss with the usual jpda debugging opts, for example, those given in the run.conf of the bin directory: JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend= y $JAVA_OPTS" and embedded tomcat is in debug mode. I attach to the jboss/tomcat instance and can

[JBoss-user] [HTTPD, Servlets & JSP] - Re: debugging with JPDA

2004-10-08 Thread kgalligan
Having the same problem. Does anybody know how to do this? I don't need to debug actual jsp's (although, that would be sweet). Just need to get into the regular classes in my webapp. I used to develop with tomcat and jboss in separate jvm's and did this type of thing regularly. I'm connecte

[JBoss-user] [Installation & Configuration] - Re: multiple instances of jboss in the same machine

2004-10-08 Thread genman
We've had 3 or 4 instances of JBoss running on a single machine, no problem. It depends more on your application behavior (ours were mostly idle) and memory (each used about 300MB, but we had about 1-2GB). The trick is to create a script (using ant or whatever) which copies over different ver

[JBoss-user] [Persistence & CMP/JBoss] - table name is automatically changed from "user" to "xuser"

2004-10-08 Thread daikini2
Env: CMP 4.0.0 with MySQL 4.0.12 I want to create CMP bean (UserEJB) mapped to the USER table; (worked fine in 3.x).However, after I ported the application to JBoss 4.0, the table name is automatically changed to XUSER instead of USER, ignoring my settings from jbosscmp-jdbc.xml (I have the sa

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

2004-10-08 Thread pedrojosemartins
I havend't found it out yet. Could someone give me a hand on addind modules to the menu? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850827#3850827 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850827 ---

[JBoss-user] [JBoss Getting Started Documentation] - Incorrelation with jsp deployer

2004-10-08 Thread vanholy
Reading the jboss getting started in chapter abouto tomcat i read that the bub dir of tomcat under deploy will never be touched, but all deployable thing must be putted in server Deploy dir. I tried to put my jsp pages in Deploy but server give error; But if i put jsp pages under tomcat under ro

[JBoss-user] [Installation & Configuration] - login-config problem with JBoss 4 Java 5

2004-10-08 Thread edallez
Hi. I am having a strange problem with my login module using JBoss 4 and Java 5. I have a custom login module defined in a policy in login-config.xml. The web.xml file for my app refers to it in the tag. The Security section of jboss-service.xml is correctly configured with respect to SecurityCo

[JBoss-user] [Beginners Corner] - Re: New to jboss and Java technologies

2004-10-08 Thread Rallar
If you are really intersted in Java technologies you should read the great (free) online books written by Bruce Eckel. You can find them here http://mindview.erde3.net/ for instance. Start with 'Thinking in Java' which you can also buy in your book store. And of course nothing is better than m

[JBoss-user] [Beginners Corner] - SecurityException in Duke's Bank example

2004-10-08 Thread Rallar
Hi, I have checked it for several times now and I think I did everything right so far. But I cannot manage to logon to the application. Everytime I do so with the credentials from 'users.properties' an exception is thrown like this: EJBException in method: public abstract com.sun.ebank.ejb.cust

[JBoss-user] [EJB/JBoss] - Re: Migration of Websphere 5.0 EJB project to JBoss 4.0

2004-10-08 Thread jsimone
How are the jboss.xml and jbosscmp-jdbc.xml descriptor files created in WSAD? Do you create these and manage these by hand? So is it possible to develop code in WSAD and run in JBoss 4.0? I would greatly appreciate your help in migration from Websphere to JBoss. Many Thanks, Joe View the orig

[JBoss-user] [Installation & Configuration] - Re: multiple instances of jboss in the same machine

2004-10-08 Thread pointerweb
I have a client who has recently (successfully) marketed a "county-based" application to many counties in a state, and now must solve the problem of scaling the the system to meet the new demands. There isn't enough time to rearchitect the application (to include a "county layer") prior to init

[JBoss-user] [Management, JMX/JBoss] - EJBs communicating with MBeans

2004-10-08 Thread jhagem
How does an EJB communicate with an MBean in the JBoss container? I am interested in pulling attributes set in an MBean in a tightly coupled way. I seem to remember a way to do this using MBean proxies but any example code of this has eluded me.Any help? Thanks, Justin View the original p

[JBoss-user] [Management, JMX/JBoss] - jmx-console xml

2004-10-08 Thread tomerbd
Hi I'm trying to save to an attribute a value like thats "sdj"sdf" However when i press the apply changes button I get as a result : sdj (the first part before the ") is there a way to overcome this ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850815#

[JBoss-user] [Messaging, JMS & JBossMQ] - Disable JBossMQ

2004-10-08 Thread dutchman_mn
How do you disable JBossMQ under JBoss 3.2.5 in the configuration? Normally, I would just remove the jbossmq-service.xml file but that file is in the configuration and I can't find a corresponding file in the configuration. Perry Hoekstra View the original post : http://www.jboss.org/index

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Integrating JBossMQ with a foreign JMS provider

2004-10-08 Thread dutchman_mn
If you ask Tibco Support, they can provide you with a document that walks you through step by step integration with JBoss. Perry Hoekstra View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850813#3850813 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IMB MQ Alternative

2004-10-08 Thread genman
Here's my first stab at designing such a thing: 1. Create a JBoss server on the database side. Create a queue and MDB. Have the JMS messages in the queue go into your database, not HSQLDB. Currently, you need an JDBC XA datasource (e.g. Oracle, DB/2) to do 2-phase commit. Other DBs would w

[JBoss-user] [Beginners Corner] - Re: New to jboss and Java technologies

2004-10-08 Thread genman
The best way to learn on your own is to start with a project. A specific goal. Maybe something simple, like an inventory database front-end for organizing your CD collection. Most of learning JBoss is just getting familiar with what goes where, not learning Java. View the original post : h

[JBoss-user] [Persistence & CMP/JBoss] - CMP Finder problem on DB2 - Program type out of range

2004-10-08 Thread david.l.small
Using EJB 1.1, CMP, and JAWS on jboss 3.2.1. I have a complex finder SQL as indicated in the trace below. Under some conditions a finder parameter could be null. When this happens, jBoss calls setNull(param, java.sql.NULL) instead of a more specific sql type like java.sql.VARCHAR. Unfortunately,

[JBoss-user] [Performance Tuning] - Re: JBOSS 3.2.6RC2 mySQL performance issues

2004-10-08 Thread genman
The JBoss profiler is pretty good too, if you can get it working. Refer to http://sourceforge.net/cvs/?group_id=22866 This should work: $ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-profiler Take a look at readme.txt View the original post : http://www.jboss.org/index.html?mo

[JBoss-user] [Performance Tuning] - Re: JBOSS 3.2.6RC2 mySQL performance issues

2004-10-08 Thread [EMAIL PROTECTED]
Go get a profiler. The following one is easy to use with jboss: http://www.yourkit.com/download/index.jsp Otherwise enable trace level logging of the org.jboss category in the log4j.xml file and be sure to include the thread id using the %t option so that you can identify where the time in a req

[JBoss-user] [Security & JAAS/JBoss] - Re: resource (/j_security_check) is not available.

2004-10-08 Thread [EMAIL PROTECTED]
The configuration you posted is irrelevant as I said the problem is in how the form is interacting with the server. Good luck on resolving this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850806#3850806 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Security & JAAS/JBoss] - SRP Tutorial

2004-10-08 Thread wsngjboss
Hi, I'm new to JBoss and would like to find some tutorial with sample code regarding SRP Protocol. Can somebody point me to that? Thanks, Wan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850805#3850805 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [EJB/JBoss] - Re: Read-only method calls on Session Bean

2004-10-08 Thread bobbyjboss
The dtd for the jboss.xml http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd supports the the idea of the read-only methods on session beans and entity beans. This is a jboss entension and not part of the ejb spec. bobby abraham View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Security & JAAS/JBoss] - Re: resource (/j_security_check) is not available.

2004-10-08 Thread haobaba1
"[EMAIL PROTECTED]" wrote : The error indicates you are posting to j_security_check outside of a form authentication attempt. This is not a generally usable url. | | For the jaas configuration issues read the JAAS howto. I had been using version 3.2.4 and upgraded to 3.2.5 used the exact sam

[JBoss-user] [Performance Tuning] - Re: JBOSS 3.2.6RC2 mySQL performance issues

2004-10-08 Thread tsnoke
We haven't done any profiling, this was working in 3.2.1 just fine. The only change is running it under 3.2.6RC2. If profiling would help, I am not sure where to go with this... but if you could point me at a FAQ for setting it up and I will post the results. Thanks for looking at this, Timur

[JBoss-user] [Management, JMX/JBoss] - Re: packages required for deploying the jmx console

2004-10-08 Thread [EMAIL PROTECTED]
Using the default configuration of 3.2.6RC2, you should be able to run the jmx-console having in: | ./lib | bindingservice-plugin.jar | bsh-core-1.3.0.jar | bsh-deployer.jar | jboss-j2ee.jar | jboss-jaas.jar | jboss-jsr77.jar | jboss-management.jar | jboss-saaj.jar | jboss-tr

[JBoss-user] [JCA/JBoss] - How to configure the transaction timeout on an XAResource?

2004-10-08 Thread chalakanth
We use JBoss 3.2.3 and SQL Server 2000 at the back, through Microsft's SQL Server JDBC driver. The most recent service pack of the driver, 3a, has some functionality that we want to use. It is now possible to set a transaction timeout on the database, through the setTransactionTimeout metho

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XA Exception during high volume with JDBC2 persistnce on

2004-10-08 Thread pjdodds
Thanks for the advice, we changed the datasource connection to a local connection and the problem has no longer reoccurred. Thanks again for the help P View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850799#3850799 Reply to the post : http://www.jboss.org/i

[JBoss-user] [Performance Tuning] - Re: JBOSS 3.2.6RC2 mySQL performance issues

2004-10-08 Thread [EMAIL PROTECTED]
What profiling of the sql pages has been done either via logging or with a profiler? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850798#3850798 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850798

[JBoss-user] [EJB/JBoss] - Re: Read-only method calls on Session Bean

2004-10-08 Thread chotasher
I do not think you can have read-only for session bean's methods. Look at the @ejb.transaction (0..1) tag for the bean methods. You can use type="Supports" or "NotSupported". Supports: If you are not sure if this should participate in the transaction. NotSupported: If you are sure that you do no

[JBoss-user] [Installation & Configuration] - problems during compilation of Duke's Bank App

2004-10-08 Thread vipic
I have jboss 4.0 and I tried to compile the Duke's Bank App. I have configured jboss-build.properties. The result of compilation is follow: [javac] Files to be compiled: [javac] D:\Programmi\j2eetutorial14\examples\ban

[JBoss-user] [Beginners Corner] - EvictionException when trying to remove node from TreeCache

2004-10-08 Thread midrangeman
I'm trying create a mechanism to clear an existing cache on demand ... I'm doing this by executing the remove method on my TreeCache object. All my cache entries are added somewhere under the under the '/com/mks/implementer/server' node. After I execute the remove method, I get the following ex

[JBoss-user] [EJB/JBoss] - UserTransaction api usage in JBoss, few questions?

2004-10-08 Thread chotasher
Hi, It would be nice if somebody can address these questions: Q1:How to set the TransactionTimeout for the transaction dynamically within the ejb(BMT) context and outside ejb context? I have tried to get the UserTransaction using context.lookup and tried setTransactionTimeout(seconds). For some

[JBoss-user] [Performance Tuning] - Re: File I/O error in hypersonic db after few hours test

2004-10-08 Thread jimyliu
Thanks for the information. We should change the db and retest it again. Jimy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850787#3850787 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850787 --

[JBoss-user] [Beginners Corner] - New to jboss and Java technologies

2004-10-08 Thread tsygrl
Hi: Just a short note, mostly to see if my account is working properly. I am a long time unix admin who formerly specialized in 'C'. I'm looking to re-tool with Java and application servers. There is so much junk out there on java, what would you all suggest as a good starting point to learn

[JBoss-user] [Management, JMX/JBoss] - Re: packages required for deploying the jmx console

2004-10-08 Thread rbnb
sorry forgot jboss 3.2.x View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850789#3850789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850789 --- This SF.net email is

[JBoss-user] [Management, JMX/JBoss] - packages required for deploying the jmx console

2004-10-08 Thread rbnb
What are the require jar, war etc require to deploy the jmx console ? Rob View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850788#3850788 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850788 --

[JBoss-user] [Persistence & CMP/JBoss] - Problem with reading data from db while not already commited

2004-10-08 Thread JRobette
Hi, I'm not sure the title of this question is really clear. So I explain: I've a Postgresql DB configured this way : | | | xxxDS | jdbc:postgresql://xxx:5432/xxx | org.postgresql.Driver | xxx | xxx | | | In my application, I do the following :

[JBoss-user] [Clustering/JBoss] - Re: Unable to use another partition name other than DefaultP

2004-10-08 Thread monocongo
This suggestion appears to have gotten me past my original problem, but not out of the woods. I now get an error with my EJBs not being able to be started in that JBoss is still looking for DefaultPartition: | 11:39:19,403 ERROR [StatelessSessionContainer] Starting failed jboss.j2ee:jndiNa

[JBoss-user] [Javassist user questions] - Re: Can Javassist control class file's version?

2004-10-08 Thread chiba
anonymous wrote : The classes are not complied by myself!the version info in class files is 002E . 002E means that the version of the class file is 46.0. JDK 1.4 or older compilers use the version 45.x format. So my guess is that class file might be compiled by JDK 1.5. anonymous wrote

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss Wrapper for Subject.DoAs

2004-10-08 Thread [EMAIL PROTECTED]
>>Otherwise, you have to establish the identity via a JAAS login Unfortunately we are not using secured access but http. I am not clear what will it take to establish the identity via a JAAS login and propogate that to the JBoss server. Does this mean call login() in each Servlet? View the or

[JBoss-user] [EJB/JBoss] - Re: Migration of Websphere 5.0 EJB project to JBoss 4.0

2004-10-08 Thread fbiaggi
Hi, I think you should only specify your JNDI names ad queries with ORDER BY, all the rest should work. I do not use xdoclet, develop on WSAD and deploy/run on JBoss. Hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850778#3850778 Reply to the

[JBoss-user] [Security & JAAS/JBoss] - Re: LDAP Server login module

2004-10-08 Thread [EMAIL PROTECTED]
Its possible but I have not tried it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850777#3850777 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850777 --- This SF

[JBoss-user] [Security & JAAS/JBoss] - Re: multiple SRP sessions

2004-10-08 Thread [EMAIL PROTECTED]
>From the online docs on the org.jboss.security.srp.jaas.SRPLoginModule. This module >supports the following configuration options: * principalClassName: This option is no longer supported. The principal class is now always org.jboss.security.srp.jaas.SRPPrincipal. * srpServerJndiName: T

[JBoss-user] [Security & JAAS/JBoss] - Re: SrpLogin - binding problem on deployment

2004-10-08 Thread [EMAIL PROTECTED]
You have specified a AuthenticationCacheJndiName binding, but there is no custom serivce providing this. Read the AuthenticationCacheJndiName attribute description in the online manual. You have to provide the binding if you using this attribute. View the original post : http://www.jboss.org/in

[JBoss-user] [Performance Tuning] - JBOSS 3.2.6RC2 mySQL performance issues

2004-10-08 Thread tsnoke
Hello, We are trying to move our production environment application from JBoss 3.2.1 to 3.2.6RC2 to take advantage of Tomcat 5, et.al. We are using a two server configuration with JBoss/Tomcat running on one and a mySQL running on the other. The old config used: JBoss 3.2.1 Java SDK 1.4.2_05 R

[JBoss-user] [Security & JAAS/JBoss] - Re: resource (/j_security_check) is not available.

2004-10-08 Thread [EMAIL PROTECTED]
The error indicates you are posting to j_security_check outside of a form authentication attempt. This is not a generally usable url. For the jaas configuration issues read the JAAS howto. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850773#3850773 Reply t

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss 4.0 security error

2004-10-08 Thread [EMAIL PROTECTED]
Show exactly how the server is being started. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850771#3850771 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850771 ---

[JBoss-user] [Persistence & CMP/JBoss] - optimistic-locking - modified-strategy - unchanged fields in

2004-10-08 Thread tpaterson
Using JBoss 3.2.5, "Instance Per Transaction CMP 2.x Container", optimistic-locking, and modified-strategy.. I have a problem whereby the "modified" field used in the WHERE clause for the UPDATE seems to be wrong (includes fields which have not changed). I've setup a little test case which gets

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss Wrapper for Subject.DoAs

2004-10-08 Thread [EMAIL PROTECTED]
If the web page is secured then the identity will automatically be used for accessing ejbs. Otherwise, you have to establish the identity via a JAAS login. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850769#3850769 Reply to the post : http://www.jboss.or

[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.5 & Jetty combination?

2004-10-08 Thread otisg
Aha! I didnn't realize Jetty 5.0.0 was using Servlet 2.4 API. Thanks for pointing this out. In the mean time, I notied that using JSTL's c:import was the cause of the above error. I wonder if there is JSTL for Servlet 2.4 API available from Jakarta Taglibs project. View the original post :

[JBoss-user] [Installation & Configuration] - Re: Running JBoss offline, DTD Validation fails for struts-c

2004-10-08 Thread [EMAIL PROTECTED]
No, we don't have the entity resolver local entity set externalized such that it could be expanded. Create an RFE on sourceforge and we can look into adding this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850767#3850767 Reply to the post : http://www.jb

[JBoss-user] [EJB/JBoss] - Re: Could not activate; failed to restore state;

2004-10-08 Thread [EMAIL PROTECTED]
Stateful sessions are lost when the server restarts. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850765#3850765 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850765

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: OIL2 hangs in

2004-10-08 Thread [EMAIL PROTECTED]
Don't use the OIL2 transport. It never made it out of a testing stage and will be removed in the next release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850766#3850766 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss Wrapper for Subject.DoAs

2004-10-08 Thread [EMAIL PROTECTED]
Thanks Scott, I 2 questions 1. I am a web client, I have 2 servlets. a. LoginServlet where I invoke the loginContext.login using the ClientLoginModule. This automagically creates a Subject and I need not do any doAs or RunAs and I can access any EJB. b. I have viewOtherScreens Servlet which handl

[JBoss-user] [Advanced Documentation] - Documentation for Jboss 4.0

2004-10-08 Thread Charlie Kelly
Is any documentation available for Jboss 4.0? If yes, where is it located? When will annual subscriptions be updated to include documentation for 4.0? Thanks Charlie Kelly View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850763#3850763 Reply to the post : h

[JBoss-user] [EJB/JBoss] - Re: Which EJB specs are supported!

2004-10-08 Thread [EMAIL PROTECTED]
You are correct, support for message-destination-link and message-destination-ref is missing from JBoss4. It is irrelevent for basic MDB config. Please report it is as a bug: http://www.sf.net/projects/jboss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38507

[JBoss-user] [EJB/JBoss] - Re: Which EJB specs are supported!

2004-10-08 Thread [EMAIL PROTECTED]
I've added your question to the FAQ: http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJBoss4MDB View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850761#3850761 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850761 ---

[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.5 & Jetty combination?

2004-10-08 Thread frankgrimes
In moving from jetty-4.2.14 to jetty-5.0.0, you are moving from a servlet 2.3 to a servlet 2.4 web container. (and probably a different Jasper version too JSP 1.2 v.s JSP 2.0) Do you get the same error with jetty-4.2.22-jboss-3.2.5.sar? If so, you might want to take this up on the Jetty forums.

[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.5 & Jetty combination?

2004-10-08 Thread otisg
Hello, I tried just replacing the SARs, but I'm getting this error: javax.servlet.ServletException: javax.servlet.jsp.JspException: String index out of range: -1 at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:821) at org.apache.jasper.ru

[JBoss-user] [Management, JMX/JBoss] - Re: MBean dependant of Session Bean deploy HOW?

2004-10-08 Thread jivkoto
It seems to work now 16:16:44,890 INFO [EjbModule] Started jboss.j2ee:module=TestEJB.jar,service=EjbModule | 16:16:45,171 INFO [Observer] [:startObserverTimer] ObserverTimer with initial d | elay 0 and delay 5000 is now started! | 16:16:45,171 DEBUG [Observer] [:start]

[JBoss-user] [EJB/JBoss] - java.net.NoRouteToHostException: No route to host

2004-10-08 Thread abv
Hi I'm not sure if this is the right forum but I do the following in a session bean and I do not know where to ask else. I want to modifiy a xml file (as byte[]). If I try to load the xml into a DOM document: Document xmldoc = null; DocumentBuilderFactory factory = DocumentBuilderFact

[JBoss-user] [Management, JMX/JBoss] - Re: MBean dependant of Session Bean deploy HOW?

2004-10-08 Thread [EMAIL PROTECTED]
It has to do with that particular MBean being in the "Registered" rather than "Started" state. Can you try a difference dependency, like: jboss.j2ee:module=jboss-media-entity-ejb.jar,service=EjbModule Do you see this domain: jboss.j2ee? (or this is on jboss4.0+ only?) View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: MBean dependant of Session Bean deploy HOW?

2004-10-08 Thread jivkoto
Every try is finishing like this: 15:40:06,843 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope | ration 'checkIncompleteDeployments()' | Cause: Incomplete Deployment listing: | Packages waiting for a deployer: | | Incompletely deployed packages: | | MBeans w

[JBoss-user] [Persistence & CMP/JBoss] - Initializing a java.sql.Blob cmp field (JBoss 3.2.3/Oracle9.

2004-10-08 Thread gchazalon
Hi, I have experienced different issues when trying to initialize a java.sql.Blob cmp-field mapped on an Oracle BLOB. Let me explain my case: I have an entity bean with a cmp-field of type java.sql.Blob mapped on an Oracle BLOB. The BLOB column in the DB is nullable. I have a session facade in

[JBoss-user] [Security & JAAS/JBoss] - security design pattern

2004-10-08 Thread northwhite
Wonder if someone knows some sort of design pattern for security in a system where Tomcat and Jboss are on different hosts (JVMs). My story is: We setup Tomcat and Jboss on different hosts. Associated with the web content, we have certain roles/permissions setup. The dynamic part of those Web co

[JBoss-user] [Management, JMX/JBoss] - Re: MBean dependant of Session Bean deploy HOW?

2004-10-08 Thread [EMAIL PROTECTED]
So what's the problem now? Does it complaint or still the dependency doesn't work? Can you try to put instead a dependency on the EJB module as a whole, instead of the session bean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850751#3850751 Reply to the p

[JBoss-user] [EJB/JBoss] - Re: Which EJB specs are supported!

2004-10-08 Thread boris.brauckmann
"[EMAIL PROTECTED]" wrote : ejb 2.1 and below are supported Hi, i have problems with ejb 2.1. i am trying to deploy a mdb, the ejb-jar.xml looks like this: http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLoca

[JBoss-user] [Management, JMX/JBoss] - Re: MBean dependant of Session Bean deploy HOW?

2004-10-08 Thread jivkoto
Here is it : jboss.management.local:EJBModule=Test.jar,J2EEApplication=Test.ear,J2EEServer=Local,j2eeType=StatelessSessionBean,name=ejb/SObserver View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850749#3850749 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Management, JMX/JBoss] - Re: MBean dependant of Session Bean deploy HOW?

2004-10-08 Thread jivkoto
Hi again, sorry that being persistent but I can't fix it like this. Maybe I make same mistake. If you could help? Here is what i write: jboss.management.local:EJBModule=Test.jar,J2EEApplication=Test.ear,J2EEServer=Local,j2eeType=StatelessSessionBean,name=ejb/SObserver View the original post :

[JBoss-user] [EJB/JBoss] - Re: Application Re-Deployment Problems

2004-10-08 Thread tim.richardson
Thanks, Frito! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850747#3850747 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850747 --- This SF.net email is sponsored

[JBoss-user] [Beginners Corner] - Re: Application properties stored in jndi.properties

2004-10-08 Thread kabkhan
The jndi.properties file is for configuring the jndi system, i.e tell it where the JNDI server is etc. In other words you do not bing your properties there. To bind stuff to JNDI, you need to do something along the lines of: | String myname = "something/test/TestObj"; | Object o

[JBoss-user] [Installation & Configuration] - Re: Spaces in install path and run.bat and Jboss 4.0.0

2004-10-08 Thread cbwhitebu
I haven't tried this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850745#3850745 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850745 --- This SF.net email is sp

[JBoss-user] [Beginners Corner] - Re: Single object access in cluster mode

2004-10-08 Thread kabkhan
http://www.jboss.org/wiki/Wiki.jsp?page=JBossHA, and look at the stuff about HASingleton. Hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850744#3850744 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Persistence & CMP/JBoss] - Date comparison in EJB ql or JBoss ql

2004-10-08 Thread papps
Hi, I am trying to make a simple date comparison in JBoss 3.2.5 but I always have parsing errors. I am using a mySQL database and java.util.Date java type with the default jboss data mapping. Here is my query : SELECT OBJECT(dt) FROM DT_REGISTRY as dt WHERE dt.creationTime + dt.timeoutDelay > ?

[JBoss-user] [Beginners Corner] - Single object access in cluster mode

2004-10-08 Thread smmartins
Hi all, I'm trying to develop a solution where Jboss app server controls my clients access to certain parts of a GUI. With only one server I could use a static variable with synchronized access methods to do it (object containing access not available), but with a cluster I'm not seeing a way to

[JBoss-user] [Installation & Configuration] - JBoss 4.0 + Java 5.0 + Solaris

2004-10-08 Thread yagiz
Hi all, We are planning to use JBoss 4.0 and Java 5.0 on Solaris. Has anyone experienced a problem with a similar configuration? Thanks, - Yagiz - View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850741#3850741 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Beginners Corner] - Application properties stored in jndi.properties

2004-10-08 Thread PaulSmith001
I want to add a couple of configurable properties to my application. I have been told to add these to the JNDI tree. I have put the jndi.properties in the root of my jar. The contents of the jndi.properties are: MyKey="keyvalue" (No "java:" or anything) In my class (not an EJB, just a pojo), I

[JBoss-user] [EJB/JBoss] - Re: Could not activate; failed to restore state;

2004-10-08 Thread roberto
I have resolved my problem. My stateful session was declared as Bean user Transaction in the DD. Changed to Container transaction and now works fine. I really not need a Bean User Transaction; my stateful session is used only to "emulate" a http session accordint to the suggestion of some "best

[JBoss-user] [Installation & Configuration] - JDK 1.5 JConsole Failure JBoss 4.0

2004-10-08 Thread mpruden
I have installed JBoss 4.0.0 and the final release of JDK 1.5 JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418) java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) My application

[JBoss-user] [Installation & Configuration] - Re: Deploy multiple .ear in JBoss

2004-10-08 Thread Lamas
thanks very much View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850736#3850736 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850736 --- This SF.net email is sponsor

[JBoss-user] [EJB/JBoss] - Re: Application Re-Deployment Problems

2004-10-08 Thread Frito
After redeployment, your shared resources (POJOs) are used in the older version in the other app. You won't have problems when: | redeploying both units | not redeploying the shared resources | only use simple types/objects as interface betweent the apps (if possible) | | | Read mor

[JBoss-user] [Messaging, JMS & JBossMQ] - OIL2 hangs in

2004-10-08 Thread ionel
Hi, It's been quite a long time that I am experiencing this hang : server side log : 2004-10-08 11:14:39,892 DEBUG [org.jboss.mq.il.oil2.OIL2SocketHandler] Setting the OIL2SocketHandler's thread factory client log shows JRMP socket timeout while doing a context.lookup("java:/XAConnectionFactor

[JBoss-user] [Installation & Configuration] - NPE deploying Hibernate service

2004-10-08 Thread mikevdmza
Hi, I am having trouble deploying an EAR that contains a HAR. I wonder if anyone can help me get started with hibernate/jboss..? My EAR looks like this: myapp.ear -META-INF/application.xml -META-INF/jboss-app.xml -jboss.har --hibernate-service.xml --mdbtest/ejb/Document.class --mdbtest/ejb/Docu

[JBoss-user] [Installation & Configuration] - Re: Struts resources, not found in classpath

2004-10-08 Thread Lviz
hi Lindsay there is an entry in struts-config.xml "Message Resources Definitions" i think that what you looking for?! if your ApplicationResources/MessageResources are in WEB-INF/Classes/resources/MessageResources.properties add and it should work. cheers lothar View the original post : ht

[JBoss-user] [EJB/JBoss] - Re: scheduler

2004-10-08 Thread Frito
Look into your scheduler-service.xml located in your deploy directory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850731#3850731 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850731 --

[JBoss-user] [Installation & Configuration] - Re: AOP classes not found in JBoss 4

2004-10-08 Thread darranl
Or rename the default configuration to something else and rename the standard to default. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850727#3850727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850727 --

[JBoss-user] [Installation & Configuration] - Re: URLDeploymentScanner choking on GIFs and JPEGs

2004-10-08 Thread Frito
GIFs and JPGs aren't deployment units. The JarDeployer ist the last deployer, trying do deploy everything not deployed with the other deployers. Put them into a jar in your ear. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850729#3850729 Reply to the post :

[JBoss-user] [Installation & Configuration] - Re: Deploy multiple .ear in JBoss

2004-10-08 Thread Frito
If you want to have these EARs really independent, deploy them with all needed resources configuring an own (isolated) loader repository for every EAR. Sharing resources between deployment units can cause ClassLoader problems after redeployment of only some units of this bunch. Read the wiki: h

[JBoss-user] [Installation & Configuration] - Re: AOP classes not found in JBoss 4

2004-10-08 Thread darranl
John, How about adding the '-c standard' to the run.bat? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850726#3850726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850726 ---

[JBoss-user] [Installation & Configuration] - Re: source from cvs

2004-10-08 Thread darranl
Have you tried the CVS commands from http://www.jboss.org/wiki/Wiki.jsp?page=JBossInstallation, I usually use these without any problems. Occasionaly the source will not build but that is usually because someone is only half way through commiting changes or you need to clean your projects. Vie

[JBoss-user] [Installation & Configuration] - Re: URLDeploymentScanner choking on GIFs and JPEGs

2004-10-08 Thread darranl
Are the images in the ear or war / jar? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850721#3850721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850721 --- This

[JBoss-user] [Beginners Corner] - JBoss 4.x.x & FreeBSD 5.2.x

2004-10-08 Thread vasilenko
Hello, all ! Does anybody knows about JBoss 4.x.x & FreeBSD 5.2.x ? Is JBoss works correctly under that OS or ??? Any help would be appreciated... Alex View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850724#3850724 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Beginners Corner] - Re: unarchiving jboss 3.2.5 on AIX 5.2

2004-10-08 Thread louie171
I found the problem. There is a difference between the tar that has been used to tar jboss. And the native tar program on aix5.2. I the one used for taring jboss seems to be gnu version. I downloaded a gnu version for the aix box and used that which worked! View the original post : http://www

[JBoss-user] [Installation & Configuration] - Re: Spaces in install path and run.bat and Jboss 4.0.0

2004-10-08 Thread darranl
Have you tested other parts of JBoss such as JSP compilation when you have spaces in the path? http://www.jboss.org/wiki/Wiki.jsp?page=JBossInstallation View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850722#3850722 Reply to the post : http://www.jboss.org/i

[JBoss-user] [Management, JMX/JBoss] - Re: MBean dependant of Session Bean deploy HOW?

2004-10-08 Thread [EMAIL PROTECTED]
When a component (ear, ejb jar, war, ..) is deployed entries are created in the jboss.management.local domain, e.g. I deployed jboss-media-entity-ejb.jar and I got (among others) EJBModule=jboss-media-entity-ejb.jar,J2EEApplication=null,J2EEServer=Local,j2eeType=StatelessSessionBean,name=ejb/med

[JBoss-user] [Beginners Corner] - Re: MQ Alternative

2004-10-08 Thread niclarke
I do not have direct access to this database, as it is not my main DB. My goal is to be able to put a message onto a que (from my web server) and then allow it is be picked up by a custom server running on the database machine. This is where IBM's MQ would come in as it would guarantee the deliv

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IMB MQ Alternative

2004-10-08 Thread niclarke
Thanks for your reply. I do not have direct access to this database, as it is not my main DB. My goal is to be able to put a message onto a que (from my web server) and then allow it is be picked up by a custom server running on the database machine. This is where IBM's MQ would come in as it w

  1   2   >