[JBoss-user] [EJB/JBoss] - Re: Cannot lookup after restart server

2004-12-24 Thread lvhuyen
Dear, Thanks for your reply, Lviz. I have followed the link http://www.jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions , now I can ensure that in my two servers, I have exactly only one copy of those classes that beanA and beanB share (the messages used to communicate, the Home and Re

[JBoss-user] [EJB/JBoss] - unable to lookup an EJB from a JavaBean

2004-12-24 Thread johntodd
Hi all. I'm creating a J2EE application. my web application contains a simple JavaBean that hides the operation of locating my Session EJB. | Object obj = ic.lookup("java:comp/env/ejb/Liga"); | LigaHome home = (LigaHome)PortableRemoteObject.narrow(obj, LigaHome.class); | this JavaBean will

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

2004-12-24 Thread andycoh
The NPE seems to occur in some code that assumes you've included something like this in your hibernate-service.xml (without the backslashes): \file:///clomsdb.har\ That is, harUrl is the null pointer, and it's a property of the ...jmx.Hibernate class which gets initialized in your mbean s

[JBoss-user] [Beginners Corner] - Re: Symlinks in the deploy directory?

2004-12-24 Thread wiley173
Yeah, I found that one out after starting jboss and watching the output for an hour -thanks happy christmas ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859866#3859866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Installation & Configuration] - Re: JBOSS 3.2.7 & 4.0.0 on ISeries V5R2M0

2004-12-24 Thread cybermac912
Oh, and I second fbiaggi's advice: Make sure your system is all up-to-date on PTF's (Java & others). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859865#3859865 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859865

[JBoss-user] [Installation & Configuration] - Re: JBOSS 3.2.7 & 4.0.0 on ISeries V5R2M0

2004-12-24 Thread cybermac912
We run JBoss 4.0.0 on our iSeries, so no need to step back to the older version. Just a couple of tips: - Make sure you specify the correct JAVA_HOME in jboss-4.0.0/bin/run.conf (ours is /QIBM/ProdData/Java400/jdk14) - Make sure you give the VM enough memory in run.conf (at least 512 MB) - If yo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Changing use of HyperSonic with PostgreSQL for JMS Pers

