[JBoss-user] [JBoss Getting Started Documentation] - Getting started with JBoss 4.0 : Jasper Exception on opening

2004-10-19 Thread Cugnonr
I followed your tutorial "Getting started" for JBoss 4 and everything goes ok until the access to the page localhost:8080/bank/main. I receive a blank page in my browser and this exception from Jasper : 07:23:21,862 ERROR [Engine] ApplicationDispatcher[/bank] Servlet.service() for servlet jsp t

[JBoss-user] [EJB/JBoss] - EJB-Table and DB-Table Mapping Problem

2004-10-19 Thread weeclub4
Hi, I m new to jboss and from documentation and from websites i tried to solve it but nothing is working may be there is problem in my implementation. I m trying to Map my entity bean named 'First' to the table 'New_First' which resides on Oracle. Everything works fine for table xyz. I m provid

[JBoss-user] [EJB/JBoss] - RemoteException - different tx context

2004-10-19 Thread StefanKuhn
Hi! Can anyone explain this exception? (what does ist mean?) It is thrown when calling a statefull session bean method (getGegenstandMain), from within a JSP file. Thanks! Rgds Stefan 18:54:31,105 ERROR [LogInterceptor] EJBException in method: | public abstract util.Gegenstand bean_s

[JBoss-user] [Performance Tuning] - Re: Full GC !!! Good or bad ?

2004-10-19 Thread [EMAIL PROTECTED]
You have the configuration twice, probably also in run.conf? FAQs are there for a reason: http://java.sun.com/docs/hotspot/gc1.4.2/faq.html Number 33 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852000#3852000 Reply to the post : http://www.jboss.org/index

[JBoss-user] [Beginners Corner] - Re: zip exception: error in opening zip file

2004-10-19 Thread liuwj
java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:112) at java.util.jar.JarFile.(JarFile.java:127) at java.util.jar.JarFile.(JarFile.java:65) at org.jboss.deployment.SubD

[JBoss-user] [Installation & Configuration] - Re: startup spawns multiple java threads

2004-10-19 Thread [EMAIL PROTECTED]
If I had a penny for everytime somebody asked this question... For the lazy who can't be bothered to use search, it is in the new FAQ now: http://www.jboss.org/wiki/Wiki.jsp?page=LinuxThreadingModel But then they are probably too lazy to read the FAQ as well :-( Most of the threads are Tomcat, i

[JBoss-user] [Performance Tuning] - Re: Full GC !!! Good or bad ?

2004-10-19 Thread [EMAIL PROTECTED]
Hi, This worked but the new problem is old JVM memory settings are not overwritten, as shown in the following environment: ash-2.05$ /opt/jboss-3.2.1_tomcat-4.1.24/bin/run.sh: -: not found | | | JBoss Boot

[JBoss-user] [Installation & Configuration] - startup spawns multiple java threads

2004-10-19 Thread jperkins
I am running JBoss 4.0 on top of a core J2SE 5.0 on SUSE 9. When JBoss starts up, without any deploy applications, it spawns over 100 threads on the server. This only happens on SUSE 9 as I have tried this on RedHat and Windows without any problem. Does anyone have a clue as to what might be

[JBoss-user] [Persistence & CMP/JBoss] - Beware of Instance Per Tx and read-only methods

2004-10-19 Thread scoy
If you use this particular combination, your performance will suffer dramatically. If you have methods marked read-only, the instance cache used for the duration of the transaction seems to be flushed whenever the read-only method is invoked. The culprit for this can be found in org.jboss.ejb.p

[JBoss-user] [Security & JAAS/JBoss] - Authentication for Weblogic app calling EJB in JBoss

2004-10-19 Thread bwallis42
I was wondering if anyone has an example of how to configure a weblogic (8.1) ejb that is acting as a client of a JBoss EJB so that it can authenticate it self with the jboss EJB. Our standalone client apps use the jboss ClientLoginModule to authenticate. Can we this from within a WebLogic ejb?

[JBoss-user] [J2EE Design Patterns] - DAO and EJB

