[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Database trigger and Jboss Caching

2004-07-14 Thread bela
Updating/invalidating a cache in a (Java) trigger should be okay.

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Using JBossCache with WebLogic 8.1 and WebSphere 5.1

2004-07-14 Thread mplesser
Here you go, just the package name is left out, adjust as you see fit.
Code is tested using Orion, OC4J, JBoss and WebSphere 5.1

-markus


  | import org.apache.log4j.Logger;
  | import org.jboss.cache.TransactionManagerLookup;
  | import org.jboss.cache.transaction.DummyTransactionManager;
  | 
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | import javax.transaction.TransactionManager;
  | import java.lang.reflect.Method;
  | 
  | /**
  |  * A generic class that chooses the best-fit TransactionManager
  |  */
  | public class GenericTransactionManagerLookup implements TransactionManagerLookup {
  | 
  | /**
  |  * our logger
  |  */
  | private static Logger log = Logger.getLogger( 
GenericTransactionManagerLookup.class );
  | 
  | /**
  |  * lookups performed?
  |  */
  | private static boolean lookupDone = false;
  | 
  | /**
  |  * no lookup available?
  |  */
  | private static boolean lookupFailed = false;
  | 
  | /**
  |  * the (final) used TransactionManager
  |  */
  | private static TransactionManager tm = null;
  | 
  | /**
  |  * JNDI locations for TransactionManagers we know of
  |  */
  | private static String[][] knownJNDIManagers = {
  | {java:comp/UserTransaction, Resin, Orion, JOnAS (JOTM)},
  | {java:/TransactionManager, JBoss, JRun4},
  | {javax.transaction.TransactionManager, BEA WebLogic}
  | };
  | 
  | /**
  |  * WebSphere 5.1 TransactionManagerFactory
  |  */
  | private static final String WS_FACTORY_CLASS_5_1 = 
com.ibm.ws.Transaction.TransactionManagerFactory;
  | 
  | /**
  |  * WebSphere 5.0 TransactionManagerFactory
  |  */
  | private static final String WS_FACTORY_CLASS_5_0 = 
com.ibm.ejs.jts.jta.TransactionManagerFactory;
  | 
  | /**
  |  * WebSphere 4.0 TransactionManagerFactory
  |  */
  | private static final String WS_FACTORY_CLASS_4 = com.ibm.ejs.jts.jta.JTSXA;
  | 
  | /**
  |  * Get the systemwide used TransactionManager
  |  *
  |  * @return TransactionManager
  |  */
  | public TransactionManager getTransactionManager() {
  | if( !lookupDone )
  | doLookups();
  | if( tm != null )
  | return tm;
  | if( lookupFailed ) {
  | //fall back to a dummy from JBossCache
  | tm = DummyTransactionManager.getInstance();
  | log.warn( Falling back to DummyTransactionManager from 
JBossCache );
  | }
  | return tm;
  | }
  | 
  | 
  | /**
  |  * Try to figure out which TransactionManager to use
  |  */
  | private static void doLookups() {
  | if( lookupFailed )
  | return;
  | InitialContext ctx;
  | try {
  | ctx = new InitialContext();
  | } catch( NamingException e ) {
  | log.error( Could not create an initial JNDI context!, e );
  | lookupFailed = true;
  | return;
  | }
  | //probe jndi lookups first
  | Object jndiObject = null;
  | for( int i = 0; i  knownJNDIManagers.length; i++ ) {
  | try {
  | if( log.isDebugEnabled() ) log.debug( Trying to 
lookup TransactionManager for  + knownJNDIManagers[1] );
  | jndiObject = ctx.lookup( knownJNDIManagers[0] );
  | } catch( NamingException e ) {
  | log.info( Failed to perform a lookup for [ + 
knownJNDIManagers[0] +  ( + knownJNDIManagers[1] + )] );
  | }
  | if( jndiObject instanceof TransactionManager ) {
  | tm = (TransactionManager) jndiObject;
  | log.info( Found TransactionManager for  + 
knownJNDIManagers[1] );
  | return;
  | }
  | }
  | //try to find websphere lookups since we came here
  | Class clazz;
  | try {
  | log.debug( Trying WebSphere 5.1:  + WS_FACTORY_CLASS_5_1 );
  | clazz = Class.forName( WS_FACTORY_CLASS_5_1 );
  | log.info( Found WebSphere 5.1:  + WS_FACTORY_CLASS_5_1 );
  | } catch( ClassNotFoundException ex ) {
  | try {
  | log.debug( Trying WebSphere 5.0:  + 
WS_FACTORY_CLASS_5_0 );
  | clazz = Class.forName( WS_FACTORY_CLASS_5_0 );
  | log.info( Found WebSphere 5.0:  + 
WS_FACTORY_CLASS_5_0 );
  | } catch( ClassNotFoundException ex2 ) {
  | try {
  |

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - a question about advisable

2004-07-14 Thread davidxie
Hi,

I am writing my master thesis about AOP. But I found an error when I used advisable 
tag in the jboss-aop.xml.
I wish someone can do me some help.

Thanks


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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Using JBossCache with WebLogic 8.1 and WebSphere 5.1

2004-07-14 Thread bela
Thanks, I have checked it into jboss-head. I will backport it to jboss-3.2 once I 
release JBossCache 1.1.

I had to fix some index error, plus a method.invoke() args error. Could you check it 
out from the CVS and see whether it works with my changes ?

Also: if you could test whether this runs inside JBoss, then I'd replace 
JBossTransactionLookup with this one, making it the default TX manager lookup class.

Thanks,
Bela

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Using JBossCache with WebLogic 8.1 and WebSphere 5.1

2004-07-14 Thread bela
Thanks, I have checked it into jboss-head. I will backport it to jboss-3.2 once I 
release JBossCache 1.1.

I had to fix some index error, plus a method.invoke() args error. Could you check it 
out from the CVS and see whether it works with my changes ?

Also: if you could test whether this runs inside JBoss, then I'd replace 
JBossTransactionLookup with this one, making it the default TX manager lookup class.

Thanks,
Bela

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-990243 ] CMP does not handle NULL data in IMAGE fields (MS SQL)

2004-07-14 Thread SourceForge.net
Bugs item #990243, was opened at 2004-07-13 15:51
Message generated for change (Comment added) made by mikezzz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=990243group_id=22866

Category: JBossCMP
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Barker (mikezzz)
Assigned to: Alexey Loubyansky (loubyansky)
Summary: CMP does not handle NULL data in IMAGE fields (MS SQL)

Initial Comment:
If you use a IMAGE field on MS SQL Server 2000
(JDBCType=LONGVARBINARY), CMP will fail to create the
CMP entity with will the following exception:

16:28:31,597 ERROR [LogInterceptor] EJBException, causedBy:
java.sql.SQLException: Unable to load to deserialize
result: java.io.StreamCorruptedException: invalid
stream header
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.convertToObject(JDBCUtil.java:293)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.access$600(JDBCUtil.java:55)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil$7.readResult(JDBCUtil.java:645)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil$AbstractResultSetReader.get(JDBCUtil.java:402)
...

Simple work around is put an empty piece of data in the
offending IMAGE field within the ejbCreate method of
the entity bean (e.g. empty byte[] array).

Below is a patch that would possibly fix the issue (not
tested):

---
D:\cvs\jboss\jboss-3.2.5-src\server\src\main\org\jboss\ejb\plugins\cmp\jdbc\JDBCUtil.java
  Mon Apr 05 10:32:20 2004

+++ JDBCUtil.java   Tue Jul 13 16:40:18 2004
@@ -635,7 +635,7 @@
   {
  Object value = null;
  InputStream binaryData =
rs.getBinaryStream(index);
- if(binaryData != null)
+ if(binaryData != null  !rs.wasNull())
  {
 try
 {



--

Comment By: Michael Barker (mikezzz)
Date: 2004-07-14 09:00

Message:
Logged In: YES 
user_id=659570

I have attached a patch implemented, using the requested
ResultSetReader interface.  I could not find the specfied
interface in the 3.2.5 released source or the latest in
head, therefore I added the interface myself and made sure
it compiles.  I have not tested it though.  I also had to
change the visibility on some of the JDBCUtil static methods.

--

Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-07-13 19:05

Message:
Logged In: YES 
user_id=543482

Could you provide a patch as JDBCResultSetReader implementation?
http://www.jboss.org/wiki/Wiki.jsp?page=CMPParamSettersResultReaders

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=990243group_id=22866


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE] - about jboss IDE source code

2004-07-14 Thread tiansun
Hi, I am new to jboss IDE and to the open source world, but I do feel very interested 
in them. Please forgive me if my question is too stupid.

I've downloaded Jboss IDE 1.2.430 and made it work with eclipse 3.0. I would like to 
have a look at the source code of it, but cannot find it anywhere in this site. Is it  
still available? or I didn't find the right place?

thx.



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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-990243 ] CMP does not handle NULL data in IMAGE fields (MS SQL)

2004-07-14 Thread SourceForge.net
Bugs item #990243, was opened at 2004-07-13 18:51
Message generated for change (Comment added) made by loubyansky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=990243group_id=22866

Category: JBossCMP
Group: v3.2
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Michael Barker (mikezzz)
Assigned to: Alexey Loubyansky (loubyansky)
Summary: CMP does not handle NULL data in IMAGE fields (MS SQL)

Initial Comment:
If you use a IMAGE field on MS SQL Server 2000
(JDBCType=LONGVARBINARY), CMP will fail to create the
CMP entity with will the following exception:

16:28:31,597 ERROR [LogInterceptor] EJBException, causedBy:
java.sql.SQLException: Unable to load to deserialize
result: java.io.StreamCorruptedException: invalid
stream header
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.convertToObject(JDBCUtil.java:293)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.access$600(JDBCUtil.java:55)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil$7.readResult(JDBCUtil.java:645)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil$AbstractResultSetReader.get(JDBCUtil.java:402)
...

Simple work around is put an empty piece of data in the
offending IMAGE field within the ejbCreate method of
the entity bean (e.g. empty byte[] array).

Below is a patch that would possibly fix the issue (not
tested):

---
D:\cvs\jboss\jboss-3.2.5-src\server\src\main\org\jboss\ejb\plugins\cmp\jdbc\JDBCUtil.java
  Mon Apr 05 10:32:20 2004

+++ JDBCUtil.java   Tue Jul 13 16:40:18 2004
@@ -635,7 +635,7 @@
   {
  Object value = null;
  InputStream binaryData =
rs.getBinaryStream(index);
- if(binaryData != null)
+ if(binaryData != null  !rs.wasNull())
  {
 try
 {



--

Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-07-14 12:29

Message:
Logged In: YES 
user_id=543482

Fixed in 3.2.6RC1. Thanks.

--

Comment By: Michael Barker (mikezzz)
Date: 2004-07-14 12:00

Message:
Logged In: YES 
user_id=659570

I have attached a patch implemented, using the requested
ResultSetReader interface.  I could not find the specfied
interface in the 3.2.5 released source or the latest in
head, therefore I added the interface myself and made sure
it compiles.  I have not tested it though.  I also had to
change the visibility on some of the JDBCUtil static methods.

--

Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-07-13 22:05

Message:
Logged In: YES 
user_id=543482

Could you provide a patch as JDBCResultSetReader implementation?
http://www.jboss.org/wiki/Wiki.jsp?page=CMPParamSettersResultReaders

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=990243group_id=22866


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-3.2 build.139 Build Successful

2004-07-14 Thread kimptoc_mail

View results here -> http://tck2.jboss.com/cc/buildresults/jboss-3.2?log=log20040714054651Lbuild.139
BUILD COMPLETE-build.139Date of build:07/14/2004 05:46:51Time to build:16 minutes 56 secondsLast changed:07/14/2004 05:26:51Last log entry:javadocs, fix for [ 990243 ] CMP does not handle NULL data in IMAGE fields (MS SQL)




   Unit Tests: (0)No Tests RunThis project doesn't have any tests
Modifications since last build:(2)1.1.2.2modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCResultSetReader.javajavadocs, fix for [ 990243 ] CMP does not handle NULL data in IMAGE fields (MS SQL)1.1.2.2modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCParameterSetter.javajavadocs, fix for [ 990243 ] CMP does not handle NULL data in IMAGE fields (MS SQL)



[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - AOP Security+AOP Remoting

2004-07-14 Thread kado0002
I use AOP Security Service and it works. But when I use AOP Remoting with the security 
service I got a lot of problems.
Always when I want to execute a secured method of an object, which is called by the 
remote proxy object I get an Authentication exception.

Example:
jboss-aop.xml

  | annotation tag=security class=de.fhzw.portal.util.classes.UserSession
  | security-domainjava:/jaas/RoomAdministration/security-domain
  | method-permission
  | role-nameInternal/role-name
  | method
  | method-name*/method-name
  | /method
  | /method-permission
  | /annotation
class UserSession: public class UserSession{
  | 
  |   ...
  | 
  |   public String getUserName(String principal)
  |   {
  | return getUserReader().getUserName(principal);
  |   }
  |   ...
  |   }
Clientcode to get a remote Object:
  | UserSession user = (UserSession)
  |  
Remoting.createRemoteProxy(UserSession,UserSession.class,socket://localhost:5150);
  |   user.getUserName(someName);
  | 
 A User Session Object is created in a MBean- method on the Server. This method 
registers the UserSession object by the Dispatcher too.
  when the method is called I get an Authentication Exception!
  But when I execute the method in a MBean on the Server on the orginal object the 
example runs!
  
  What's my fault?

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-3.2 build.140 Build Successful

2004-07-14 Thread kimptoc_mail

View results here -> http://tck2.jboss.com/cc/buildresults/jboss-3.2?log=log20040714075656Lbuild.140
BUILD COMPLETE-build.140Date of build:07/14/2004 07:56:56Time to build:14 minutes 13 secondsLast changed:07/14/2004 07:26:27Last log entry:use 'and' instead of ','




   Unit Tests: (0)No Tests RunThis project doesn't have any tests
Modifications since last build:(1)1.1.2.8modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc2/bridge/JDBCCMRFieldBridge2.javause 'and' instead of ','



[JBoss-dev] [JBoss IDE] - Re: Jboss ide 1.2.4 question

2004-07-14 Thread slackjack
Update your xdoclet jars as specified in the Jboss IDE pdfs.

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: a question about advisable

2004-07-14 Thread Bill Burke
JBoss AOP has changed significantly since the DR2 release.

advisable is now prepare

http://www.jboss.org/wiki/Wiki.jsp?page=DynamicAOP

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-990882 ] destroying context with tomcat5 happens too late

2004-07-14 Thread SourceForge.net
Bugs item #990882, was opened at 2004-07-14 14:10
Message generated for change (Settings changed) made by ittay
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=990882group_id=22866

Category: JBossWeb
Group: v3.2
Status: Open
Resolution: None
Priority: 7
Submitted By: ittay dror (ittay)
Assigned to: Nobody/Anonymous (nobody)
Summary: destroying context with tomcat5 happens too late

Initial Comment:
Hi,

When I stop my JBoss (3.2.5), it first undeployes all beans and only 
then stops the web service. This causes two wrong behaviors:

1. if some client tries to load a page (or send any request to a 
servlet), after some beans are undeployed, and before the service is 
stopped, the servlet will start to work but because the beans were 
undeployed, will get strange errors (NPE etc.)

2. if i want to hook into the contextDestroyed, to perform some 
cleanup, it is too late, since beans have already been undeployed.




--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=990882group_id=22866


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Using JBossCache with WebLogic 8.1 and WebSphere 5.1

2004-07-14 Thread mplesser
You're welcome.

It took me some time to verify due to a deployment issue of my app on JBoss, but i can 
confirm now that it is working in the current jboss-head.
There is one issue though: The moment you modify a node during a transaction it is 
replicated across all members of the cluster. Once you roll it back the 'original' 
state is correctly restored but if you rely on a TreeCacheListener you do receive 
'nodeModified()' events which in my opinion you should not before the transaction is 
commited.
Oh and pretty pretty please initialize the logger correctly in TreeCache.java - helps 
a lot with debugging spam ;)

About the errors you mentioned - the sources were written for JDK 1.5 where you have a 
different interface for method.invoke().

And there still seems to be a bug in TreeCache where i get a NullPointerException on a 
code that works fine with the 'production' release:
java.lang.NullPointerException
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3080)
at org.jboss.cache.TreeCache.put(TreeCache.java:1649)
at org.jboss.cache.TreeCache.put(TreeCache.java:1632)

-markus


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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE] - Can't create struts-config.xml

2004-07-14 Thread tcross
Probably I'm doing something stupid, or not doing something smart, but I add
a strutsconfigxml task to my Web config's webdoclet task in the hopes of getting
a default struts-config.xml file, and I get the following error:

BUILD FAILED: /work/home/tcross/eclipse/workspace/DcnDb/xdoclet-build.xml:345: Can't 
create a strutsconfigxml element under webdoclet. Make sure the jar file containing 
the corresponding subtask class is on the classpath specified in the  that defined {2}.

There's a minimal servets.xml and servlet-mappings.xml in the mergedir, and all the 
struts 1.1 jar files are in the java build path. I can't find any doc anywhere telling 
me what I should be doing here. I've been programming for 15 years,
but I'm very new to all this j2ee/app server/webapps kind of stuff, so forgive me
if this is a really stupid question.

Tim
[EMAIL PROTECTED]


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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [IIOP on JBoss] - Problem calling EJB using RMI/IIOP while providing IOR for N

2004-07-14 Thread alan_burton
I'm trying to call a remote EJB deployed on JBoss 3.2.4 using RMI/IIOP. I reviewed the 
article located at http://www.jboss.org/developers/projects/jboss/IIOP. I was 
successful in calling the EJB using both corbaloc and IOR for the provider url when my 
client is compiled and run using JDK 1.4.2_04. However, when I use the IOR reference 
for the Corba Naming Service and compile and run my client using JDK 1.3.1_12 I get an 
org.omg.CORBA.INV_OBJREF exception. 

org.omg.CORBA.INV_OBJREF:   minor code: 1398079490  completed: No
at com.sun.corba.se.internal.core.CodeSetComponentInfo.read(CodeSetCompo
nentInfo.java:90)
at com.sun.corba.se.internal.core.Profile.(Profile.java:109)
at com.sun.corba.se.internal.core.IOR.getProfile(IOR.java:273)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStr
eam.java:590)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStr
eam.java:576)
at com.sun.corba.se.internal.corba.ORB.string_to_object(ORB.java:1079)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:274)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:213)
at com.sun.jndi.cosnaming.CNCtx.(CNCtx.java:68)
at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.ja
va:30)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
60)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241
)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.(InitialContext.java:193)
at com.eircom.ea.EAAccess.testNeon(EAAccess.java:180)
at com.eircom.ea.EAClient.main(EAClient.java:136)

