[JBoss-dev] [JBoss IDE] - JBoss-IDE 1.3.0 Release (Repost)

2004-07-27 Thread letiemble
Hi,

JBoss-IDE 1.3.0 has been released.

Release notes:
http://sourceforge.net/project/shownotes.php?release_id=254457

Eclipse Update Site:
http://jboss.sourceforge.net/jbosside/updates

Download:
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=72248&release_id=254457

Install Guide :
http://prdownloads.sourceforge.net/jboss/Install-1.3.0.pdf?download

Tutorial Guide :
http://prdownloads.sourceforge.net/jboss/Tutorial-1.3.0.pdf?download

Tutorial Material :
http://prdownloads.sourceforge.net/jboss/Tutorial-1.3.0.zip?download

N.B.:
JBoss-IDE 1.3.0 is for Eclipse 2.1
JBoss-IDE 1.3.30 is for Eclipse 3.0


Laurent.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842796#3842796

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842796


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE] - evaluating jboss+ide trouble with cmp-cmr

2004-07-27 Thread aagmon
Hello all 
currently im suposed to evaluate jboss+ide for a project -
im deeply stuck with cmp and and cmp with relations(cmr) using the ide-
i wont get into details because i think the problem is more fundamental...
i didnt find documetation that is relevant for my problem or solid enough ,and nor do 
any of my colleagues managed to help me, 
i'l be VERY glad if any one can send/post an example project or files with db structure
considering the use of cmp with cmr(xdocs) or anything that could clear it up a bit 
please...

Alon.

using : red hat ,mysql,eclipse3.0 + jboss ide1.3 +jboss 3.2.3
[EMAIL PROTECTED]
for attachments :
[EMAIL PROTECTED]


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843338#3843338

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843338


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Feature Requests-998553 ] Allow database to throw Referential Integrity violation.

2004-07-27 Thread SourceForge.net
Feature Requests item #998553, was opened at 2004-07-27 08:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376688&aid=998553&group_id=22866

Category: JBossCMP
Group: v4.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Vikram Naik (vbnaik)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow database to throw Referential Integrity violation.

Initial Comment:
Currently Jboss nullifies the foreign key constraints 
before deleting a referenced entity, and Referential 
integrity violation is not thrown by database, when fk 
constraints are defined at database level.

Say for example:
 
An EJB A is being referenced by EJB B (M:1 CMR). So on 
deletion of EJB A we should get referential intergrity 
violation from database as B is referencing A. 

When we try to delete A invoking the remove() method,  
JBOSS AS first nulls out the reference of A in ejb B and 
then deletes it and as a result no referential integrity 
error from database is thrown. 

It is big pain to code in business logic for referential 
integrity, we would highly appreciate, if an option is 
provided in JBoss to turn off the this logic, if at all a 
developer wants database to handle the referntial 
integrity for the application.

Thanks,
Vikram Naik 

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376688&aid=998553&group_id=22866


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-964272 ] Output of is doubled

2004-07-27 Thread SourceForge.net
Bugs item #964272, was opened at 2004-06-01 15:37
Message generated for change (Comment added) made by vietj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=964272&group_id=22866

Category: Nukes
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Thomas Minor (drseltsam)
Assigned to: Nobody/Anonymous (nobody)
Summary: Output of  is doubled

Initial Comment:
Hi,

the output of 


is doubled.
This is at least right for the version used on jboss.org

So it might be a jboss.org problem, not a nukes one.


--

>Comment By: Julien Viet (vietj)
Date: 2004-07-27 10:52

Message:
Logged In: YES 
user_id=981899

housekeeping for old bugs

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=964272&group_id=22866


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-998575 ] Principal does not propagate under SSO on 3.2.6RC1

2004-07-27 Thread SourceForge.net
Bugs item #998575, was opened at 2004-07-27 11:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=998575&group_id=22866

Category: JBossSX
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Christer Grimsaeth (chrigri)
Assigned to: Nobody/Anonymous (nobody)
Summary: Principal does not propagate under SSO on 3.2.6RC1

Initial Comment:
Hi,

After talking to Scott Stark we have been asked to 
enter this bug report. (See http://jboss.org/index.html?
module=bb&op=viewtopic&t=52348)

To reproduce the bug, please do the following:

 - Use JAVA VM 1.4.2 (build 1.4.2_03-b02).
 - Use jboss-3.2.6RC1.zip
 - Enable Single Sign On in the file ...\jbossweb-
tomcat50.sar\server.xml
 - Add a new application-policy in the ...\conf\login-
config.xml:

   
  
   

 - Unzip the attached zip file to the deploy folder.

Then start a browser (IE) and do the following:
 - Hit http://localhost:8080/x1.jsp
 - Login with test/test
 - You should now see a response from the Hello bean.
 - Enter an new url in the broeser: 
http://localhost:8080/cnx2/x2.jsp
 - You will then get this exception:
java.lang.SecurityException: Authentication exception, 
principal=null