2004-10-19 Thread stryx
Hi all, I have read in a previous post that says that DAO with SessionBean is a good design pattern. I want to know which benefits i'll gain in using a DAO and SessionBean instead of the DAO alone with straigth JDBC call (with JDO or hibernate) about coding performance, code maintainability,

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: TimerService exception in MDB

2004-10-19 Thread [EMAIL PROTECTED]
Can you create a bug report on sourceforge with a sample mdb deployment causing this problem? http://sourceforge.net/tracker/?group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851979#3851979 Reply to the post : http://www.jboss.org/

[JBoss-user] [Security & JAAS/JBoss] - Re: How to make sure JBoss invokes custom login when using j

2004-10-19 Thread [EMAIL PROTECTED]
You declare that the prompt2 login module configuration should be executed for authentication by adding a WEB-INF/jboss-web.xml descriptor containing the following as described in the admin/devel guide and the JAAS Howto in this forum: | |java:/jaas/prompt2 | | View the origina

[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI and Stale Objects

2004-10-19 Thread [EMAIL PROTECTED]
An object bound into the HA-JNDI tree is replicated whenever its updated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851989#3851989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851989 ---

[JBoss-user] [Clustering/JBoss] - Re: How to access HASingleton MBeans from a non-master clust

2004-10-19 Thread [EMAIL PROTECTED]
Yes, you have to use a jmx remote connector. The book you mention is hopelessly out of date. Use the online admin/devel guide. http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851988#3851988 Reply to the post : http://www.jboss

[JBoss-user] [Clustering/JBoss] - Re: Monitoring the members of a cluster

2004-10-19 Thread [EMAIL PROTECTED]
The CurrentView attribute of the "jboss:service=DefaultPartition" mbean will show the current nodes in the cluster. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851987#3851987 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Management, JMX/JBoss] - Re: custom mbean example

2004-10-19 Thread [EMAIL PROTECTED]
Online admin/devel guide: http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851986#3851986 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851986 --

[JBoss-user] [Installation & Configuration] - Re: I am looking for a JBoss-Jetty.sar for jboss4.0.0RC1

2004-10-19 Thread [EMAIL PROTECTED]
We don't bundle jetty so you'll have to check the jetty project page on sourceforge. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851984#3851984 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851984 ---

[JBoss-user] [Management, JMX/JBoss] - Re: twiddle tool error -JBoss3.2.5

2004-10-19 Thread [EMAIL PROTECTED]
You cannot generally pull any attribute you want across the wire using twiddle. There is no requirement for an mbean to have any serializable attributes and these are the only attribute types you will be able to access. View the original post : http://www.jboss.org/index.html?module=bb&op=view

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

2004-10-19 Thread [EMAIL PROTECTED]
There is an SRP sample in the online admin/devel guide. http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851983#3851983 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851983

[JBoss-user] [Security & JAAS/JBoss] - Re: Porting a WAR using JAAS to the JBoss 4 Tomcat

2004-10-19 Thread [EMAIL PROTECTED]
Show the errors your seeing and describe where the login module is located in the deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851982#3851982 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851982 --

[JBoss-user] [Security & JAAS/JBoss] - Re: How to provide default authentication to all web applica

2004-10-19 Thread [EMAIL PROTECTED]
jboss-3.2.6 has a new DefaultSecurityDomain in the jbossweb-tomcat50.sar/META-INF/jboss-service.xml that allows you to set a global default security-domain value. Previously you had to add a jboss-web.xml with the desired security-domain to every web app to be secured. | | ja

[JBoss-user] [Security & JAAS/JBoss] - Re: problem using apache xml security suite with jboss

2004-10-19 Thread [EMAIL PROTECTED]
Its not jboss doing this. There was a change in the xml classes bundled with the 1.4.2_05 jdk that changed the signature of the org.apache.xpath.compiler.FunctionTable which broken the xmlsec library. Get a newer xmlsec build which has fixed the problem. View the original post : http://www.jbos

[JBoss-user] [Security & JAAS/JBoss] - Re: Security system works sometimes, but not others?

2004-10-19 Thread [EMAIL PROTECTED]
Its the security-domain and login module configuration of the target ejb that would initiate a login. MDBs have no notion of a login since they have no defined security context. Have you read the JAAS Howto in this forum? You would need to assign the ManageGatewayManagementRole to the MDB using

[JBoss-user] [Security & JAAS/JBoss] - Re: Will $100 Manual help us to resolve this security issue

2004-10-19 Thread [EMAIL PROTECTED]
If the security-domain you use to perform the form authentication includes your custom login module, any ejbs accessed from within secured web content will automatically propagate the security context to ejbs. Otherwise, you need to do a JAAS login as described in the JAAS Howto in this forum.

[JBoss-user] [HTTPD, Servlets & JSP] - Re: How to add Tomcat Valve to Context?

2004-10-19 Thread [EMAIL PROTECTED]
Answered in http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851974#3851974 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851975#3851975 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851975 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss 3.2.5 Will Not Load Embedded Obj Under JAAS & SSL

2004-10-19 Thread [EMAIL PROTECTED]
jboss-3.2.5 does not support context level overrides. jboss-3.2.6 supports a WEB-INF/context.xml descriptor that allows one to customize a war context. The custom valve would be added by including a myapp-web.war/WEB-INF/context.xml with: | | | | With this the headers for the jmx

[JBoss-user] [Clustering/JBoss] - Re: How to access HASingleton MBeans from a non-master clust

2004-10-19 Thread monocongo
I have just discovered a section in the JMX book (Lindfors, et al) about an RMI Connector implementation which looks promising. Is this the solution I should be pursuing ? Any good online references on this topic ? --James View the original post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Installation & Configuration] - Apache + JK1.2.6 + JBoss