I am tied to using the JDK 1.3.x as I am calling the EJB from within a java stored 
procedure on an Oracle 9.2 database. I don't want to use RMI/JRMP as this requires the 
JBoss client jars to be loaded into the database. I believe there is a known bug with 
JDK 1.3.x concerning code set negotiations. The article referenced above seems to 
indicate that it is possible to have IIOP clients access beans remotely deployed on 
JBoss using the Naming service IOR. Does anyone have any additional information that 
might help me resolve this issue or a workaround for the problem? 

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-990315 ] rollinglogger PersistenceManager fails to reset Tx from pool

2004-07-14 Thread SourceForge.net
Bugs item #990315, was opened at 2004-07-13 17:30
Message generated for change (Comment added) made by jdefelice
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=990315group_id=22866

Category: JBossMQ
Group: v3.2
Status: Closed
Resolution: Postponed
Priority: 5
Submitted By: James DeFelice (jdefelice)
Assigned to: Adrian Brock (ejort)
Summary: rollinglogger PersistenceManager fails to reset Tx from pool

Initial Comment:
In 3.2.4/3.2.5, 
org.jboss.mq.pm.rollinglogged.PersistenceManager.getT
x() reuses Tx objects from an internal pool.  When it 
pulls an old Tx from its pool, it resets the Tx's value 
(the tx id) but not its status.   This results 
in Transaction is not active exceptions being thrown 
at the end of a transaction when the attempt is made to 
commit the transaction.