More info:
 - Both jsp have a security contex (principal), check the 
log. So it seams the SSO is working on the web layer, 
but that it does not propagate to the ejb layer.
 - The exact same code works on jboss-3.2.5 !!

--
Christer Grimsaeth
Tietoenator



--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=998575&group_id=22866


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-998575 ] Principal does not propagate under SSO on 3.2.6RC1

2004-07-27 Thread SourceForge.net
Bugs item #998575, was opened at 2004-07-27 11:01
Message generated for change (Settings changed) made by chrigri
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=998575&group_id=22866

Category: JBossSX
Group: v3.2
Status: Open
Resolution: None
>Priority: 6
Submitted By: Christer Grimsaeth (chrigri)
>Assigned to: Scott M Stark (starksm)
Summary: Principal does not propagate under SSO on 3.2.6RC1

Initial Comment:
Hi,

After talking to Scott Stark we have been asked to 
enter this bug report. (See http://jboss.org/index.html?
module=bb&op=viewtopic&t=52348)

To reproduce the bug, please do the following:

 - Use JAVA VM 1.4.2 (build 1.4.2_03-b02).
 - Use jboss-3.2.6RC1.zip
 - Enable Single Sign On in the file ...\jbossweb-
tomcat50.sar\server.xml
 - Add a new application-policy in the ...\conf\login-
config.xml:

   
  
   

 - Unzip the attached zip file to the deploy folder.

Then start a browser (IE) and do the following:
 - Hit http://localhost:8080/x1.jsp
 - Login with test/test
 - You should now see a response from the Hello bean.
 - Enter an new url in the broeser: 
http://localhost:8080/cnx2/x2.jsp
 - You will then get this exception:
java.lang.SecurityException: Authentication exception, 
principal=null

More info:
 - Both jsp have a security contex (principal), check the 
log. So it seams the SSO is working on the web layer, 
but that it does not propagate to the ejb layer.
 - The exact same code works on jboss-3.2.5 !!

--
Christer Grimsaeth
Tietoenator



--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=998575&group_id=22866


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-997458 ] addCatch("return;", ...) on CtConstructor causes VerifyError

2004-07-27 Thread SourceForge.net
Bugs item #997458, was opened at 2004-07-25 17:53
Message generated for change (Comment added) made by chiba
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=997458&group_id=22866

Category: Javassist
Group: CVS HEAD
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Brett Randall (brett_s_r)
Assigned to: Shigeru Chiba (chiba)
Summary: addCatch("return;", ...) on CtConstructor causes VerifyError

Initial Comment:
Adding a catch statement to a CtConstructor:

constructor.addCatch("return;", cp.get
("java.lang.RuntimeException"));

results in a VerifyError:

java.lang.VerifyError: (class: 
javassist/testclasses/SimpleThrows, method:  
signature: ()V) Constructor must call super() or this()

So it seems that the code modification is wrapping the 
call to super() as well as the Constructor body?

Is there a correct way of wrapping the body of a 
Constructor with a try-catch using addCatch()?

Attached are class and unit test case - comment out 
the above line to allow (assertion failure) execution.

";" and "" fail the same way.


--

>Comment By: Shigeru Chiba (chiba)
Date: 2004-07-27 18:47

Message:
Logged In: YES 
user_id=388745

fixed.  Thanks.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=997458&group_id=22866


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Getting started problems

2004-07-27 Thread analogueboy

If running inside JBoss, JBossCache is a MBean service. You can always get that 
instance (so in effect you only have one cache per server). 

I'm missing something fundamental here, how do u obtain a reference to the MBean? Is 
it static within the JVM?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843362#3843362

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843362


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-07-27 Thread kimptoc_mail

View results here -> http://tck2.jboss.com/cc/buildresults/jboss-3.2?log=log20040727083240Lbuild.168
BUILD COMPLETE - build.168Date of build: 07/27/2004 08:32:40Time to build: 11 minutes 29 secondsLast changed: 07/27/2004 05:41:56Last log entry: cache hit/miss statistics




    Unit Tests: (0)No Tests RunThis project doesn't have any tests 
 Modifications since last build: (5)1.1.2.2modifiedloubyanskyvaria/src/main/org/jboss/varia/stats/CacheListener.javacache hit/miss statistics1.1.2.2modifiedloubyanskyvaria/src/main/org/jboss/varia/stats/report/CacheReportGenerator.javacache hit/miss statistics1.1.2.5modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/Cache.javaconfigure TableCache using container-cache-conf1.1.2.21modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/EntityTable.javaconfigure TableCache using container-cache-conf1.1.2.8modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/TableCache.javaconfigure TableCache using container-cache-conf



[JBoss-dev] [ jboss-Patches-998694 ] Bootstrapping JBoss inside JUnit

2004-07-27 Thread SourceForge.net
Patches item #998694, was opened at 2004-07-27 13:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=998694&group_id=22866

Category: None
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: Steve Lewis (steveklewis)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bootstrapping JBoss inside JUnit