2004-10-19 Thread vvangara
Hello There, I have configured apache to send all JSP request to JBoss via mod_jk1.2.6. It is working fine. But when i run the Apache along it is not showing me the index.html page of Apache. But when i start the JBoss and Apache when i say http://localhost or http://localhost:80 it is showing me

[JBoss-user] [Persistence & CMP/JBoss] - Re: Can I use COUNT()???

2004-10-19 Thread wmaidub
quà versiÃn de JBoss estÃs utilizando??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851968#3851968 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851968 --- This

[JBoss-user] [Clustering/JBoss] - How to access HASingleton MBeans from a non-master cluster n

2004-10-19 Thread monocongo
I have an application which uses several HA Singleton MBeans. It is working well when running as a single node cluster. But when I run it on additional nodes I can't locate the singleton MBeans. It seems that the singleton MBeans are only registered with the MBeanServer on the initial node, a

[JBoss-user] [Persistence & CMP/JBoss] - Can I use COUNT()???

2004-10-19 Thread danielferreira
Hi all, I'm tring to use count and get the total number of row in my table but I'm getting this error? Please, somebody help me. thanks in advance Daniel. | 18:19:30,081 ERROR [EntityContainer] Starting failed | org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement '

[JBoss-user] [Installation & Configuration] - Re: I am looking for a JBoss-Jetty.sar for jboss4.0.0RC1

2004-10-19 Thread lilredheadgrl
Doesn't seem to exist yet. Here is what is available: http://sourceforge.net/project/showfiles.php?group_id=7322 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851964#3851964 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[JBoss-user] [Beginners Corner] - Why RMI Security Manager only needed some of the time

2004-10-19 Thread guurk
I'm trying to figure out why a call to findAll of a cmp doesn't work without an RMI Security Manager in place when specific calls to user defined findXByX does. Just wondering... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851962#3851962 Reply to the pos

[JBoss-user] [JBoss Getting Started Documentation] - Tomcat + Cocoon together with Jboss

2004-10-19 Thread devox
How to combine Tomcat-Cocoon platform with JBoss 4.0.0 ... asked this question more than once is there step by step orders how to do it , where to move existing platform etc .. Is there a list of platforms (versions) that are compatible with Jboss 4.0.0 ? Need to evaluate it's power so far

[JBoss-user] [Security & JAAS/JBoss] - Re: Will $100 Manual help us to resolve this security issue

2004-10-19 Thread [EMAIL PROTECTED]
Sorry stack trace missing above... 14:33:37,531 ERROR [LogInterceptor] RuntimeException: java.lang.IllegalStateException: No security context set at org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrincipal(EnterpriseContext.java:276) at com.retalix.convergence.prompt2.in