I added a reset method to org.jboss.mq.pm.Tx:

   public void reset(long tx) {
  setValue(tx);
  this.status = OPEN;
   }

and changed the persistence manager code to:

   protected org.jboss.mq.pm.Tx getTx(long value)
   {
  if (txPool.isEmpty())
  {
 return new org.jboss.mq.pm.Tx(value);
  }
  else
  {
 org.jboss.mq.pm.Tx tx = (org.jboss.mq.pm.Tx)
txPool.remove(txPool.size() - 1);
 tx.reset(value);
 return tx;
  }
   }

this fixed my problem.  It would be nice to see this (or 
similar) change in the upcoming 3.2.6 release.


--

Comment By: James DeFelice (jdefelice)
Date: 2004-07-14 15:23

Message:
Logged In: YES 
user_id=44602

Where is it documented that the file PM's are not supported?

We bought the most recent documentation for JBoss, and it 
says nothing about not supporting file PM.

Would have been nice to know that from the start...  looks 
like we'll be switching over to DB PM.

--

Comment By: Adrian Brock (ejort)
Date: 2004-07-13 19:49

Message:
Logged In: YES 
user_id=9459

The file persistence managers are no longer supported
and will likely be dropped for jboss4

The rollinglogged version was never anything more than
experimental
anyway.