Initial Comment:
All the necessary details are here:

http://jboss.org/index.html?module=bb&op=viewtopic&t=52021

Basically I'm trying to create a MBeanServer inside a
JUnit test, so I can test stuff as if I'm inside the
JBoss container.

Instead of bringing Cactus to JBoss, I'm trying to
bring JBoss to JUnit.

It seems I'm having some issues with classloading.
Scott Stark offered to look at it, so that's why I'm
uploading this.

Thanks,
Steve

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=998694&group_id=22866


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Classloading Question

2004-07-27 Thread spiritualmechanic
Scott:

I created a patch on sourceforge with the sample test zipped up if you want to look at 
it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843371#3843371

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843371


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Classloading Question

2004-07-27 Thread spiritualmechanic
Scott:

Oops, you asked for bug report. I put a patch. Let me know if you need me to move it 
or something.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843373#3843373

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843373


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-998713 ] RC1/DR4 has problem with Durable file based persistence

2004-07-27 Thread SourceForge.net
Bugs item #998713, was opened at 2004-07-27 13:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=998713&group_id=22866

Category: JBossMQ
Group: v4.0
Status: Open
Resolution: None
Priority: 5
Submitted By: chen (chentest)
Assigned to: Nobody/Anonymous (nobody)
Summary: RC1/DR4 has problem with Durable file based persistence

Initial Comment:
OS: Windows XP
JDK: 1.4.2_04

If I use file based PM for durable JMS, I have two 
problems here:
 1) JBoss try to put ClientID/Name/TopicName/Selector 
together as directory name, it may exceeds OS 
limitation and  this  directory can not  be opened later 
on. Steps to reproduce:
  a) Open jbossmq-state.xml, add "DurableSubscription" 
into "DurableSubscriptions" which contains 
ClientID/Name/TopicName/Selector. 
 b) Run JBoss.
 c) Shutdown.
 d) Run JBoss again.
  

2) If you have undelievered message,  JBoss can not 
read it when restarting JBoss.
Steps to reproduce:
 a) Deploy a test program without receiving part.
 b) Create a msg so that it is saved to somewhere.
 c) Shutdown JBoss,
 d) restart JBoss, following error will show up:


09:37:45,962 ERROR [PersistenceManager] Starting 
failed jboss.mq:service=PersistenceManager
org.jboss.mq.SpyJMSException: Could not rebuild the 
queue from the queue's tranaction log.; - nested 
throwable: (java.lang.NullPointerException)
at 
org.jboss.mq.pm.file.MessageLog.throwJMSException 
MessageLog.java:275)
at 
org.jboss.mq.pm.file.MessageLog.restoreMessageLog.java
:112)
at 
org.jboss.mq.pm.file.PersistenceManager.restoreTransacti
ons(PersistenceManager.java:260)
at 
org.jboss.mq.pm.file.PersistenceManager.startService
(PersistenceManager.java:183)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStar
(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifec
ycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor3.invoke
(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke
(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.java:230)
at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke
(ServiceControl
ler.java:844)
at $Proxy18.start(Unknown Source)
at org.jboss.system.ServiceController.start
(ServiceController.java:369)
at org.jboss.system.ServiceController.start
(ServiceController.java:391)
at org.jboss.system.ServiceController.start
(ServiceController.java:391)
at sun.reflect.GeneratedMethodAccessor6.invoke
(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke
(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.
java:230)
at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start
(SARDeployer.java:260)
at org.jboss.deployment.MainDeployer.start
(MainDeployer.java:863)
at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:674)
at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:637)
at sun.reflect.GeneratedMethodAccessor10.invoke
(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke
(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.
java:230)
at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:176)
at $Proxy7.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.de
ploy(URLDeploymen
tScanner.java:304)
at 
org.jboss.deployment.scanner.UR

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

2004-07-27 Thread kimptoc_mail

View results here -> http://tck2.jboss.com/cc/buildresults/jboss-3.2?log=log20040727092422Lbuild.169
BUILD COMPLETE - build.169Date of build: 07/27/2004 09:24:22Time to build: 13 minutes 46 secondsLast changed: 07/27/2004 08:52:35Last log entry: added MinCapacity read-only managed attribute




    Unit Tests: (0)No Tests RunThis project doesn't have any tests 
 Modifications since last build: (2)1.1.2.9modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/TableCache.javaadded MinCapacity read-only managed attribute1.1.2.3modifiedloubyanskyvaria/src/resources/services/stats/statscollector-service.xmladded cache statistics report generator



[JBoss-dev] [ jboss-Bugs-998713 ] RC1/DR4 has problem with Durable file based persistence

2004-07-27 Thread SourceForge.net
Bugs item #998713, was opened at 2004-07-27 13:45
Message generated for change (Comment added) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=998713&group_id=22866

Category: JBossMQ
Group: v4.0
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: chen (chentest)
>Assigned to: Adrian Brock (ejort)
Summary: RC1/DR4 has problem with Durable file based persistence

Initial Comment:
OS: Windows XP
JDK: 1.4.2_04

If I use file based PM for durable JMS, I have two 
problems here:
 1) JBoss try to put ClientID/Name/TopicName/Selector 
