[JBoss-user] [Installation Configuration] - Re: Newbie needs help

2004-08-17 Thread pnevado
Have a look at the following doc. You will need to register to have free access.

http://docs.jboss.org/admin-devel/Chap1.html#0_pgfId-915907

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845275#3845275

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845275


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: javax.ejb.ObjectNotFoundException: No such entity!

2004-08-17 Thread loubyansky
You want to say the row is in the db? JDBC says it's not.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845288#3845288

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845288


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Extremely slow InitialContext::lookup invocation...

2004-08-17 Thread PavelKrupets
Hello,

I am completely new to J2EE. I made a simple project with one statless session bean. I 
invoke InitialContext.lookup(...) method and it hangs application for about 30-50 
seconds!

I am using: 
Server: RedHat Linux 9, Sun JRE 1.5, JBoss 4.0RC1 (PC: Celeron 1700, 386MB RAM, 40GB 
HDD). Server wsn't heavily loaded during tests.
Client: Compaq Pentium III-600 384MB RAM
Network: 100Mbit (works perfectly with other applications).

Currently I've got Client-Server application with shared middle (business objects and 
procedures) tier, and GUI client. Now I need to make WEB client and I am wondering 
which technology to use. So far I am comfused with J2EE (and JBoss). Everybody 
promises a lot but there is a lot of drawbacks (I hate checked exceptions cause I need 
to modify all my BO interfaces or make wrappers).

With regards,
Pavel Krupets

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845289#3845289

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845289


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: How to avoid the select before insert with JDBCPkSqlCrea

2004-08-17 Thread loubyansky
Try to add this attribute

  |  attribute 
name=SQLExceptionProcessorjboss.jdbc:service=SQLExceptionProcessor/attribute
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845294#3845294

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845294


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Weird error with jboss, Hypersonic and Flavormap.propert

2004-08-17 Thread loubyansky
Maybe the problem is whitespaces in the path?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845296#3845296

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845296


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Linux + JBoss 3.2.2 problem with file handles and multip

2004-08-17 Thread mrtom
Maybe too late but...

Using lsof with wc can be misleading. The repeated files you are seeing are the same 
files but for each java thread running. The actual filehandles will be shared amongst 
each thread - so as a _rough_ guide you may want to divide the 4000+ figure by the 
number of java threads ('ps -e | grep java | wc -l').

I can't be 100% sure about RH but it's most likely that it is running a kernel with 
NPTL support. As threads are handled in a completely different way the system will 
only see JBoss under a single process ID - therefore you will only see each open file 
once. (and one 'java' process from 'ps -e')

Another good way to see open file descriptors is to ls -l /proc/$PID/fd/ where $PID 
is the process id. (Obviously easier with NPTL where there is only one PID).

Hope this helps
Tom.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845302#3845302

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845302


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Extremely slow InitialContext::lookup invocation...

2004-08-17 Thread PavelKrupets
Forgot something:

I was using JBossIDE while making beans. Everything (JRE, JBoss) installed and runned 
using default configuration.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845303#3845303

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845303


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - javax.ejb.ObjectNotFoundException: No such entity!

2004-08-17 Thread balteo
Hello,
Thanks for the reply. Yes I know for sure the row is in the table. This is why I don't 
understand this error. Other users have encountered the same problem but I can't 
establish how to solve it from the posts on the forums. Note that I am migrating from 
jOnas to jboss and it works with jonas. Have you any idea?
Julien.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845304#3845304

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845304


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Hot deployment with jboss3.2.5/4.0RC1

2004-08-17 Thread chen_comp
It is deployed as  expanded EAR format. No seperate loader repository  for application.
The hierarchichy will be something like:
   test.ear
lib/utility1.jar
lib/utility2.jar
   META-INF/application.xml
  ejb.jar
  test.war
   META-INF/manifest.mf

Inside manifest.mf, Class-Path is used to refer  utility jar files inside lib 
directory. Some jar files is going to be shared by both WEB and EJB tiers.
 

Thanks

Chen


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845307#3845307

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845307


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Configuring login in jboss

2004-08-17 Thread ltcmelo
i forgot to say that i'm using jboss 3.2.3

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845317#3845317

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845317


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - J2EE applicaion architecture...

2004-08-17 Thread PavelKrupets
Hello,

I cannot use CMP because I have very complex queries, and I cannot alter database 
structure. But I read that BMP are even worse (if you read multiple BMPs, only primary 
keys are read and afterwards rest data will be read). As I understand. If so it's 
quite slow.

I don't know what about statless and stateful beans. I am reading and trying them now.

But as I understand when I invoke remote method that returns object, object that was 
returned will be local and cannot use server functionality (I mean directly). For 
instance in DCOM when object returned its methods will be invoked remotely (if it 
isn't stated otherwise), I mean I can use server functionality.

I can use two ways to solve this:

1) I can use Objects with data as a C (language) structs and session beans as 
functions. This is a funny thing but after everybody sad that C is an extremely 
uncomfortable technology we returned to a kind of it in Java.

2) I can use wrappers. Client will have wrapper that will hide this by invoking 
session beans itself. The huge disadvantage is that I have to write a lot of wrappers.

I think (by now) that the biggest disadvantage of J2EE is that it tries to solve 
everything, and it isn't flexible (for example sometimes I can live without object 
caching but all EJBs cached (CMP and BMP)), this is the cause of BMPs problems.

I want to hear that do you think about these problems. Can anyone give me some 
examples of large systems that use J2EE (at least 50-200 concurrent users)?

I am not telling that this is a worthless technology (i am not so good at it and I can 
miss some vital parts) but it's too raw at the moment (again for my opinion).

P.S. I think Enterprise is redundant word in J2EE at least at the moment.