I am not prepared to test your patch unless somebody
with an interest in these persistence managers steps
forwards to make them enterprise strength.

i.e.
1) I want proper flushing the disk - see
java.io.FileDescriptor.sync()
2) Checksums to confirm the data in the file(s) is complete and
accurate
3) Proper testing, clean shutdowns are easy, test what happens
when you kick the power cable out of your machine while it is
writing the file.

A plausable alternative would be to write a persistence manager
based on SleepyCat.

If you are prepared to do any of this, please use the JBoss/JMS
development forum to volunteer.

Besides, Object pooling of this variety is rubbish and should be
removed, not fixed.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=990315group_id=22866


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: XML parsing problem with JBossCache

2004-07-14 Thread mounikap
Hi All, 

I am encountering same problem. Also bwang00, what do you mean by this The other 
question is whether the xml files run during standalone mode  

thanks in advance for the reply,
Mounika

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-3.2 build.141 Build Successful

2004-07-14 Thread kimptoc_mail

View results here -> http://tck2.jboss.com/cc/buildresults/jboss-3.2?log=log20040714112131Lbuild.141
BUILD COMPLETE-build.141Date of build:07/14/2004 11:21:31Time to build:12 minutes 37 secondsLast changed:07/14/2004 10:58:02Last log entry:return EJB[Local]Object instead of pk, always look into read-ahead first.




   Unit Tests: (0)No Tests RunThis project doesn't have any tests