together as directory name, it may exceeds OS 
limitation and  this  directory can not  be opened later 
on. Steps to reproduce:
  a) Open jbossmq-state.xml, add "DurableSubscription" 
into "DurableSubscriptions" which contains 
ClientID/Name/TopicName/Selector. 
 b) Run JBoss.
 c) Shutdown.
 d) Run JBoss again.
  

2) If you have undelievered message,  JBoss can not 
read it when restarting JBoss.
Steps to reproduce:
 a) Deploy a test program without receiving part.
 b) Create a msg so that it is saved to somewhere.
 c) Shutdown JBoss,
 d) restart JBoss, following error will show up:


09:37:45,962 ERROR [PersistenceManager] Starting 
failed jboss.mq:service=PersistenceManager
org.jboss.mq.SpyJMSException: Could not rebuild the 
queue from the queue's tranaction log.; - nested 
throwable: (java.lang.NullPointerException)
at 
org.jboss.mq.pm.file.MessageLog.throwJMSException 
MessageLog.java:275)
at 
org.jboss.mq.pm.file.MessageLog.restoreMessageLog.java
:112)
at 
org.jboss.mq.pm.file.PersistenceManager.restoreTransacti
ons(PersistenceManager.java:260)
at 
org.jboss.mq.pm.file.PersistenceManager.startService
(PersistenceManager.java:183)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStar
(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifec
ycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor3.invoke
(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke
(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.java:230)
at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke
(ServiceControl
ler.java:844)
at $Proxy18.start(Unknown Source)
at org.jboss.system.ServiceController.start
(ServiceController.java:369)
at org.jboss.system.ServiceController.start
(ServiceController.java:391)
at org.jboss.system.ServiceController.start
(ServiceController.java:391)
at sun.reflect.GeneratedMethodAccessor6.invoke
(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke
(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.
java:230)
at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start
(SARDeployer.java:260)
at org.jboss.deployment.MainDeployer.start
(MainDeployer.java:863)
at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:674)
at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:637)
at sun.reflect.GeneratedMethodAccessor10.invoke
(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke
(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.
java:230)
at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:176)
at $Proxy7.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.de
ploy(URLDeploymen
tScanner.java:304)
at 
org.jboss.deployment.scanner.URLDeploymentSc

[JBoss-dev] [QA (Test Suite)] - Re: Help - where does TESTS-TestSuites.xml come from?

2004-07-27 Thread [EMAIL PROTECTED]
This is generated by the tests-report-html target junitreport task.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843392#3843392

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843392


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss.net] - Generating service name from xdoclet

2004-07-27 Thread neilblue
Hello,

I am trying to get the demo HelloBean working with xdoclet. My bean has:

...
 * @ejb.bean name="Hello"
 * display-name="Hello World Bean"
 * type="Stateless"
 * view-type="remote"
 * jndi-name="Hello"
 * 
 * @ejb.transaction type="Required"
 * 
 * @jboss-net.web-service urn=ÂHello-urn 
...

and my ant task has:

...

...

but my web-service.xml only has:

...
  


...

with no service name. Am I doing something wrong here?

Thanks
Neil

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843395#3843395

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843395


---
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_idG21&alloc_id040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Removing node from cache causes problem (using LRUPolicy)

2004-07-27 Thread Uwen
I got the latest sources from CVS JBossCache1_0x and noticed following problem...

Our test is adding and removing nodes in the cache, now i got multiple times the 
effect that LRUAlgorithm is processing a event - where the node referenced by the 
event is no longer existing in cache.

A runtime exception is raised from some LRUAlgorithm-methods, other events in the 
queue are not processed, which causes overflow of queue, and blocking on TreeCache-API 
operations.

Additionally the runtime exception is not caught in try/catch -block of 
EvictionTimerTask.run(), which seems to cause the end of the EvictionTimerTask...

It should not be a problem to remove nodes in cache via TreeCache-API? 

-uwe



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843396#3843396

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843396


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss.net] - Re: Generating service name from xdoclet

2004-07-27 Thread neilblue
Got it! OK my post looked a mess, but I spotted the alternative double quotes that my 
editor was using :)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843397#3843397

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843397


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Removing node from cache causes problem (using LRUPolicy

2004-07-27 Thread bwang00
Best thing to troubleshoot from my end is if you can provide a junit test case. If it 
turns out to be a bug, we will incorporate it into our test suite as well. :-)

Thanks,

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843428#3843428

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843428


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - JBossCache over HTTP for rich client communication

2004-07-27 Thread StarmanRG
Hi,

Anyone interesed in discussing some architectural patterns?

I've read the forum, docs and tutorials but cannot determine if JBCache could be used 
in the following scenario. If this thread has already been covered, please forward me 
to it.