2004-12-24 Thread dbrum
Scott - followed the steps. I now see a set of tables created by JBoss - but theses errors are showing up now: 2004-12-24 12:06:58,347 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl] destination list is non-null and empty: no need to send message 2004-12-24 12:06:58,348 ERROR [org.jboss.e

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 3.2.4 or 3.2.5 HAJMS failover problems

2004-12-24 Thread [EMAIL PROTECTED]
There are some problems with the multicast layer in 3.2.4/3.2.5 that will prevent the HASingleton from failing over correctly in some situations. You can find more details at http://jira.jboss.com/jira/browse/JBAS-35 The problem has been fixed in 3.2.6. View the original post : http://www.jbos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: PLEASE HELP ME MDB and Remote Topic

2004-12-24 Thread [EMAIL PROTECTED]
Are you actually using "java.naming.provider.url=192.168.xxx.yyy:1099" verbatim in your deployment descriptor? That will never work ... Go back to http://www.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue, I updated the document to give you more details of what to deploy

[JBoss-user] [Installation & Configuration] - upgrading from 3.2.3. To 4.0.1 or 3.2.6 ?

2004-12-24 Thread goldrimtang
Hello, We have been running our app on 3.2.3 for like a year without problems. Now we have decided to upgrade. I wonder if we should go to 3.2.6 or jump to 4.0.1. We are not interested in AOP, Hibernate or Clustering. Caching could be good, but we are not having any performance issues a

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2004-12-24 Thread [EMAIL PROTECTED]
The following testcase works fine for me: | package org.jboss.test.cts.ejb; | | import javax.ejb.MessageDrivenBean; | import javax.ejb.MessageDrivenContext; | import javax.jms.MessageListener; | import javax.jms.Message; | import javax.jms.TextMessage; | | /** Test of signatur

[JBoss-user] [Installation & Configuration] - Re: Major classloader issues with multiple ear files

2004-12-24 Thread [EMAIL PROTECTED]
Also, meta-inf/jboss-app.xml is wrong. Jar files use case sensitive entries, so it may just be that the scoping is not being applies. The entry must be META-INF/jboss-app.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859850#3859850 Reply to the post :

[JBoss-user] [Installation & Configuration] - Re: Major classloader issues with multiple ear files

2004-12-24 Thread [EMAIL PROTECTED]
Re-read: http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://www.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases to understand why the jboss-app.xml should look like: | | | jboss.loader:loader=suppliernet | | java2ParentDelegation=false

[JBoss-user] [Installation & Configuration] - Major classloader issues with multiple ear files

2004-12-24 Thread sunondo
I have two ear files which I am trying to run in JBoss 3.2.3. Each one runs fine independently. When I run both together, one of the ear files uses a Class with the same package name from the other and gives a MethodNotFoundException. After I changed the package name of the Class, the ear file s

[JBoss-user] [Installation & Configuration] - Re: jboss-4.0.0RC1 Vs jboss-4.0.0

2004-12-24 Thread [EMAIL PROTECTED]
RC indicates it is a release candidate. Not a stable release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859846#3859846 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859846 ---

[JBoss-user] [Installation & Configuration] - After reading the forums a bit, I see numerous problems in t

2004-12-24 Thread lairdwd
from using the fork=true flag. Ergo, we'll leave it the way the jboss group recommends. There is a disconnect here from the tomcat official documentation on recommended settings for production and the jboss documentation. Some of the discussion threads should be called out explicitly about the k

[JBoss-user] [Security & JAAS/JBoss] - Re: DynamicLoginConfig problems

2004-12-24 Thread [EMAIL PROTECTED]
Presumably the second ear has no visibility to the ServerLoginModule due to the scoping then. Enable trace level logging on the security category org.jboss.security (http://www.jboss.org/wiki/Wiki.jsp?page=Logging) to better see what is failing. The sar setting up the shared security domain clea

[JBoss-user] [Security & JAAS/JBoss] - Re: DynamicLoginConfig problems

2004-12-24 Thread sradford
I guess I should add that both my ears have different loader-repositories specified via their jboss-app.xml file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859840#3859840 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Deploying 2 MDB with same EJB Name into different EJB Ja

2004-12-24 Thread [EMAIL PROTECTED]
Its a configuration issue. You have to configure the deployments to have unique local jndi names using the jboss.xml descriptor since the default is taken from the ejb-name. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859839#3859839 Reply to the post : h

[JBoss-user] [Security & JAAS/JBoss] - DynamicLoginConfig problems

2004-12-24 Thread sradford
Hi, I have deployed my own ServerLoginModule via the DynamicLoginConfig (in a sar within an ear, called ear1). It is deployed as xxxRealm. When I connect to EJB's deployed withing ear1, secured by the xxxRealm all works fine. I now have a second ear, say ear2, which deploys more ejbs, secured

[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)

2004-12-24 Thread [EMAIL PROTECTED]
Probably a problem with the file encoding/white space differences on the two platforms. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859837#3859837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859837

[JBoss-user] [EJB/JBoss] - Related to JBoss-IDE 1.3.0 Tutorial Guide Tutorial Example

2004-12-24 Thread hazarinaveen
Can any one help me to solve this problem , I am folowing JBoss-IDE 1.3.0 Tutorial Guide , Tutorial Example i follwed almost all the steps specified in Tutorial , and i successfully created .war. .jar , .ear , but here the problem is,When i depoye the application server is throwing

[JBoss-user] [Security & JAAS/JBoss] - Re: Auth Filter

2004-12-24 Thread [EMAIL PROTECTED]
No. You would have to customize the associated authentictor. For example, org.apache.catalina.authenticator.FormAuthenticator if your using FORM authentication. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859835#3859835 Reply to the post : http://www.jbo

[JBoss-user] [Security & JAAS/JBoss] - Re: Using principal for context passing

2004-12-24 Thread [EMAIL PROTECTED]
So the Work Area Service for J2EE is a caller initiated session created using the UserWorkArea jndi binding with the call boundaries set by the begin/complete calls: | package com.ibm.websphere.workarea; | | public interface UserWorkArea { |void begin(String name); |void comp

[JBoss-user] [Management, JMX/JBoss] - Re: What's wrong with my XMBean?

2004-12-24 Thread [EMAIL PROTECTED]
Moved to the user list as this is not a development question. Your depends elements are commented out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859833#3859833 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859833

[JBoss-user] [Clustering/JBoss] - Re: HTTP session replication delay

2004-12-24 Thread [EMAIL PROTECTED]
The default replication mode is REPL_SYNC as configured in the deploy/tc5-cluster-service.xml, so unless you have multiple requests for the same session bouncing across nodes, there should be no delay issue. Note that the current session replication implementation cannot be used for load balanc

[JBoss-user] [Beginners Corner] - Re: Symlinks in the deploy directory?

2004-12-24 Thread [EMAIL PROTECTED]
Your URLs list is poorly choosen as it includes a directory which includes the entire server distribution. This will recursively scan all directories under /home/wiley173/ looking for deployable content. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859831#3

[JBoss-user] [Security & JAAS/JBoss] - Re: Get current User

2004-12-24 Thread [EMAIL PROTECTED]
Yes, that is correct. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859830#3859830 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859830 --- SF email is sponsored b

[JBoss-user] [Installation & Configuration] - Disable some JBoss services !

2004-12-24 Thread warx_sg
Hi all, i have to use JBoss 3.2 for developing a J2EE application, so i have to use JSP/Servlet and EJB. I want to configure Jboss disabling the services that i don't use such as JMS and so on. What services do i have to disable ? How can i disable the servies ? In this way i can save time to st

[JBoss-user] [Installation & Configuration] - Telnet appender: how to set the login and password?

2004-12-24 Thread gfzhang
I want to limit Telnet appender so that only a specific user is allowed to connect to it. How to do it? how to set a user name and password in the appender? Thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859825#3859825 Reply to the pos

[JBoss-user] [Installation & Configuration] - Re: Disable some JBoss services !

2004-12-24 Thread [EMAIL PROTECTED]
Just remove the corresponding configuration files from the deploy directory. Chapter 1 of the online admin/devl guide provides an overview of what the files are for the various services. http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Clustering/JBoss] - Re: Error compiling monitoring manager #0

2004-12-24 Thread [EMAIL PROTECTED]
I saw the same problem with the network interface address did not match what the /etc/hosts value for the machine had. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859828#3859828 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [EJB/JBoss] - application.xml not found error

2004-12-24 Thread hazarinaveen
Hi EveryOne By Following tutorial Example ,I successfully created jar,war and ear files also ,by following each and every instruction specified in the tutorial pdf , Here the problem is When i deploy ear file The server is generating the following error msg 17:35:40,828 INF

[JBoss-user] [Clustering/JBoss] - Error compiling monitoring manager #0

2004-12-24 Thread jieshengz
I running jboss-3.2.6 "all" server in a Linux machine. The OS is redhat Enterprise Linux 3. In this linux machine, run the "default" server, there is no problem. However when I started the "all" server, I got this exception 2004-12-24 18:35:26,980 INFO [org.jboss.web

[JBoss-user] [Security & JAAS/JBoss] - Re: Get current User

2004-12-24 Thread wxwang
I am using request.getPrincipal.getName() from servlet and ctx.getCallerPrincipal().getName() from EJB. Is it correct. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859817#3859817 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Security & JAAS/JBoss] - Auth Filter

2004-12-24 Thread wxwang
Hello In weblogic, AuthFilterImpl is called via a RequestDispatcher.include() from inside the servlet engine just before Authentication and Authorization and just after. Could any one tell me Jboss has got a similar interface? Thanks in advance. View the original post : http://www.jboss.org/

[JBoss-user] [Clustering/JBoss] - HTTP session replication delay

2004-12-24 Thread rahulkausale
Hello all Jboss gurus out there, I am having a development environment with following details, I have two intel p4 machines with 2 GB RAM, RedHat Linux running on it and having 3 Jboss-4.0.0 instances. Machine 1: Instance 1: running in "all" mode and having "DEVPartition" as cluster partitio

[JBoss-user] [EJB/JBoss] - Re: Cannot lookup after restart server

2004-12-24 Thread Lviz
hello lvhuyen this may help.. http://www.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases http://www.jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions cheers L View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859813#3859813 Reply to the post

[JBoss-user] [News & Announcements] - Re: 4.0.1 Release Available

2004-12-24 Thread worldheart
Advice: In the future release,the jboss application server distribution can take account of providing release notes itself like other open source projects. So,jboss users may view release notes offline, and more. thx. View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Security & JAAS/JBoss] - Get current User

2004-12-24 Thread wxwang
I have got one question is how can I get current user?(who is authenticated or a guest and running this thread) In weblogic, we canuse weblogic.security.acl.Security.getCurrentUser(); It returns "guest", if the user is unauthenticated. Thanks in Advance. View the original post : http://www.jb

[JBoss-user] [Beginners Corner] - Re: javax.ejb package

2004-12-24 Thread ter_d
Hello darranl, thanks a lot for your information! Merry Christmas!!! ESther View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859806#3859806 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859806