Modifications since last build:(1)1.4.4.23modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCFindByPrimaryKeyQuery.javareturn EJB[Local]Object instead of pk, always look into read-ahead first.



[JBoss-dev] [JBossWeb] - How to map a URI to a directory on my filesystem

2004-07-14 Thread tsnowden552
Hello everyone,

I have been trying to figure out how to map incoming requests to 
http://localhost/imagebase to an exploded directory /home/imagebase which contains all 
of our images and related files.

I have been packaging imagebase into a WAR, which has worked fine, but we are in need 
of using it as described above. I have had no luck in finding anything in the 
documentation or forums thus far.

Thank you all in advance.

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-3.2 build.142 Build Successful

2004-07-14 Thread kimptoc_mail

View results here -> http://tck2.jboss.com/cc/buildresults/jboss-3.2?log=log20040714124548Lbuild.142
BUILD COMPLETE-build.142Date of build:07/14/2004 12:45:48Time to build:11 minutes 5 secondsLast changed:07/14/2004 12:25:48Last log entry:try to load CMR field from foreign key fields. if foreign keys are not loaded, load CMR with the load command.




   Unit Tests: (0)No Tests RunThis project doesn't have any tests
Modifications since last build:(1)1.43.2.70modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge/JDBCCMRFieldBridge.javatry to load CMR field from foreign key fields. if foreign keys are not loaded, load CMR with the load command.