Our current application architecture predates J2EE. It uses an in-house app server. 
The rich client (Delphi) accesses the server over HTTP using an XML (SOAP like) 
in-house protocol. The client has direct access to our bean/entity like domain objects 
and to remote (web like) services using typesafe meta-data. The problem related to a 
possible JBossCache usage is concurency. Our current architecture offers no isolation 
and the client often works on stale data. Relational integrity is enforced at the 
entity and db level, but we can easily have situations where editions are lost because 
another user worked on the same data at the same time.

It's time we move to modern J2EE technologies. I've setup a tech showcase using MySQL 
(I've imported the IMDB movies database), JBoss 4.0, POJOs for the domain model (hand 
coded, no MiddleGen), Hibernate and ws4ee web services using stateless session beans. 
All good and well.

Now the rich client? It will use web services for some requests, but getting access to 
the POJOs and caching them on the client side is mandatory to attain the kind of user 
experience we need to offer (PIM with lots of really complex edition). I don't want to 
go again with the DTO pattern we used in the preceding architecture. Even if the DTOs 
could be generated (they were hand coded until now), I'd like to reduce the 
complexity. Introduce JBossCache...

So, can JBossCache be used on the client side and be part of the same cluster as the 
server? How would HTTP communication go? I'd like to use pessimistic 
locking/isolation. Would the performance be acceptable? Our domain model has users 
working mostly on their own data. There is a lot of quasi-read-only data shared 
between the clients, but editable data is rarely shared. But when it is, 
concurency/integrity should be ensured.

Has anyone used JBossCache in a similar fashion?

Thanx in advance for your inputs!

Starman

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843429#3843429

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843429


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-07-27 Thread kimptoc_mail

View results here -> http://tck2.jboss.com/cc/buildresults/jboss-3.2?log=log20040727164646Lbuild.170
BUILD COMPLETE - build.170Date of build: 07/27/2004 16:46:46Time to build: 13 minutes 1 secondLast changed: 07/27/2004 15:27:39Last log entry: Added RequestDumperValve comments




    Unit Tests: (0)No Tests RunThis project doesn't have any tests 
 Modifications since last build: (1)1.1.1.1.2.21modifiedssilverttomcat/src/resources/server-50.xmlAdded RequestDumperValve comments



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

2004-07-27 Thread kimptoc_mail

View results here -> http://tck2.jboss.com/cc/buildresults/jboss-3.2?log=log20040727181829Lbuild.171
BUILD COMPLETE - build.171Date of build: 07/27/2004 18:18:29Time to build: 12 minutes 7 secondsLast changed: 07/27/2004 17:31:47Last log entry: Add the jboss.net tests




    Unit Tests: (0)No Tests RunThis project doesn't have any tests 
 Modifications since last build: (2)1.165.2.156modifiedtdieslertestsuite/build.xmlAdd the jboss.net tests1.160.2.160modifiedsteveebersolebuild/build.xmlrenamed the service.xml for the hibernate deployer from har-service.xml to hibernate-deployer-service.xml



[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Co-ordinator

2004-07-27 Thread bisla
what setting should one make in the .xml in order to start one of the caches in the 
cluster as the co-ordinator.
I know by default the first cache in the cluster would start as the co-ordinator. 
Is there a way one could enforce this through the .xml file that the cache starts as 
the co-ordinator.
My last question about cacheloaders was not answered, hope i get lucky this time :)
any pointers would be appreciated.
thanks..


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843446#3843446

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843446


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE] - Re: Jboss-ide Version 1.3

2004-07-27 Thread rupshall
Thanks again for the great work.

Maybe the doc links on the main site http://www.jboss.org/products/jbosside should be 
updated too.

Robert


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843452#3843452

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843452


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Cluster Problem: Is there cache object size limits ?

2004-07-27 Thread hanson
I am testing the cluster function of TreeCache. 

steps
1)One cache is started up first, it will be put  about 10,000 objects. 
2)The other cache is start up. it  get data from the first cache

the testing source is 
/
import org.jboss.cache.*;
import java.io.*;

public class MyTreeCache {

public static void main(String[] args) {
   
 try{
 
TreeCache tree = new TreeCache(); 
PropertyConfigurator config = new PropertyConfigurator();   
config.configure(tree, "META-INF/replAsync-service.xml"); 
tree.start(); // kick start tree cache

   //the two line will be commented in second cache
   //since the second cache just "read" data from the first
long time = fillCache(tree,"a",10);
System.out.println("time =   " +time);


while(true)
{
  Thread.sleep(5000);
  Node node = tree.get(new Fqn( new Object[] { "a" } ));
  System.out.println("data size " +node.getDataKeys().size() );
}
   }
   catch(Exception e)
   {
e.printStackTrace();
}
}
   