With regards,
Pavel Krupets

Evaluating JBoss/J2EE

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845323#3845323

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845323


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - cannot switch from hypersonic to oracle

2004-08-17 Thread itteerde
i configured a oracle DataSource that works (tested it with a servlet) and tried to 
map an EntityBean to my database but during the deployment it continues to create the 
hypersonic table. any help appreciated

jboss: 3.2.5
jdk/jre: 1.4.2_5
xdoclet: 1.2/jboss-ide for eclipse 3.0

/*
 * Project name : ofas
 * File name: Server.java
 * 
 * Created on Aug 17, 2004
 * Author   : itteerde
 * 
 * History:
 * 
 * Last Editor  DateComment
 * 
 * itteerde Aug 17, 2004created
 */
package com.bbraun.ofas.persistence.permission.ejb;

import java.rmi.RemoteException;

import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.RemoveException;

/**
 * @ejb.bean name=Permission
 *   display-name=Name for Permission
 *   description=Description for Permission
 *   jndi-name=ejb/Permission
 *   type=CMP
 *   cmp-version=2.x
 *   view-type=local
 * 
 * @ejb.bean primkey-field = guid
 * 
 * @todo should extend AbstractEntityBean
 * 
 * @jboss.persistence 
 *  datasource = ofas
 *  table-name = ofas.ofas_permissions
 *  
 * 
 */
public abstract class PermissionBean implements EntityBean {

/**
 * 
 */
public PermissionBean() {
super();
// TODO Auto-generated constructor stub
}

/* (non-Javadoc)
 * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
 */
public void setEntityContext(EntityContext ctx)
throws EJBException,
RemoteException {
// TODO Auto-generated method stub

}

/* (non-Javadoc)
 * @see javax.ejb.EntityBean#unsetEntityContext()
 */
public void unsetEntityContext() throws EJBException, RemoteException {
// TODO Auto-generated method stub

}

/* (non-Javadoc)
 * @see javax.ejb.EntityBean#ejbRemove()
 */
public void ejbRemove()
throws RemoveException,
EJBException,
RemoteException {
// TODO Auto-generated method stub

}

/* (non-Javadoc)
 * @see javax.ejb.EntityBean#ejbActivate()
 */
public void ejbActivate() throws EJBException, RemoteException {
// TODO Auto-generated method stub

}

/* (non-Javadoc)
 * @see javax.ejb.EntityBean#ejbPassivate()
 */
public void ejbPassivate() throws EJBException, RemoteException {
// TODO Auto-generated method stub

}

/* (non-Javadoc)
 * @see javax.ejb.EntityBean#ejbLoad()
 */
public void ejbLoad() throws EJBException, RemoteException {
// TODO Auto-generated method stub

}

/* (non-Javadoc)
 * @see javax.ejb.EntityBean#ejbStore()
 */
public void ejbStore() throws EJBException, RemoteException {
// TODO Auto-generated method stub

}

/**
 * Getter for CMP Field guid
 *
 * @ejb.pk-field
 * @ejb.persistent-field
 * @ejb.interface-method   view-type=local
 * 
 * @jboss.column-name name = ID
 * @jboss.jdbc-type type = VARCHAR
 */
public abstract String getGuid();

/**
 * Setter for CMP Field guid
 *
 * @ejb.interface-method   view-type=local
 */
public abstract void setGuid(String value);

/**
 * Getter for CMP Field name
 *
 * 
 * @ejb.persistent-field
 * @ejb.interface-method   view-type=local
 * 
 * @jboss.column-name name = NAME
 * @jboss.jdbc-type type = VARCHAR
 */
public abstract String getName();

/**
 * Setter for CMP Field name
 *
 * @ejb.interface-method   view-type=local
 */
public abstract void setName(String value);

}

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845325#3845325

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845325


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Configuring login in jboss

2004-08-17 Thread worldheart
can you describe in detail?


ltcmelo wrote : How do i configure jboss for a login module with jaas?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845327#3845327

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845327


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Configuring login in jboss

2004-08-17 Thread darranl
Which documentation have you both read so far?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845335#3845335

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845335


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - ClassCastException on lookup from ear resource file

2004-08-17 Thread MIC331
Hi - I have deployed an ear file which contains 2 ejb jar apps and a jar resource 
file. When trying to lookup an ejb (in one of the ejb jar apps in the same ear file) 
from one of the resource file classes a ClassCastException is thrown on narrowing.  I 
have tried placing the ejb interface file inside of the resource file and even within 
the ear itself with no luck. Can someone please shed light?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845333#3845333

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845333


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-08-17 Thread vashistvishal
http://www.jboss.org/index.html?module=bbop=viewtopict=53124
For issues on chapter 9 plz refer this link as well

Cheers...
Vishal.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845329#3845329

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845329


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: cannot switch from hypersonic to oracle

2004-08-17 Thread itteerde
darranl wrote : Have you put the jbosscmp-jdbc.xml in the jar file?  I have not 
tried specifying the datasource using XDoclet tags, I normaly specify it in the build 
script, have you checked the contents of jbosscmp-jdbc.xml?

no i have not

thank you very much, i ll fix some datasource mappings now...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845339#3845339

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845339


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: install jboss3.2.5 on a windows xp professional machine

2004-08-17 Thread louie171
the null thing is normal for a default config.

for the url have you put localhost:8080

as this should be:

http://localhost:8080

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845344#3845344

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845344


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - Will pay for docs if there is sth about JBossAS+POJO+AOP con

2004-08-17 Thread nthx
Hi all.

My company will purchase your documentation if there is something about:
-How to run plain Java system inside JBoss or standalone, but using services provided 
by JBoss, mean: transactions, persistance, replication, others..