[JBoss-dev] [JBoss IDE] - Re: about jboss IDE source code

2004-07-14 Thread darranl
http://sourceforge.net/projects/jboss

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Security on JBoss] - Re: JBOSS - Embedded TOMCAT JAAS Failure

2004-07-14 Thread auckyboy
Fixed. The credentials are associated with a thread

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

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


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE] - Re: Expanded Deploy does not trigger Jboss deployment scanne

2004-07-14 Thread letiemble
Hi,

JBoss is not monitoring all the files in the expanded package. If I remember well, 
only descriptors are monitored, so you have to touch the descriptors to trigger the 
re-deployment.

Laurent.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE] - Re: Can't create struts-config.xml

2004-07-14 Thread letiemble
Hi,

JBoss-IDE is not shipped with all the XDoclet modules. You have to add it by 
your-self. See FAQ to see how to upgrade XDoclet (it is the same process to add new 
modules).

http://www.jboss.org/wiki/Wiki.jsp?page=JBossIDEGeneralFAQ

Laurent.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE] - Re: about jboss IDE source code

2004-07-14 Thread letiemble
Hi,

See http://www.jboss.org/wiki/Wiki.jsp?page=JBossIDEBuild for details.

Laurent.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Build System] - Re: cvs build questions on jboss-head and jms