  private static long fillCache(TreeCache cache, String regionRoot, int count) 
throws Exception {
long time = System.currentTimeMillis();
for (int i = 0; i < count; i++) {

String item = "item"+i;
CacheMessage value = new CacheMessage(i);
cache.put(new Fqn( new Object[] { regionRoot} ), item,  value);
}

return System.currentTimeMillis() - time;
  }
  
}

class CacheMessage implements Serializable 
{
public  int index;
public byte [] body;

CacheMessage(int index)
{
  body = new byte[100];
  this.index = index;
}

}
///

when  CacheMessage's member "body" szie is 100, the second cache will not able to get 
data from fisrt cache. 

This is the error message 
10:36:22,171 WARN  [AckReceiverWindow] discarded msg with seqno=159 (next msg to
 receive is 164)
10:36:22,171 WARN  [AckReceiverWindow] discarded msg with seqno=145 
.

but if the size is 50, it's ok

the cache config files replAsync-service.xml is copy from  etc/META-INF directory.  I 
adjust the log level to INFO. 

 is there any size limits in jboss TreeCache?




the tree config file




















jboss:service=Naming
jboss:service=TransactionManager


org.jboss.cache.DummyTransactionManagerLookup


REPEATABLE_READ


REPL_ASYNC


false


0


0


TreeCache-Cluster























200


true


5000


1


15000


6






   
   
   
   
   









View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843456#3843456

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843456


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossWeb] - How to connect to DB2 on SunBlade server with JBOSS on Win P

2004-07-27 Thread aaneelu
Someone Plz help me, URGENT: 

is there any thing wrong with this JSP code : 

file name: login1.jsp:

<%@ page language="java" import="java.sql.*" %>




<%java.sql.Connection conn=null;
try {

javax.naming.Context ctx = new javax.naming.InitialContext();
javax.sql.Datasource ds = (javax.sql.DataSource)ctx.lookup("jdbc/DB2DS");
conn = ds.getConnection();

java.sql.Satement stmt = conn.createStaement();
java.sql.ResultSet rs = stmt.executeQuery("Select * from login");

while (rs.next()){

out.println(rs.getString("LOGID"));
out.println(rs.getString("PWD"));

}

rs.close();
stmt.close();

}catch (Exception e){
System.out.println("Service Error: "+e);
}finally {
if (conn !=null)
try {
conn.close();
} catch (Exception ignore) {};
}
%>





when I run it, the errors page it throws is:

HTTP Status 500 - 



type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:52:
 cannot resolve symbol
symbol  : class Datasource 
location: package sql
javax.sql.Datasource ds = (javax.sql.DataSource)ctx.lookup("jdbc/DB2DS");
 ^


An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:55:
 cannot resolve symbol
symbol  : class Satement 
location: package sql
java.sql.Satement stmt = conn.createStaement();
^


An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:55:
 cannot resolve symbol
symbol  : method createStaement ()
location: interface java.sql.Connection
java.sql.Satement stmt = conn.createStaement();
 ^
3 errors




org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 
logs.




Apache Tomcat/5.0.26

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843458#3843458

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843458


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - DB2 with JBOSS

2004-07-27 Thread aaneelu
Someone Plz help me, URGENT: 

is there any thing wrong with this JSP code : 

file name: login1.jsp:

<%@ page language="java" import="java.sql.*" %>




<%java.sql.Connection conn=null;
try {

javax.naming.Context ctx = new javax.naming.InitialContext();
javax.sql.Datasource ds = (javax.sql.DataSource)ctx.lookup("jdbc/DB2DS");
conn = ds.getConnection();

java.sql.Satement stmt = conn.createStaement();
java.sql.ResultSet rs = stmt.executeQuery("Select * from login");

while (rs.next()){

out.println(rs.getString("LOGID"));
out.println(rs.getString("PWD"));

}

rs.close();
stmt.close();

}catch (Exception e){
System.out.println("Service Error: "+e);
}finally {
if (conn !=null)
try {
conn.close();
} catch (Exception ignore) {};
}
%>





when I run it, the errors page it throws is:

HTTP Status 500 - 



type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:52:
 cannot resolve symbol
symbol  : class Datasource 
location: package sql
javax.sql.Datasource ds = (javax.sql.DataSource)ctx.lookup("jdbc/DB2DS");
 ^


An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:55:
 cannot resolve symbol
symbol  : class Satement 
location: package sql
java.sql.Satement stmt = conn.createStaement();
^


An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:55:
 cannot resolve symbol
symbol  : method createStaement ()
location: interface java.sql.Connection
java.sql.Satement stmt = conn.createStaement();
 ^
3 errors




org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 
logs.




Apache Tomcat/5.0.26

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843459#3843459

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843459


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Tomcat] - DB2 with JBOSS

2004-07-27 Thread aaneelu
Someone Plz help me, URGENT: 

is there any thing wrong with this JSP code : 

file name: login1.jsp:

<%@ page language="java" import="java.sql.*" %>