[JBoss-user] [Security & JAAS/JBoss] - Re: Will $100 Manual help us to resolve this security issue

2004-10-19 Thread [EMAIL PROTECTED]
Thanks we shall send the ear file. In the mean time I had a question. we are using a Struts Action Class for login which gets invoked and we are succesfully authenticated when we call lc.login(), our custom login gets invoked correctly. However our web container does not know about this authentic

[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo

2004-10-19 Thread sudhir_suman
hi Pablo, have you used a bi-directional relationship in the same setup. i get deployment errors saying the key fields are not defined and i checked jbosscmp-jdbc.xml , they are not generated. uni-directional works fine. if u have an example, please reply thanks View the original post : ht

[JBoss-user] [Beginners Corner] - Re: get/set methods in bean ?

2004-10-19 Thread kabkhan
You have probably got the following in the entry for this bean in ejb-jar.xml: | | type | | Remove that. Each cmp-field entry must have matching abstract set/get methods in the bean class as per the message, and these correspond to the columns of the db table. View the origin

[JBoss-user] [EJB/JBoss] - Re: Invalid invocation EJBException on method invoke for cre

2004-10-19 Thread euluis
Hello, I have this same problem for some days now. I'm trying to use a SLSB which exists within an EAR application (appl.ear) from a sepparate WAR (client.war). Now I've already attempted the sollution proposed in http://www.jboss.org/index.html?module=bb&op=viewtopic&t=52345, but it doesn't w

[JBoss-user] [Management, JMX/JBoss] - Re: HA Singleton complete example

2004-10-19 Thread monocongo
Here's a good article to get you started: http://www.onjava.com/pub/a/onjava/2003/08/20/jboss_clustering.html --James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851951#3851951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [JBoss.NET] - Re: Customized Date serialization

2004-10-19 Thread tdiesler
>From what I read in the XMLSchema spec, you are definitely right - the time zone >maybe part of xs:date. The jaxrpc spec only mandates xs:date and does afaik not make >additional constraints. I filed a bug with sourceforge: http://sourceforge.net/tracker/index.php?func=detail&aid=1050226&group_

[JBoss-user] [Installation & Configuration] - Re: Reload login-config.xml after making changes

2004-10-19 Thread chonger
Thank you for the quick response. I am very new to JBoss and parts of J2EE. I was playing with login-config.xml and the learning how security domains/configurations work. I guess I assumed that changes to login-config.xml are picked up automatically since the chapter 4.3.1. "Configuring a Secu

[JBoss-user] [Beginners Corner] - get/set methods in bean ?

2004-10-19 Thread tjclifford
Forgive me if this is covered in another spot.I have searched the forums, but did not find an article that covers this. I'm trying to implement Brett McLaughlin's multiple-ejb database system, with his Office, User, Fund, etc beans, and have tried implementing them one at a time. Got Office t

[JBoss-user] [Security & JAAS/JBoss] - Re: j_security check error, migrating from 3.0.3 to 3.2.5

2004-10-19 Thread [EMAIL PROTECTED]
Create a bug report on sourceforge with a sample war that demonstrates the problem. http://sourceforge.net/tracker/?group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851947#3851947 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Security & JAAS/JBoss] - Re: Will $100 Manual help us to resolve this security issue

2004-10-19 Thread [EMAIL PROTECTED]
No, the docs are going to help with this issue. I would need to see a sample ear that illustrates what you are trying to do. There is nothing special about form authentication in terms of how the security context propagates to ejbs. If you want further help with this create a sample ear and atta

[JBoss-user] [JBoss Getting Started Documentation] - server\all\deploy\jboss-net.sar not found.

2004-10-19 Thread jbroberg
I am trying to use C:\jboss-4.0.0RC1, and am following the instructions to build the bank app, but get the above error. Any ideas ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851928#3851928 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Installation & Configuration] - Re: Reload login-config.xml after making changes

2004-10-19 Thread [EMAIL PROTECTED]
The login-config.xml is not polled for changes. You can edit the properties files used by the UsersRolesLoginModule, so why do you have to change the properties file names? There is a DynamicLoginConfig that allows one to dynamically add/remove login module domains: http://www.jboss.org/wiki/Wi

[JBoss-user] [Security & JAAS/JBoss] - Re: Will $100 Manual help us to resolve this security issue

2004-10-19 Thread frankgrimes
Just a quick tip. I've noticed that in order to get help on these (and most Open Source) fora, it helps to provide specific information. Such as: JBoss version JVM OS Stack Trace (where applicable) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851944#38519

[JBoss-user] [Persistence & CMP/JBoss] - Re: Hibernate - Help getting started with Hibernate

2004-10-19 Thread lucasacosta
I have the same problem. I searched a lot in the web and I didnÃÂt find any solution. If somebody have a solution, please tell we. Thank. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851943#3851943 Reply to the post : http://www.jboss.org/index.html?module

[JBoss-user] [HTTPD, Servlets & JSP] - How to add Tomcat Valve to Context?

2004-10-19 Thread sulfur
Hi all I need to add/change a valve setting because of this: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=55212 In JBoss-3.2.5 where would I add the following so my webapp (a war file inside an ear file) would have this valve setting? | | | | Thanks in advance! Deta

[JBoss-user] [Messaging, JMS & JBossMQ] - TimerService exception in MDB

2004-10-19 Thread eztrip
I have an MDB that I'm trying to have implement TimedObject but when the bean instance is created I'm getting this exception message: Cannot obtain inMethodFlag for: getTimerService I noticed in the FAQ something about JBoss 4.0 not using the 2.1 EJB spec for JMS andd tried uncommenting the com

[JBoss-user] [Security & JAAS/JBoss] - Will $100 Manual help us to resolve this security issue

2004-10-19 Thread [EMAIL PROTECTED]
I use JAAS for web-based Login. The first time I access the EJB session Bean and do a getCallerPrinciple() I do get the Caller correctly. However when I go to a different screen and do the getCallerPrinciple() I get exception 'IllegalState' for the unauthenticated subject. Before making a call

[JBoss-user] [Installation & Configuration] - Reload login-config.xml after making changes

2004-10-19 Thread chonger
I am running JBoss4.0 on WinXP using JVM 1.4.1_02-er-20030219 When I make a change to server/${serverName}/conf/login-config.xml , do I have to restart the server for the changes to take effect? I have a web app whose access is controllerd by the UsersRolesLoginModule. When I change the proper

[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo

2004-10-19 Thread pablojavierpy
No prob. Have had your same problem! Good luck. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851938#3851938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851938

[JBoss-user] [Clustering/JBoss] - non multicating(TCP) does not work and throws ChannelExcepti

2004-10-19 Thread afshanz
Hi , I try to use none multicast but I see the following exception in log : 13:01:15,818 WARN [ServiceController] Problem creating service jboss:service=DefaultPartition ChannelException: JChannel(): java.lang.Exception: ProtocolStack.setup(): couldn't create protocol stack at org.jgroups.JChann

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss4.0 and JAAS/Login-config.xml

2004-10-19 Thread edikus
I've had a similary problem. Have you found anything? Are you using Tomcat? For some reason, the ContextConfig in catalina has a null realm. +edi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851937#3851937 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [JBoss.NET] - Re: Customized Date serialization

2004-10-19 Thread tdiesler
This approach will render your WS non interoperable, because it is well defined how a date should be put on the wire. Checkout the JAXRPC spech for other allowed xs types, like gYear gMonth etc. If you have special needs you can of course use xs:string and transport any date signature. Your cli

[JBoss-user] [Beginners Corner] - RemoteException - different tx context

2004-10-19 Thread StefanKuhn
Hi! Can anyone explain this exception? (what does ist mean?) Thanks! Rgds Stefan 18:54:31,105 ERROR [LogInterceptor] EJBException in method: | public abstract util.Gegenstand bean_session.LogIn.getGegenstandMain(int) throws java.rmi.RemoteException: | javax.ejb.EJBException: Application Er

[JBoss-user] [JBoss.NET] - Re: Customized Date serialization

2004-10-19 Thread emcgreal
Well the format is a perfectly valid xs:date according to http://www.w3.org/TR/xmlschema-2/#dateTime SOAPScope has no problems with such dates e.g. 1999-05-31T13:20:00-05:00. Is it mandated in the JAXRPC spec that dates mist be sent as UTC - I doubt that this is the case?? I did solve the problem

[JBoss-user] [Persistence & CMP/JBoss] - defining relation from a bean to itself

2004-10-19 Thread sudhir_suman
Hi, i want to define a relationship from a bean to itself. can i do it using xdoclet+jboss? if so, any help is appreciated. for e.g. a folder contains folders (id, parentFolderId) if i define such a relation, upon deployment, jboss says that i must define key fields on both sides of the role.

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss 3.2.5 Will Not Load Embedded Obj Under JAAS & SSL

2004-10-19 Thread sulfur
Ok I've narrowed it down to a Tomcat 5 bug/feature: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27122 About 1/2 way down the comments: --- Additional Comments From [EMAIL PROTECTED] 2004-02-25 22:07 --- And we have finally found the problem. In an attempt to try and work around s

[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo

2004-10-19 Thread pablojavierpy
Yes, I am implementing 1:m relationships. Do you think the tag is wrong? What does ejb-jar.xml says about your tag? Is it set correctly? Error you are getting seems to be caused by a wrong primary key setting. Am I right? No, partyTaxInformationId is defined as key in PartyTaxInformationEJB: C

[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo

2004-10-19 Thread sudhir_suman
thanks Pablo Javier Santa Cruz Cosp, i used ur example and it worked. even with target-mutliple = "yes" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851930#3851930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38519

[JBoss-user] [JBoss.NET] - Re: JBoss.net and xDoclet

2004-10-19 Thread tdiesler
JBossWS in jboss-4.0 supports portable J2EE compiant web services. For a description of how to expose POJOs as service endpoints, see the JBossWS wiki. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851924#3851924 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Performance Tuning] - Server memory problems

2004-10-19 Thread akaltenpoth
Hi, we have a severe memory problem running a CMP application on JBoss 3.2.5, Container Config Standard CMP 2.x EntityBean, Commit Option A, OS = Win. After running fine for some hours the JVM (or JBoss?) has used up all memory. We receive different kinds of strange errors like Unable to passiva

[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo

2004-10-19 Thread sudhir_suman
One more question, is "partyId" defined as key in "PartyTaxInformationEJB" ? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851922#3851922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851922 --

[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo

2004-10-19 Thread sudhir_suman
Hi, in your example, target-multiple="no" and u are requesting for collection of TaxInformations? are u implementing 1:1 or 1:m relation here? can u send/post me your build scrpt where u generate this? thanks Sudhir here is mine.

[JBoss-user] [Messaging, JMS & JBossMQ] - How to tell if the message expired, and plug for logging it

2004-10-19 Thread damo9f
If you think this is why your messages are not getting through, you can see the expiration occur at trace level (at least in 3.2.5). add: < category name="org.jboss.mq"> < priority value="TRACE" class="org.jboss.logging.XLevel"/> (also remove any INFO or other fil

[JBoss-user] [Persistence & CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo

2004-10-19 Thread pablojavierpy
This example works for me with same configuration: /** * @ejb.relation * name = "Party-PartyTaxInformation" * role-name="Party-has-PartyTaxInformations" * target-ejb="PartyTaxInformationEJB" * target-

[JBoss-user] [Beginners Corner] - compile error using Duke bank app from Getting started with

2004-10-19 Thread Heman
Hi, I've followed the Getting Started with JBoss 4.0 guide step by step, but when I try to compile using ant -f jboss-build.xml compile on Linux Fedora Core 2, I get this output: Buildfile: jboss-build.xml prepare: compile: [javac] Compiling 58 source files to /home/pzw/source/java/j2ee

[JBoss-user] [Persistence & CMP/JBoss] - incomplete jbosscmp-jdbc.xml generated using xdoclet+jboss

2004-10-19 Thread sudhir_suman
I created a 1:m relation between two beans as follows: /** [EMAIL PROTECTED] * name="FolderMayContainDevices" * role-name="FolderToDevices" * target-ejb="Device" * target-multiple="yes" * target-role-name="DeviceToFolder" * [EMAIL PROTECTED] * related-pk-fie

[JBoss-user] [Beginners Corner] - Re: Deployment to work directory

2004-10-19 Thread darranl
Is it an exploded war? By updating it I mean make sure that the modified time movies forwards as JBoss uses this to indicate that the app needs redeploying. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851913#3851913 Reply to the post : http://www.jboss.o

[JBoss-user] [Nukes User] - Module throw exception...

2004-10-19 Thread blackbones
Hi everybody, I've got a problem that disturb me a bit...! I've code a nuke's module which deploy well on jboss 3.2.3 (tomcat 4.1) when i run manually the server. But when i run the service with the command 'jboss_init_redhat.sh start', then the same module throw an exception. I've checked my jbo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Question about JMS/HAJMS

2004-10-19 Thread sheckler
This means parallel local JMS server and HAJMS is possible? I try to go this way. Thanks for support. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851909#3851909 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851909

[JBoss-user] [Beginners Corner] - Re: Deployment to work directory

2004-10-19 Thread Kris VH
It's in a war my web.xml looks like this http://java.sun.com/dtd/web-app_2_3.dtd";> LVRProject index index /index.jsp database database /database.jsp

[JBoss-user] [Installation & Configuration] - Re: Error in log: Starting failed jboss.mq:service=StateMan

2004-10-19 Thread dlastoria
This is still affecting us in production. Looking for any input. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851903#3851903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851903

[JBoss-user] [Security & JAAS/JBoss] - Re: j_security check error, migrating from 3.0.3 to 3.2.5

2004-10-19 Thread dlastoria
This is still affecting us in production. Appreciate any and all help! Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851905#3851905 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851905 --

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Http Session is not destroyed when redeploying war-archi

2004-10-19 Thread zarni
Thank you trickal! I have been using jboss3.2.6 for a long time now, and it is working very fine with the default context manager (I made all my objects serializable, and the sessions persist fine without any errors). But your reply gave me some ideas on doing some custom context managers that

[JBoss-user] [Beginners Corner] - Re: Deployment to work directory

2004-10-19 Thread darranl
Have you deployed your jsp page in as a war with a web.xml, if you have updating the web.xml should cause the new page to be used. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851898#3851898 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Beginners Corner] - Deployment to work directory

2004-10-19 Thread Kris VH
Hi, I've made a jsp-page and I published it on the JBOSS 4.0.0 server. When I visit that page via IE I get my result as expected. If I change some code on that JSP and I publish, I still get my old page. I've noticed that the old-compiled JSP still exists in the work-directory of my default se

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Http Session is not destroyed when redeploying war-archi

2004-10-19 Thread trickal
Hi Zarni, here is an example for WEB-INF/context.xml that disables session persistence: | | Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851892#3851892 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

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

2004-10-19 Thread umar
Right. This bug is fixed. While debugging, I found this exception: | org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; | - nested throwable: (java.io.IOException: Client is not connected) | at org.jboss.mq.Connection.doStop(Connection.java:1289) | at

[JBoss-user] [Persistence & CMP/JBoss] - Another Problem - table mapping

2004-10-19 Thread rajiv_malhotra
I need to map my enterprise beans to a database table having a different name, and this is what i am trying to do. my jbosscmp-jdbc.xml looks like this. | .. | | | First | First_Table | |

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Question about JMS/HAJMS

2004-10-19 Thread [EMAIL PROTECTED]
It can be trivially implemented for queues with an MDB on a reachable node, pulling messages from the cluster and sending them to a "local" jms server using java:/JmsXA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851888#3851888 Reply to the post : http://

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Question about JMS/HAJMS

2004-10-19 Thread [EMAIL PROTECTED]
I couldn't determine what your question actually was, other than something related to HAJMS. anonymous wrote : | Network topology: | Not all nodes of a cluster a reachable by the client (no route to host), but the cluster is reachable, because at least one of the cluster nodes is reachable.

[JBoss-user] [HTTPD, Servlets & JSP] - COPY and MOVE do not working

2004-10-19 Thread radejosovic
Hi, I have JBoss 3.2.3 with Tomcat 4.1.29 (embeded). I found that WebDAV methods MOVE and COPY do not working. I am using Slide client Java API for copy/move and methods returns true (success) but files are not copied or moved. If I run same example on standalone Tomcat server 4.1.29 (not inside

[JBoss-user] [EJB/JBoss] - Re: Unable to include manifest file to my jar file

2004-10-19 Thread robisz
The xml files in META-INF folder are not manifest files... Manifest file is META-INF/MANIFEST.MF If you want to add manifest file for a jar, you need to specify the file itself instead of META-INF folder. File managers like Total Commander (or mc in linux) are very useful for extracting/updating

[JBoss-user] [Clustering/JBoss] - JBoss restarts during load testing!!

2004-10-19 Thread Shanmugavel
Hi, We have an application deployed in jboss-3.0.7. The application has a lot of modules. When users simultaneously hit the screens in many modules, there is a sudden increase in memory usage by jboss(from 264 MB to 2400 MB) and the server restarts. We can't find when the server restarts for an

[JBoss-user] [Beginners Corner] - Re: Automatic expansion of the WAR after deployment

2004-10-19 Thread ltexier
Archives located under /deploy are deployed under /tmp/deploy. However folder names are created using random values so you can not use them programmatically. What you could do is using exploded archives. check out this wiki page for detail http://jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment V

[JBoss-user] [EJB/JBoss] - Unable to include manifest file to my jar file

2004-10-19 Thread newhorizon
Hi, I am using Java JDK 1.4. I have created MyFistEjb.jar file which has 3 class files (EJB files). Now, I have to include xml files which are present in META-INF folder. I gave the following command at command prompt to include manifest files. jar uvfm MyFirstEjb.jar META_INF. But it gave

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Http Session is not destroyed when redeploying war-archi

2004-10-19 Thread trickal
Hi Zarni, i just stumbled accross some additional information. The patch of Mikko Koponen was integrated in JBoss 3.2.6RC1: http://sourceforge.net/docman/display_doc.php?docid=23847&group_id=22866 If you change to JBoss 3.2.6 you may configure a session manager for your web application in WEB-

[JBoss-user] [Beginners Corner] - Re: Any tutorial showing usage of XDoclets with Entity Beans

2004-10-19 Thread ltexier
check out the official website http://xdoclet.sourceforge.net/xdoclet/index.html and this excellent book from Craig Walls and Norman Richards http://www.manning.com/walls/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851875#3851875 Reply to the post : http

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Http Session is not destroyed when redeploying war-archi

2004-10-19 Thread trickal
Hi Zarni, maybe the following links are helpful for your research: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51689 http://sourceforge.net/tracker/index.php?func=detail&aid=986585&group_id=22866&atid=376687 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html Thomas

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

2004-10-19 Thread ltexier
You'll find the answer in this post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=54576 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851873#3851873 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851873 -

[JBoss-user] [JBoss.NET] - JBoss.net and xDoclet

2004-10-19 Thread nohwal
Hi all, I am fairly new to JBoss.net and web-services in general. I am planning to use jBoss.net for deploying my web-services. I have tested one of my web-services and it gets deployed fine. Now, I want to use the XDoclet tags for auto-generating web-service.xml. I searched on JBoss.org and f

[JBoss-user] [Persistence & CMP/JBoss] - Re: EJBs not storing data

2004-10-19 Thread rajiv_malhotra
was a db2 related issue resolved it . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851870#3851870 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851870 --- This

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JNDI API lookup failed: javax.naming.CommunicationExcept

2004-10-19 Thread VV
Thanx a lot it worked. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851869#3851869 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851869 --- This SF.net email is s

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Problem with storing a value into session object

2004-10-19 Thread trickal
Hi Thomas, you wrote: (1) String firstVisit = (String) session.getAttribute("firstVisit"); | (2) if (firstVisit.equals("")) { | (3) ... | (4) } If a user is visitting your page the first time, firstVisit is null after the first line. So you're trying to check if null is equal to "" in li

[JBoss-user] [Beginners Corner] - Re: jndi problem, please help

2004-10-19 Thread DragosPD
Thank you. In the mean time I found myself the answer reading the JBOSS online docs. here is the specs: An application component environment is a local environment that is accessible only by the component when the application server container thread of control is interacting with the applicatio

  1   2   >