2004-07-14 Thread bisla
Scott,
I don't get xdoclet-xdoclet under the thirdpart directory...
Even when you browse the sources through the web you wouldn't find a xdoclet-xdoclet 
dir instead what u see is xdoclet/xdoclet .
Is there  something I'm missing.
thanks 


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: XML parsing problem with JBossCache

2004-07-14 Thread bwang00
What I meant was that can you run build.bat run.demo from the jboss-cache that you 
have downloaded? If you can, then tree cache is started correctly in standalone mode.

Hope this help,

-Ben

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Using JBossCache with WebLogic 8.1 and WebSphere 5.1

2004-07-14 Thread bela
mplesser wrote : 
  | There is one issue though: The moment you modify a node during a transaction it is 
replicated across all members of the cluster.
  | 
Not correct: I only replicate at the end of a TX.

anonymous wrote : 
  | Once you roll it back the 'original' state is correctly restored but if you rely 
on a TreeCacheListener you do receive 'nodeModified()' events which in my opinion you 
should not before the transaction is commited.
  | 

You're right. This is on the todo list.

anonymous wrote : 
  | Oh and pretty pretty please initialize the logger correctly in TreeCache.java - 
helps a lot with debugging spam ;)
  | 

What do you mean ? The super class MBeanSupport initializes the logger, looks correct 
to me.

anonymous wrote : 
  | About the errors you mentioned - the sources were written for JDK 1.5 where you 
have a different interface for method.invoke().
  | 

Does it work with my changes ?

anonymous wrote : 
  | And there still seems to be a bug in TreeCache where i get a NullPointerException 
on a code that works fine with the 'production' release:
  | java.lang.NullPointerException
  | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3080)
  | at org.jboss.cache.TreeCache.put(TreeCache.java:1649)
  | at org.jboss.cache.TreeCache.put(TreeCache.java:1632)
  | 
  | 