Using of course metadata to describe class' properties.
Are there any topics covering this inside?

Yours,
Tomasz




View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845347#3845347

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845347


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: hot redeploy ear ClassCastException

2004-08-17 Thread kddubb
I found a fix that seems to work...this problem was fixed in 3.2.6RC1.  I have ported 
the fix backwards into my 3.2.5.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845353#3845353

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845353


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBOSS + org.postgresql.largeobject.LargeObject API for B

2004-08-17 Thread artursaporito
 solution outofmemory jboss

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845359#3845359

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845359


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - java stored procedure and JNDI - java.io.StreamCorruptedExce

2004-08-17 Thread lucasam
Please, Im using Java Stored Procedure(Oracle) and Stateless Session Bean(JBoss). 
The java stored procedure is the client of a session bean.

Im getting  this error: 

  | javax.naming.CommunicationException.  Root exception is 
java.io.StreamCorruptedException: Type code out of range, is 0
  |   at java.io.ObjectInputStream.peekCode(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.skipToEndOfBlockData(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
  |   at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:66)
  |   at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.skipToEndOfBlockData(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
  |   at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
  |   at java.rmi.MarshalledObject.get(MarshalledObject.java)
  |   at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
  |   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:550)
  |   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
  |   at javax.naming.InitialContext.lookup(InitialContext.java)
  |   at br.com.clients.StoredProcedure.getHello(StoredProcedure.java:27)
  | 

What could be happening? 

tks



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845363#3845363

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845363


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: cannot switch from hypersonic to oracle

2004-08-17 Thread darranl
Have you put the jbosscmp-jdbc.xml in the jar file?  I have not tried specifying the 
datasource using XDoclet tags, I normaly specify it in the build script, have you 
checked the contents of jbosscmp-jdbc.xml?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845338#3845338

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845338


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - is jboss walking all over itself?

2004-08-17 Thread jim_stoll
hey guys

i keep getting the following exception in the intilialization of jboss...

  | java.rmi.server.ExportException: Port already in use: 1098
  | 

Makes me think that jboss is perhaps walking all over itself 

Reason: i do a port scan just prior to bringing up jboss and port tcp /udp 1098 is not 
in use!

HELP !!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845369#3845369

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845369


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Beginner trying to understand the classloader system: please

2004-08-17 Thread albert_steed
Hello,
Here is the problem: I am calling a method from a jsp as follows:

  | %
  | com.mycompany.MyClass mc = new com.mycompany.MyClass();
  | mc.print();
  | %
  | 

1. First I tried dropping the jar into the %jboss_home%\lib directory and I get a 
package does not exist error. Why?
2. Second I tried dropping the jar into the 
%jboss_home%\server\default\deploy\tomcat\jbossweb-tomcat50.sar\mywar.war(1)
as well as in %jboss_home%\default\server\lib (2) and it appears to pick up the one in 
the (2) directory first. Is this normal behavior?
Thanks in advance,
Albert.
FYI I use 4.0.0RC1

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845372#3845372

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845372


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - CMR with entity beans in different databases?

2004-08-17 Thread noleto
I having problem to delete and list records of a entity that have relation with a 
entity of another database. I'm using xdoclet to generating code. I specifield the 
correct database to both entity beans.

I'm using  Jboss 3.2.5, Sql Server 2000 with microsoft driver, xdoclet 

Relation (1:1) 
CoordenadorBean (SabiDS) --- CursoBean (LyceumDS). The default 
datasource is SabiDS.


stack trace:

org.jboss.tm.JBossTransactionRolledbackException: Load relation failed; 
CausedByException is:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 
'COORDENADOR'.; CausedByException is:
Load relation failed; CausedByException is:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 
'COORDENADOR'.; nested exception is: 
javax.ejb.EJBException: Load relation failed; CausedByException is:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 
'COORDENADOR'.; - nested throwable: (javax.ejb.EJBException: Load relation failed; 
CausedByException is:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 
'COORDENADOR'.)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845374#3845374

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845374


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Help: JBoss Stops Responding

2004-08-17 Thread objec
We're running JBoss3.2.3 with Jetty on Redhat 9.0 and suns 1.4.2_04 vm. On this 
appserver we have a simple jmx mbean that does direct socket communication with a 
vender for some crazy custom interface. We also have a servlet that we use to monitor 
the health of the jmx mbean. 
The problem we're facing is that periodically jboss completely stops responding. I 
can't get to my servlet, the jmx-console, nothing. The logs are of no help. We 
normally shutdown jboss with a Kill , which works to shut it down nicely. But when 
this problem occurs we cant shut it down this way; We have to use kill -9 .

Can anyone provide us any hints on where to start looking? This problem has caused us 
several outages a week and is really making us look bad.

.peter


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845373#3845373

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845373


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Library required for standalone/remote client

2004-08-17 Thread albert_steed
Thanks a lot for the reply.
Albert.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845375#3845375

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845375


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Cannot run JBoss 3.2.2 java.lang.ClassNotFoundException:

2004-08-17 Thread bibudh
Hi Darranl,
   i tried ur suggestion but that didn't work. And that's quite natural,
 since the folder 
D:\JewelBoxSDK1.4\JewelBox\products\jboss-3.2.2\bin\org\jboss\system\server (after 
renaming the folder) doesn't contain any class named ServerImpl. The 4 classes that it 
contains are NoAnnotationURLClassLoader,Server, ServerConfig and ServerLoader. then 
why does JBoss look for this class in this pkg? Is it a bug of JBoss 3.2.2? What 
version of JBoss do u work with?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845355#3845355

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845355


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - JSP wizard in JBoss-IDE

2004-08-17 Thread tfchen
Hi guys,

I am using JBoss-IDE plug-in for eclipse. and I created a simple servlet from the 
tutorial. 

Question. Is there a simular tutorial that can show me how to write a JSP page from 
using JBoss-IDE? I wrote a simple JSP using the wizard. but how do I run it on JBoss?

Greatly Appreciated.

Thanks,
Frank

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845321#3845321

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845321


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - General question about the twiddle and deployer scripts

2004-08-17 Thread balteo
Hello,
Can anyone tell me what the twiddle and deployer scripts are for and how to use 
them please?
Thanks in advance,
Julien.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845348#3845348

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845348


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: Working servlet suddenly starts getting HTTP error 500

2004-08-17 Thread DumpTruck
 My server (3.0.7) is running on an multiprocessor and previously would die after 
about 5 hrs.  I just tried the following GC options and it's been running for almost 
24hrs:

-server  -XX:+UseParallelGC -XX:+AggressiveHeap

  Seems that multiprocessors can push cause problems for the GC.  Nice article here:

   
http://java.sun.com/docs/hotspot/gc1.4.2/#4.1.When%20to%20Use%20the%20Throughput%20Collector|outline

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845340#3845340

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845340


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - How to access HA Singleton MBean clusterwide via EJB

2004-08-17 Thread twwwt
Hello!

I'm trying to access a HA Singleton MBean from session EJBs but experiencing a problem 
which really makes me ill.  First the EJB looks up the RMIAdaptor:


  | Properties properties = new Properties();
  | properties.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | properties.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces);
  | properties.put(Context.PROVIDER_URL, jnp://localhost:1100);
  | try
  | {
  | Context context = new InitialContext(properties);
  | Object o = context.lookup(jmx/invoker/RMIAdaptor);
  | mbeanServer = new RMIConnectorImpl((RMIAdaptor) o);
  | }
  | catch (NamingException e)
  | {
  | handleException(e);
  | }
  | 


Then I test wheter the singleton service is registered before invoking methodes on the 
service:


  | ObjectName name = new ObjectName(myDomain:service=MyService);
  | Boolean ok = mbeanServer.isRegistered(name);
  | if (ok)
  | {
  |Object result = mbeanServer.invoke(...);
  | }
  | 

The problem is on the nodes which are currently not master. As expected 
isRegistered() returns false and I can't invoke the MBean. On the node which is 
master everything works fine.
And now, most incomprehensible to me is that nearly the same code put in a simple test 
class works really ok:


  | String port = 1100;
  | String[] clusterMembers = {192.168.2.10, 192.168.2.25, 192.168.2.30};
  | ObjectName name = new ObjectName(myDomain:service=MyService);
  | RemoteMBeanServer server = null;
  | int i = 0;
  | while (i  hosts.length)
  | {
  | properties.put(Context.PROVIDER_URL, jnp:// + hosts + port);
  | Context context = new InitialContext(properties);
  | Object o = context.lookup(jmx/invoker/RMIAdaptor);
  | server = new RMIConnectorImpl((RMIAdaptor) o);
  | if (server.isRegistered(name))
  | {
  | System.out.println(i +   + clusterMembers +   + 
server.isRegistered(name));
  | System.out.println(server.getAttribute(name, MasterNode).toString());
  | }
  | i++;
  | }
  | 

For every loop the isRegistered() returns true and MasterNode is also true. The 
conclusion to me is that for the EJB I get somthing like a local RMIAdaptor with the 
HA singleton service available only on the master node. For the test class, started in 
another VM, I always get something like a global RMIAdaptor with the HA singleton 
service available.
Is that correct? Or do I completely mixed something up.

And most importantly: What is the safe way to access HA singleton MBean from EJBs.

(Please note that all the nodes really build ONE cluster, i.e. they find each other 
and I can see messages on the console telling me that too.)

Thanks a lot for your answers.

Oh, I forgot to say that I use V3.2.6RC1.

Thorsten

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845358#3845358

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845358


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Library required for standalone/remote client

2004-08-17 Thread javadin
jbossall-client.jar in the client directory should be sufficient.


Dinesh

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845354#3845354

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845354


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Not start Service on server start?

2004-08-17 Thread rgrzywinski
Is there a way to have a Service created but not started on server startup?  I am 
trying to use JBoss' Services in SOP and there are cases where services should be 
deployed (and created) but not started.

My research shows that this is not possible but I wanted a confirmation.

If not possible, it is the correct procedure to file an RFE 'bug' for a desired 
feature?  (And yes, I do understand the implications on dependent services.)  Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845346#3845346

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845346


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Clusters, authenticating proxy and dynamic certificate gener

2004-08-17 Thread AlexM
Hello,

I am building an application that will provide support services to client applications 
running on the users' machines. Communication between clients and the server is 
XML-RPC based and must be secure, i.e. use SSL for both client and server 
authentication. The server will have to be able to generate certificates for clients 
(it will be a certificate authority). The server will eventually work as a cluster of 
JBosses, but for now only one JBoss is used.

Question:
I've read that it is advisable to perform the SSL authentication in a separate web 
server (e.g. Apache) that forwards requests to the cluster. This makes sense to me, 
especially since I wouldn't want to replicate the SSL configuration in each app server 
in the cluster. However, the server has to be able to dynamically generate 
certificates and be able to accept them immediatelly in a subsequent client request. 
This means that the intermediary web server performing SSL authentication of clients 
must be dynamically supplied with a new client certificate that needs to be honoured. 
It doesn't help that the business logic performing the generation of client 
certificates will reside in app servers, i.e. not on the intermediary web server. Has 
anyone encountered this problem? How can I create this distributed architecture with 
the least pain, if at all?

Thanks,
Alex

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845377#3845377

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845377


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Configuring login in jboss

2004-08-17 Thread ltcmelo
How do i configure jboss for a login module with jaas?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845314#3845314

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845314


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Tutorial on J2EE using JBOSS, Eclipse and Lomboz : Chapter 9

2004-08-17 Thread jbosszone
Dear Vishal
 
I have cleared up to Create Web Client in Chapter 9.
 
For solving my troubles on the deploy.wsddfile, what I did are as follows;
 
1. From the thread info in 
http://forge.objectweb.org/forum/forum.php?thread_id=1087forum_id=360 ,
added jboss-j2ee.jar in JAVA build-path.
 
2. Also using  
http://www.jboss.org/index.html?module=bbop=viewtopict=36910postdays=0postorder=ascstart=270
 (javaexpert of 09.Jul.2004),
modified the deploy.wsdd,
from
  parameter name=homeInterfaceName 
value=au.com.tusc.session.StoreAccessLocalHome
  parameter name=remoteInterfaceName value=au.com.tusc.session.StoreAccessLocal
to
  parameter name=homeInterfaceName value=au.com.tusc.session.StoreAccessHome
  parameter name=remoteInterfaceName value=au.com.tusc.session.StoreAccess
 
  i.e. deleted 'Local'.
 
3. Furthermore, modified a line;
from
  parameter name=beanJndiName value=StoreAccessLocal
to
  parameter name=beanJndiName value=StoreAccessBean

i.e. changed from 'Local' to 'Bean'.
 
Best Regards,

jbosszone



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845324#3845324

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845324


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Configuring login in jboss

2004-08-17 Thread ltcmelo
Hi,
first i'd like to recall that my configuration is MySQL, JBoss 3.2.3 and i'm also 
using Struts (what wouldn't matter i think).

I got so far what seems to be the necessary configuration, but it's not working as 
expected. Then, i'll post some code to see if other can point my mistakes. I'd like to 
enphasize that i have never worked with jaas (i'm learning it at the moment) so i 
might me doing some pretty stupid things over here. 

In web.xml

  | ...
  | security-constraint
  | web-resource-collection
  | web-resource-nameaction/web-resource-name
  | descriptionDeclarative security tests/description
  | url-pattern*.do/url-pattern
  | http-methodGET/http-method
  | http-methodPOST/http-method
  | /web-resource-collection
  | 
  | auth-constraint
  | role-nameEcho/role-name
  | /auth-constraint
  | user-data-constraint
  | descriptionno description/description
  | transport-guaranteeNONE/transport-guarantee
  | /user-data-constraint
  | /security-constraint
  | login-config
  | auth-methodFORM/auth-method
  | form-login-config
  | form-login-page/logon.do/form-login-page 
  | form-error-page/logoff.do/form-error-page
  | /form-login-config
  | /login-config
  | security-role
  | descriptionA user allowed to invoke echo methods/description
  | role-nameEcho/role-name
  | /security-role
  | ... 
  | 

It does not matter if you don't know how struts work, the important thing is that the 
requests of the application will be redirected to this Servlet, wich responds for the 
uri /logon.do. 

  |  //I'm just getting the j_username and j_password from the login.jsp
  |  LogonreqForm logonreqForm = (LogonreqForm)form;
  |  String username = logonreqForm.getJ_username(); 
  |  String password = logonreqForm.getJ_password();
  | 
  |  SecurityAssociationHandler handler = new SecurityAssociationHandler(); 
  |  SimplePrincipal user = new SimplePrincipal(username); 
  |  handler.setSecurityInfo(user, password.toCharArray());
  |  LoginContext loginContext = new LoginContext(example2, 
(CallbackHandler)handler);
  |  loginContext.login();
  |  Subject subject = loginContext.getSubject();
  |  Set principals = subject.getPrincipals();
  |  principals.add(user);
  |  
  |  //return to a page confirming a sucessful login
  | 


The problem is that the Servlet that contains this code always authenticate the user, 
even when the inputs (j_username and j_password) are left blank!
Here is my auth.conf in jboss3.2.3/client

  | srp-client {
  |// Example client auth.conf for using the SRPLoginModule
  |org.jboss.security.srp.jaas.SRPLoginModule required
  |password-stacking=useFirstPass
  |principalClassName=org.jboss.security.SimplePrincipal
  |srpServerJndiName=SRPServerInterface
  |debug=true
  | ;
  | 
  |// jBoss LoginModule
  |org.jboss.security.ClientLoginModule  required
  |password-stacking=useFirstPass
  |;
  | 
  |// Put your login modules that need jBoss here
  | };
  | 
  | other {
  |// jBoss LoginModule
  |org.jboss.security.ClientLoginModule  required
  |;
  | 
  |// Put your login modules that need jBoss here
  | };
  |  
  | client-login
  | {
  | org.jboss.security.ClientLoginModule required;
  | };
  | 
  | example2
  | {
  | org.jboss.security.ClientLoginModule required;
  | org.jboss.security.auth.spi.DatabaseServerLoginModule required;
  | };
  | 
  | 

Here is jboss3.2.3/server/default/conf/auth.conf

  | // The JBoss server side JAAS login config file for the examples
  | 
  | client-login
  | {
  | org.jboss.security.ClientLoginModule required;
  | };
  | 
  | example2
  | {
  | org.jboss.security.ClientLoginModule required;
  | org.jboss.security.auth.spi.DatabaseServerLoginModule required
  | dsJndiName=java:/DefaultDS
  | principalsQuery=Select Password from Principals where PrincipalID =?
  | rolesQuery=Select Role 'Roles', RoleGroup 'RoleGroups' from Roles where 
PrincipalID =?
  | ;
  | };
  | 


Here's login-config.xml

  | ...
  | application-policy name=example2
  | authentication
  | login-module code=org.jboss.security.ClientLoginModule 
flag=required
  | /login-module
  | login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required
  | module-option 
name=managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=DefaultDS/module-option
  | module-option 
name=dsJndiNamejava:/DefaultDS/module-option
  | module-option name=principalsQuerySelect 

[JBoss-user] [Management, JMX/JBoss] - Re: MBeans dependence on Service lifecycle state?

2004-08-17 Thread genman

If you're not comfortable with how administrators handle your MBeans, create your own 
JSP wrapper or feel free modify the JMX console to suit your requirements.

I suggest you program your MBean to throw an exception if the service is not in the 
requisite state and an attribute is changed.  If you want to guard all attributes or 
create an intrinsic behavior, you can program your own XMBean wrapper.  There are some 
XMBean examples out there.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845378#3845378

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845378


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBeans dependence on Service lifecycle state?

2004-08-17 Thread [EMAIL PROTECTED]
My view is the following:

MBeans by themselves is just another tool that can be used in many different ways. 
JBoss used it primarily as a component integration/configuration bus, with the added 
benefit that some management would be possible.

Since MBean services can be implemented in many different ways, JBoss used the lowest 
common denominator as its paradigm for managing the deployment of services, i.e.:

CTOR - [attribute config] - [create] - [start] - [stop] - [destroy]

I am using brackets to indicate that those are actually optional steps, so create() 
will only be called if it is implemented.

(Note, actually this came before jsr77, and after the jmx spec itself, that did not 
specify at all a lifecycle for MBeans, except of the very basic/limited 
MBeanRegistration interface.)

JBoss only guarantees the correct sequence of lifecycle events, (for those MBean that 
extends JBoss classes, e.g. ServiceMBeanSupport, plus making sure that any specified 
dependencies will be satisfied.

It doesn't even say that you should be able to do: start-stop-start-stop

So a lot of services have been implemented by many different people and the only thing 
that we know for sure, is that the above lifecycle paradigm works for all services.

I'm not really aware of the reason the ServiceController will prevend failed services 
from being restarted, but following this logic it may be so that it enforces this 
simple paradigm which suggests that a failed service must be re-deployed.

Regarding the JSR77 lifecycle there is the following note in the jboss documentation:

Note that there is a J2EE management specification request (JSR 77, 
http://jcp.org/jsr/detail/77.jsp) that introduces a state management notion that 
includes a start/stop lifecycle notion. When this standard is finalized JBoss will 
likely support an extension of the JSR 77 based service lifecycle implementation. As 
of the 3.2.0 release we do support JSR77 management objects and most of the 
statistics, but the lifecycle operations are not supported.

So the start/stop notion (including transitions from fail) still needs to be done.

Regards
/Dimitris

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845380#3845380

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845380


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-08-17 Thread vashistvishal
Hi Anil,

Thanks for that, can u plz post that link to me on [EMAIL PROTECTED]

Vishal.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845381#3845381

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845381


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Obtaining client IP within server-side Interceptor

2004-08-17 Thread simon_ep
Hi,

I've been looking for a portable means of obtaining a calling client's IP address from 
within a server-side JBoss/EJB Interceptor, with no success. Currently, my system 
requires the client IP address so that the Interceptor can associate it with some 
limited monitoring information, which is then delivered elsewhere for further 
processing - the limited discussion I have found regarding this problem suggests a few 
possible routes, but the only viable one I've come across is to write my own Invoker 
code - is this correct? And if this is the case, is there anywhere I should start 
looking in order to go about it (unfortunately, I am relatively new to JBoss, and have 
been concentrating almost entirely on Interceptors).
I would also appreciate it if someone could tell me for sure if there is no portable 
solution to this problem, or perhaps if there is some other client-specific 
information that is more easily obtainable, then at least I could get back to the 
drawing board! :-)


Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845328#3845328

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845328


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: RAR inside an EAR

2004-08-17 Thread GreyDeath
connection-factories
  | no-tx-connection-factory
  | jndi-nameftisoft/jca/FileSystem/local/jndi-name
  | rar-nameftisoft.resource.adapters.rar/rar-name
  | connection-definitionjavax.resource.cci.ConnectionFactory/connection-definition
  | config-property name=EisType 
type=java.lang.StringFileSystem.local/config-property
  | config-property name=Prefix 
type=java.lang.StringFileSystem.local/config-property
  | config-property name=Properties 
type=java.lang.StringMETA-INF/Filesystem.local/config-property
  | /connection-factories

my -ds.xml file.

I looked into the log (after turning tracing on) and I found the following:

2004-08-17 14:48:12,102 DEBUG [org.jboss.management.j2ee.JCAResource] Could not create 
JSR-77 JCAResource: ftisoft/jca/FileSystem/local
java.lang.NullPointerException
at org.jboss.management.j2ee.JCAResource.getParentKeys(JCAResource.java:235)
at org.jboss.management.j2ee.J2EEManagedObject.(J2EEManagedObject.java:178)
at org.jboss.management.j2ee.J2EEResource.(J2EEResource.java:34)
at org.jboss.management.j2ee.JCAResource.(JCAResource.java:129)
at org.jboss.management.j2ee.JCAResource.create(JCAResource.java:68)
at 
org.jboss.management.j2ee.factory.JCAResourceFactory.create(JCAResourceFactory.java:79)


It seems the JCAResourceFactory doesn't find the RARDeployment service, because I 
referenced tar rar alone and didn't specify the ear file.

I changed the rar-name to ftisoft.app.ear#ftisoft.resource.adapters.rar and it worked.

I shouldn't need to reference my own ear file. that would be kind of cyclic loop.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845326#3845326

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845326


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-08-17 Thread janilsal
Vishal,
   have you looked at JBossIDE for eclipse?  There is a tutorial that describes 
building a J2EE app with it.  

Maybe you can create one tutorial version for JBossIDE also.

Anil

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845342#3845342

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845342


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-08-17 Thread balunasj
I too am having this issue.  Any hints?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845337#3845337

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845337


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available

2004-08-17 Thread evantoliopoulos
Hi All,

Is the nukes_filestat table still needed? I have noticed that the following create 
table statement is missing from setup.ddl.

CREATE TABLE `nukes`.`nuke_filestat`
  | ( `pn_vmid` varchar(16) NOT NULL,
  | `pn_id` bigint NOT NULL,
  | `pn_from` bigint NOT NULL,
  | `pn_length` bigint NOT NULL default '0',
  | `pn_view_count` bigint NOT NULL default '0',
  | PRIMARY KEY (`pn_vmid`,`pn_id`,`pn_from`) );

The reason I ask is that JBoss reported the following exception.

10:51:06,656 ERROR [html] Problem when saving snapshots
  | javax.ejb.CreateException: Error checking if entity exists:
  | java.sql.SQLException: Base table or view not found,  
  | message from server: Table 'nukes.nuke_filestat' doesn't exist

Cheers,
Evan.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845385#3845385

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845385


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBeans dependence on Service lifecycle state?

2004-08-17 Thread rgrzywinski
Dimitris, I appreciate your responses but you appear to be approaching all of my 
questions from the standpoint of a developer.  Development is one very small piece of 
the puzzle.  The much larger pieces are deployment and maintenance, specifically 
remote (via MBeans) deployment and maintenance.

The whole point in my enquiring about the paradigm whereby MBean attributes and 
operations interact with the service state is to determine how the MBeans contract is 
expressed and communicated.  You've essentially said:  you can code the service do 
what whatever you want via MBeans and some things are harder than others.  Fine but 
that's a development concern.  

Picture this:  you're an administrator or a remote client and you sit down in front of 
your management console in which there are dozens of services each with attributes and 
operations.  How do you know which bean uses which technique?  Which attributes can be 
called when the service is running?  Which can be called when the service is running 
and requires the service to be restarted?  Which have to have the service stopped and 
restarted?  How do I know if the service is stopped (yes, StateString identifies if 
the service is started, but how do I know if it's still running?)?

Is the contract expressed solely through the limited MBean method descriptions?  Are 
there known paradigms for throwing various exceptions based on state (say, by throwing 
IllegalStateException if an attribute can only be set if the service is stopped -- and 
I know that IllegalStateException can be thrown but I'm asking for the paradigm)?  

Now put all of this into perspective of my other question:  Restart a FAILED service? 
And your response:  by altering manually its deployment descriptor, saving, then the 
deployment scanner takes notice of this and re-deploys the MBean.  I'm betting on the 
fact that there is no effective way of communicating the contract so my next thought 
is:  so what happens when they get it wrong (i.e. a service fails).  You're telling me 
that my MBean administrators are dead in the water.

I hope that I'm better communicating my questions and concerns and I hope that I'm not 
causing friction in any way as it is not intended.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845312#3845312

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845312


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-08-17 Thread jbosszone
Dear Vishal
 
I have cleared up to Create Web Client in Chapter 9.
 
For solving my troubles on the deploy.wsddfile, what I did are as follows;
 
1. From the thread info in 
http://forge.objectweb.org/forum/forum.php?thread_id=1087forum_id=360 ,
added jboss-j2ee.jar in JAVA build-path.
 
2. Also using  
http://www.jboss.org/index.html?module=bbop=viewtopict=36910postdays=0postorder=ascstart=270
 (javaexpert of 09.Jul.2004),
modified the deploy.wsdd,
from
  parameter name=homeInterfaceName 
value=au.com.tusc.session.StoreAccessLocalHome
  parameter name=remoteInterfaceName value=au.com.tusc.session.StoreAccessLocal
to
  parameter name=homeInterfaceName value=au.com.tusc.session.StoreAccessHome
  parameter name=remoteInterfaceName value=au.com.tusc.session.StoreAccess
 
  i.e. deleted 'Local'.
 
3. Furthermore, modified a line;
from
  parameter name=beanJndiName value=StoreAccessLocal
to
  parameter name=beanJndiName value=StoreAccessBean

i.e. changed from 'Local' to 'Bean'.
 
Best Regards,
 
jbosszone


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845331#3845331

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845331


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: how to specified the application path in jboss-3.2.5

2004-08-17 Thread nischalsharma
tag is attribute 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845391#3845391

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845391


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Interrupted exception

2004-08-17 Thread oz_ko
Some addtional info. the Debug Log for org.jboss.mq:

anonymous wrote : DEBUG [org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] 
Extracting SpyConnectionFactory from reference
  | DEBUG [org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] The 
GenericConnectionFactory is: [EMAIL PROTECTED] 
connectionProperties={UIL_ADDRESS_KEY=169.254.25.129, UIL_CHUNKSIZE_KEY=100, 
UIL_TCPNODELAY_KEY=yes, ClientILService=org.jboss.mq.il.uil2.UILClientILService, 
UIL_PORT_KEY=8093, UIL_BUFFERSIZE_KEY=2048, PingPeriod=6}]
  | DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.parentTraceEnabled=true
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
  | DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
  | DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
  | INFO  [STDOUT] org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested 
throwable: (java.lang.InterruptedException)
  | INFO  [STDOUT]  at org.jboss.mq.Connection.authenticate(Connection.java:1161)
  | INFO  [STDOUT]  at org.jboss.mq.Connection.(Connection.java:248)
  | INFO  [STDOUT]  at org.jboss.mq.Connection.(Connection.java:325)
  | INFO  [STDOUT]  at org.jboss.mq.SpyConnection.(SpyConnection.java:66)
  | INFO  [STDOUT]  at 
org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87)
  | INFO  [STDOUT]  at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:124)
  | INFO  [STDOUT]  at 
au.com.service.DirectoryPollManager.sendMessage(DirectoryPollManager.java:74)
  | INFO  [STDOUT]  at 
au.com.service.DirectoryPollManager.fileSetFound(DirectoryPollManager.java:48)
  | INFO  [STDOUT]  at 
org.sadun.util.polling.DefaultListener.receive(DefaultListener.java:40)
  | INFO  [STDOUT]  at 
com.deltax.util.listener.SignalQueue.run(SignalQueue.java:60)
  | INFO  [STDOUT] Caused by: java.lang.InterruptedException
  | INFO  [STDOUT]  at 
EDU.oswego.cs.dl.util.concurrent.LinkedQueue.put(LinkedQueue.java:94)
  | INFO  [STDOUT]  at 
org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:239)
  | INFO  [STDOUT]  at 
org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:192)
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
  | DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
  | java.io.EOFException
  | at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
  | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
  | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:279)
  | at java.lang.Thread.run(Thread.java:534)
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
  | DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run
  | 

Oz

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845392#3845392

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845392


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBeans dependence on Service lifecycle state?

2004-08-17 Thread rgrzywinski
Thank you for your feedback and help.  The last quote was especially helpful.  I will 
reevaluate my needs and assess my next steps.

I know that many people see service in many different lights -- just following 
Avalon gives some insight.  I'm just curious as to how SOA with SOP used at the end 
points will really be able to thrive without a cohesive standard for service in this 
context.  This is a question that will plague us for some time to come.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845393#3845393

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845393


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2004-08-17 Thread vashistvishal
Hi 

People having issues with tutorial and can't resolve it from this thread can  also 
follow the lomboz forum on Objectweb site.

http://forge.objectweb.org/forum/forum.php?forum_id=360

Cheers
Vishal

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845395#3845395

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845395


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - ABSTRACT_SCHEMA problem with ejb-ql

2004-08-17 Thread harshi2003
hello,

In my application i want to implement a wild card search. for that i planned to use 
LIKE key word with ejb-ql. i have used the follwoing query (as instructed in the forum 
) i have overload the ejbql query with jboss-query.

following shows the queries i defined

* @ejb.finder signature = java.util.Collection findByConsigneeStatus(java.lang.String 
consigneeRef,java.lang.String orderStatus) 
 *  query = SELECT OBJECT(o) FROM Order o WHERE o.consigneeReference LIKE 
'?1%' AND o.workflowStatus = ?2
 *
 [EMAIL PROTECTED] signature = java.util.Collection 
findByConsigneeStatus(java.lang.String consigneeRef,java.lang.String orderStatus) 
 *  query = SELECT OBJECT(o) FROM Order o WHERE 
o.consigneeReference LIKE ?1 AND o.workflowStatus = ?2
 *

when i run the xdoclet it doesnot give any errors. but when i deploy the application i 
get following error.

Order at line 1, column 23.
Was expecting one of:
IN ...
ABSTRACT_SCHEMA ...
)]