<%java.sql.Connection conn=null;
try {

javax.naming.Context ctx = new javax.naming.InitialContext();
javax.sql.Datasource ds = (javax.sql.DataSource)ctx.lookup("jdbc/DB2DS");
conn = ds.getConnection();

java.sql.Satement stmt = conn.createStaement();
java.sql.ResultSet rs = stmt.executeQuery("Select * from login");

while (rs.next()){

out.println(rs.getString("LOGID"));
out.println(rs.getString("PWD"));

}

rs.close();
stmt.close();

}catch (Exception e){
System.out.println("Service Error: "+e);
}finally {
if (conn !=null)
try {
conn.close();
} catch (Exception ignore) {};
}
%>





when I run it, the errors page it throws is:

HTTP Status 500 - 



type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:52:
 cannot resolve symbol
symbol  : class Datasource 
location: package sql
javax.sql.Datasource ds = (javax.sql.DataSource)ctx.lookup("jdbc/DB2DS");
 ^


An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:55:
 cannot resolve symbol
symbol  : class Satement 
location: package sql
java.sql.Satement stmt = conn.createStaement();
^


An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:55:
 cannot resolve symbol
symbol  : method createStaement ()
location: interface java.sql.Connection
java.sql.Satement stmt = conn.createStaement();
 ^
3 errors




org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 
logs.




Apache Tomcat/5.0.26

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843460#3843460

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843460


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - DB2 with JBOSS

2004-07-27 Thread aaneelu
Someone Plz help me, URGENT: 

is there any thing wrong with this JSP code : 

file name: login1.jsp:

<%@ page language="java" import="java.sql.*" %>




<%java.sql.Connection conn=null;
try {

javax.naming.Context ctx = new javax.naming.InitialContext();
javax.sql.Datasource ds = (javax.sql.DataSource)ctx.lookup("jdbc/DB2DS");
conn = ds.getConnection();

java.sql.Satement stmt = conn.createStaement();
java.sql.ResultSet rs = stmt.executeQuery("Select * from login");

while (rs.next()){

out.println(rs.getString("LOGID"));
out.println(rs.getString("PWD"));

}

rs.close();
stmt.close();

}catch (Exception e){
System.out.println("Service Error: "+e);
}finally {
if (conn !=null)
try {
conn.close();
} catch (Exception ignore) {};
}
%>





when I run it, the errors page it throws is:

HTTP Status 500 - 



type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:52:
 cannot resolve symbol
symbol  : class Datasource 
location: package sql
javax.sql.Datasource ds = (javax.sql.DataSource)ctx.lookup("jdbc/DB2DS");
 ^


An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:55:
 cannot resolve symbol
symbol  : class Satement 
location: package sql
java.sql.Satement stmt = conn.createStaement();
^


An error occurred at line: 6 in the jsp file: /login1.jsp
Generated servlet error:
C:\Migrations\jboss-3.2.5\server\default\work\jboss.web\localhost\MyGreeting6\org\apache\jsp\login1_jsp.java:55:
 cannot resolve symbol
symbol  : method createStaement ()
location: interface java.sql.Connection
java.sql.Satement stmt = conn.createStaement();
 ^
3 errors




org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 
logs.




Apache Tomcat/5.0.26

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843462#3843462

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843462


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - dynamic class loading

2004-07-27 Thread samchiu
hi!
my servlet will generate a new class and compile it run-time, but I can't load this 
class even the  new class already in class path and web-inf/classes. I think that 
Jboss can't dynamic load class,cos the UnifiedLoaderRespository cached the snapshot 
class when JBoss startup,and never reload.  how should I do?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843464#3843464

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843464


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossWeb] - dynamic class loading

2004-07-27 Thread samchiu
hi! 
my servlet will generate a new class and compile it run-time, but I can't load this 
class even the new class already in class path and web-inf/classes. I think that Jboss 
can't dynamic load class,cos the UnifiedLoaderRespository cached the snapshot class 
when JBoss startup,and never reload. how should I do?

Thank you all in advance

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843466#3843466

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843466


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE] - Re: evaluating jboss+ide trouble with cmp-cmr

2004-07-27 Thread albertfang
I don't follow your problem very well. But I did use jboss-ide 1.2.430 with eclipse 
3.0, jboss-3.2.5 and jboss-3.2.3 on my Fedora core 2. It works fine. The point is 
about using XDoclet if you are new to it like I am. I got 4 tables using PostgreSQL 
7.4.3 and I set up cmp and cmr in my entity container EJB. They seemed to work. I can 
send you the source codes if you want them.

Albert Fang  

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843467#3843467

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843467


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-999156 ] MDB (possibly EJB) with can cause NPE upon create

2004-07-27 Thread SourceForge.net
Bugs item #999156, was opened at 2004-07-27 21:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=999156&group_id=22866

Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Elias Ross (genman)
Assigned to: Nobody/Anonymous (nobody)
Summary: MDB (possibly EJB) with  can cause NPE upon create

Initial Comment:

Log statements:

2004-07-27 21:23:55,875 INFO  [EARDeployer] Undeploying
J2EE application, destroy step:
file:/home/eross/src/servers/jboss-3.2.6/server/default/deploy/xxx.ear
2004-07-27 21:23:55,946 INFO  [EARDeployer] Init J2EE
application:
file:/home/eross/src/servers/jboss-3.2.6/server/default/deploy/xxx.ear
2004-07-27 21:23:56,090 ERROR [MessageDrivenContainer]
Initialization failed
jboss.j2ee:jndiName=local/MDB,service=EJB
java.lang.NullPointerException
at
org.jboss.ejb.Container.createService(Container.java:571)
at
org.jboss.ejb.MessageDrivenContainer.createService(MessageDrivenContainer.java:155)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219)
at 


Reproduction steps:

Create an .ear with a MDB which has a  on a
MBean in another .ear or .sar file.  Redeploy the
MBean-containing .ear.  Example jboss.xml:


  
  
  
 

MyMDB
queue/mymdb
example:service=MyService
   
  


Suggestion:

In
src/main/org/jboss/ejb/Container.java

line 625: do not NULL this.classLoader;

Possibly other members should not be nulled.  I'm
wondering why the extensive null-ing is even necessary.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=999156&group_id=22866


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE] - Re: evaluating jboss+ide trouble with cmp-cmr

2004-07-27 Thread aagmon
greate! 
i'd like that very much
[EMAIL PROTECTED] 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843469#3843469

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843469


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Cluster Problem: Is there cache object size limits ?

2004-07-27 Thread hanson

The problem is solved. the default "InitialStateRetrievalTimeout" is 5 secs. I change 
it to 500 secs.it's ok
but i got  new problem:  the time retrieving data between two cache is much longer 
than that inserting same data into local cache.
inserting data into cache locally is  about 8 secs. but retrieving data from another 
cache is 
 1) when "body" size is 100, retrieval time is about 30 secs.
 2) when "body" size is 500 , retrieval time is about 120 secs.

I distributed the  two cache to  different machine. The machine used  was 
single-processor Intel Pentium 4 1.8GHz, 256M RAM.

I  noticed that when second cache startup,  it's jvm memory usage is not increased 
unit retrieval's last serveral seconds.
I don't now the what the clustering is doing before it . when the retrieval is over, 
the fisrt jvm use almost 600M memory, i don't 
know whether memory leaks.





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843471#3843471

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843471


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossWeb] - Re: Automatic reloading of web classes (servlets, etc)

2004-07-27 Thread samchiu
hi 
I have the similar problem.
my servlet will generate a new class and compile it run-time, but I can't load this 
class even the new class already in class path and web-inf/classes. I think that Jboss 
can't dynamic load class,cos the UnifiedLoaderRespository cached the snapshot class 
when JBoss startup,and never reload. 

Thank you all in advance

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843477#3843477

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843477


---
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=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-07-27 Thread kimptoc_mail

View results here -> http://tck2.jboss.com/cc/buildresults/jboss-3.2?log=log20040728021428Lbuild.172
BUILD COMPLETE - build.172Date of build: 07/28/2004 02:14:28Time to build: 11 minutes 51 secondsLast changed: 07/28/2004 01:43:32Last log entry: Update to ant 1.6.2




    Unit Tests: (0)No Tests RunThis project doesn't have any tests 
 Modifications since last build: (16)1.1.2.2modifiedstarksmtools/lib/ant-javamail.jarUpdate to ant 1.6.21.1.2.2modifiedstarksmtools/lib/ant-junit.jarUpdate to ant 1.6.21.1.2.2modifiedstarksmtools/lib/ant-launcher.jarUpdate to ant 1.6.21.1.2.2modifiedstarksmtools/lib/ant-nodeps.jarUpdate to ant 1.6.21.1.2.2modifiedstarksmtools/lib/ant-trax.jarUpdate to ant 1.6.21.1.2.2modifiedstarksmtools/lib/ant-xslp.jarUpdate to ant 1.6.21.4.2.4modifiedstarksmtools/lib/ant.jarUpdate to ant 1.6.21.6.2.2modifiedstarksmtools/bin/antUpdate to ant 1.6.21.2.2.1modifiedstarksmtools/bin/lcp.batUpdate to ant 1.6.21.104.2.38modifiedloubyanskyserver/build.xmlgenerate MBean interface for PartitionedTableCache1.1.2.3modifiedstarksmtestsuite/ant161-build.xmlRemove the duplicate test target1.1.2.10modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/TableCache.javaadded partitioned cache to reduce contention1.1.2.6modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/Cache.javaadded partitioned cache to reduce contention1.1.2.22modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/EntityTable.javaadded partitioned cache to reduce contention1.1.2.1modifiedloubyanskyserver/src/main/org/jboss/ejb/plugins/cmp/jdbc2/schema/PartitionedTableCache.javaadded partitioned cache to reduce contention1.14.2.11modifiedstarksmtestsuite/src/main/org/jboss/test/JBossTestServices.javaLog some more info about how the deployment url is being resolved