How do you arrive at this one ?

Bela

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - XA Messaging

2004-07-14 Thread pharaohh
Adrian et al.,

I'm publishing to a Topic during a transaction.  The basic gist of execution is as 
follows:

1. Client calls method on SLSB
2. Do some stuff
3. Save data to db
4. Publish JMS message to clients that data has been updated
5. Do a little cleanup
6. SLSB method returns (i.e. transaction commits).

Basically, the client is getting the JMS message that was published in step 4 and then 
immediately calls back to the server to get some data (part of which includes the data 
saved in step 3).

My problem is that when a remote VM client requests the data, the initial transaction 
apparently hasn't comitted yet, so their request doesn't produce the results they 
expect.

Apparently this happens _really_ fast (getting the message before the initial 
transaction commits).  I've found that if I delay the remove client request 1 second 
after receiving the JMS message, the data is available in the DB.

The publisher is using the UIL2XAConnectionFactory acquired from JNDI.

Since it is XA, I was hoping that the sends wouldn't happen until the transaction 
commits.  By the time the client received the message, the data _would_ be in the db, 
and the client could immediately request the data (instead of me waiting 1 second to 
do so).

I'm using JBoss 3.2.3 w/ Hibernate/Postgresql.  Is the fact that Postgres's JDBC 
driver is not XA causing me problems?

I am using the SpringFramework's transaction support to ensure that the the data isn't 
commited to the DB until the transaction commits (by using the UserTransaction in the 
SLSB).  This is working fine (i.e. data not available until transaction commits).

The message should only be published when the transaction commits.

Any ideas?

Lost,

Phar 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Pointcut expression for methods that take arrays as argument

2004-07-14 Thread rkadayam
I could'nt find it in the forums. Does anyone know how to frame a pointcut expression 
for a method such as

POJO.methodOne(Object[] array, CustomObject[] array2);

I need to fine grain every method in POJO so the generic stuff (..) will not work for 
me.

thanks
rajiv

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Pointcut expression for methods that take arrays as argu

2004-07-14 Thread Bill Burke
This should work


  | execution(void java.lang.Object[],com.pkg.CustomObject[])
  | 
  | 

Don't forget that any class, even if it is in java.lang package must be fully 
qualified.

Bill

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - Re: XA Messaging

2004-07-14 Thread [EMAIL PROTECTED]
Wrong forum. Use the user forum.

This post will be deleted.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossWeb] - org.jboss.web.localhost.Engine] SingleSignOnContextConfig[/b

2004-07-14 Thread cgardn2004
Project Duke's Bank Application 

selection 4.1.4 Package the WAR file. The ant War task also adds a WEB-INF directory 
...  Where is this directory?  Here is the error I get when I deploy the Duke's Bank 
Application. I would create one if I knew where to put it.

2004-07-14 10:25:11,515 INFO  [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy, 
ctxPath=/bank, 
warUrl=file:/C:/j2sdk1.4.1_05/jboss/jboss-3.2.3/server/default/tmp/deploy/tmp58762JBossDukesBank.ear-contents/web-client.war/
2004-07-14 10:25:12,218 ERROR [org.jboss.web.localhost.Engine] 
SingleSignOnContextConfig[/bank] Exception processing TLD at resource path 
/WEB-INF/struts-logic.tld
javax.servlet.ServletException: Exception processing TLD at resource path 
/WEB-INF/struts-logic.tld
at 
org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScanTld(SingleSignOnContextConfig.java:1171)
at 
org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScan(SingleSignOnContextConfig.java:1003)
at 
org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.start(SingleSignOnContextConfig.java:752)
at 
org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.lifecycleEvent(SingleSignOnContextConfig.java:255)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at 
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:549)
at 
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 

[JBoss-dev] [JBoss IDE] - Re: about jboss IDE source code

2004-07-14 Thread tiansun
I found it. I've been to that page, but I never used CVS, and didn't get correct 
meaning of snapshot. So missed it. 

Thanks.



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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development