could pls tell me what do i need to do to over com this problem.

i have checked the table names. there are similar as above. i am using jboss3.2.3 with 
mysql as the database.

thanks in advance.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845397#3845397

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845397


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Newbie: how do i run -c myconfig under windows

2004-08-17 Thread ryan48sg
The getting started manual, section 2.1.2 Server Configuration describes copying the 
default directory and renaming it to myconfig for testing.

It then says run -c myconfig.

It might be a pretty silly question, but I have no idea how to do this under windows 
(2K and XP).

Any pointers appreciated.
Thanks
Peter

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845398#3845398

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845398


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Connection failure during managed transaction

2004-08-17 Thread harshmahey
Im also facing the same problem.I am  trying to read data from flat file and insert 
the data into Database (db2) using entity beans -CMT.
At times the insert runs fine but at times it gives this error.
Also help on this would be great.

2004-08-17 22:13:37,806 WARN  [org.jboss.tm.TransactionImpl] Transaction 
TransactionImpl:XidImpl [FormatId=257, GlobalId=HMAHEY-D80//43, BranchQual=] timed 
out. status=STATUS_ACTIVE
2004-08-17 22:13:37,846 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException, 
causedBy:
org.jboss.util.NestedSQLException: Interrupted while requesting permit! Waited 10 ms, 
invocation time: 1092802417817; - nested throwable: (javax.resource.ResourceException: 
Interrupted while requesting permit! Waited 10 ms, invocation time: 1092802417817)
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:106)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:141)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:72)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:620)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:602)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:355)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:352)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:261)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:118)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:175)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:484)
at org.jboss.ejb.Container.invoke(Container.java:723)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)
at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)
at $Proxy3221.getCode(Unknown Source)
at com.taliantsoftware.bill.ejb.CptDTOFactory.getDTO(Unknown Source)
at com.taliantsoftware.bill.ejb.CptDTOFactory.retrieveCptInfo(Unknown Source)
at com.taliantsoftware.bill.ejb.CptDTOFactory.compareDTOs(Unknown Source)
at 
com.taliantsoftware.bill.ejb.BillBatchServiceBean.CreateAndUpdateCptCode(Unknown 
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:282)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:723)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)
at 

[JBoss-user] [Beginners Corner] - console to view global JNDI Namespace

2004-08-17 Thread carletoncourses
Is there a JNDI console for JBoss 3.2.5 
which can be used to view the global JNDI Namespace ?
If yes, how could I start it ?

-Bill

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845400#3845400

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845400


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user