RE: [JBoss-dev] Jboss.net undeployment -- false alarm

2003-02-06 Thread John Fawcett
Sorry, we had some unrelated transient config errors that I mistakenly
attributed to wsr undeployment. 
We are currently running against a jboss-head build -- is this feature
present in jboss3.2?

Thanks and apologies for the false alarm,
fawce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jung
, Dr. Christoph
Sent: Thursday, February 06, 2003 5:44 AM
To: '[EMAIL PROTECTED]'
Subject: AW: [JBoss-dev] Jboss.net undeployment


John,

Which version of jboss/Jboss.net do you use? What error do you get?

Jboss.net automatically builds an in-memory undeployment descriptor for
Axis from the web-service.xml (it is simply changing the root element
name) in order to tear down the web service on undeployment, so this
should work.

CGJ


-Ursprüngliche Nachricht-
Von: John Fawcett [mailto:[EMAIL PROTECTED]] 
Gesendet: Mittwoch, 5. Februar 2003 16:19
An: [EMAIL PROTECTED]
Betreff: [JBoss-dev] Jboss.net undeployment


Hi,

Currently, I have to restart jboss to undeploy/redeploy webservices.
Hot-deployment works fine, but can not be repeated without a restart. I
noticed in the axis doco that they use an undeployment descriptor. Would
something similar work for jboss-net? 

Thanks,
fawce



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
###

This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange. For more information, connect to http://www.F-Secure.com/


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] Jboss.net undeployment

2003-02-05 Thread John Fawcett
Hi,

Currently, I have to restart jboss to undeploy/redeploy webservices.
Hot-deployment works fine, but can not be repeated without a restart. I
noticed in the axis doco that they use an undeployment descriptor. Would
something similar work for jboss-net? 

Thanks,
fawce



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] JMS usability

2003-02-05 Thread John Fawcett
Your login credentials have a type-o should be john,needle.
Also, reference the queue or topic name without the queue/ prefix.

Lastly, I would consult the extensive examples in the testsuite under
jbossmq, since you are doing a lot of environment setup that has much
more convenient (and portable) access via the JMS objects themselves.

Also, I would make sure you understand the implications of using
john,needle account, since it is a durable subscriber with a
pre-configured id. You may get some undesirable behavior, since I
believe the point of the preconfigured id is to prevent multiple
concurrent logins.

Hope this is helpful (and accurate),
fawce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Stefan Puiu
Sent: Wednesday, February 05, 2003 11:24 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-dev] JMS usability


Hello,

I'm having real trouble here trying to make JBoss 3.0.4 compiled and run

with JDK 1.4.0 send messages to a remote queue (on another computer). 
I've asked on the JBoss-user list and received no answer, so I'm trying 
here too. I heard somebody say he's using JBossMQ on production machines

- maybe he can share this with us? We have purchased the JBoss manuals, 
but they aren't any good at explaining this.

Here is my original post:


Hello folks, I'm using JBoss 3.0.4 with the 1.4.0 JDK from Sun, compiled

from sources, with jbossmq as the JMS implementation. I'm running 
everything on a Mandrake Linux 9.0. The remote computer uses the same 
versions of JBoss and JDK.

I'm trying to send a message to a queue on a different computer here; 
trouble is, I can't find the exact steps to take to do that in the docs.

The approach I've been trying is using JNP to find the JNDI provider on 
the remote computer (jnp://192.168.192.252:1099), access the queue by 
it's name (say queue/B), and try to send it a message. But trouble is 
both lookup(ConnectionFactory) and lookup(queue/B) return null. When

an office mate tries to send a message to me, the message gets through, 
but the JBoss console says something about an exception: Cannot connect

to the ConnectionReceiver/Server. I'm using localhost:8080/jmx-console 
to verify that messages get through. I'm trying to send messages from a 
client application, not from an enterprise bean.

Here's what I do:
 env.put(Context.INITIAL_CONTEXT_FACTORY,
 org.jnp.interfaces.NamingContextFactory);  
 env.put(Context.PROVIDER_URL, jnp://merlin:1099);
 env.put(Context.URL_PKG_PREFIXES, 
org.jboss.naming:org.jnp.interfaces);
 env.put( Context.SECURITY_PRINCIPAL, john );
 env.put( Context.SECURITY_CREDENTIALS, neddle );
 InitialContext iniCtx = new InitialContext(env);
 System.out.println (New context:  + iniCtx +  env:  + env);
 QueueConnectionFactory qcf = (QueueConnectionFactory)
iniCtx.lookup(ConnectionFactory);
 if (qcf == null) {
System.out.println (OOPS);
//return ;
 }

What am I doing wrong? Any ideas?





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] Jboss 3.2 build error

2003-01-31 Thread John Fawcett
Hi,

Sorry for the rudimentary question, but I am getting a build error when
I try to run jboss/build/build.sh for the Jboss-3.2 branch from cvs.

I am sure this is some silly error on my part, but I am having trouble
spotting it.

Thanks,
fawce


Here is the error:

[/home/jfawcett/jboss-3.2/build]$ ./build.sh
build.sh: Executing: /home/jfawcett/jboss-3.2/tools/bin/ant -logger
org.apache.tools.ant.NoBannerLogger
Buildfile: build.xml

_buildmagic:init:
Trying to override old definition of task property

configure-modules:
Overriding previous definition of reference to jboss.naming.classpath

configure-project:
 [echo] groups:  default
 [echo] modules:
common,jmx,system,aop,cache,j2ee,naming,management,transaction,server,bl
ocks,console,security,messaging,connector,varia,cluster,jetty,
jboss.net,iiop

_buildmagic:modules:most:

 ==
 ==
 ==  Executing 'most' in module 'common'...
 ==
 ==

configure-modules:
Overriding previous definition of reference to jboss.naming.classpath

BUILD FAILED
file:C:/cygwin/home/jfawcett/jboss-3.2/common/build.xml:118: Could not
create task or type of type: jmxdoclet.

Ant could not find the task or a class this task relies upon.

This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
 - You have misspelt 'jmxdoclet'.
   Fix: check your spelling.
 - The task needs an external JAR file to execute
   and this is not found at the right place in the classpath.
   Fix: check the documentation for dependencies.
   Fix: declare the task.
 - The task is an Ant optional task and optional.jar is absent
   Fix: look for optional.jar in ANT_HOME/lib, download if needed
 - The task was not built into optional.jar as dependent
   libraries were not found at build time.
   Fix: look in the JAR to verify, then rebuild with the needed
   libraries, or download a release version from apache.org
 - The build file was written for a later version of Ant
   Fix: upgrade to at least the latest release version of Ant
 - The task is not an Ant core or optional task
   and needs to be declared using taskdef.

Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath

Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] JBossMQ

2003-01-14 Thread John Fawcett
Hi,

I want to make sure I understand the asynchronous delivery mechanism.
I've implemented my MessageConsumer to do the following:

Add self to Connection's message consumer list
While(consumer is open){
while(server is delivering synchronously){
Send Receive Requests until the Server is Drained
}
Wait for Asynch Delivery
}


Is this the proper pattern?
Thanks,
fawce



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Hiram Chirino
Sent: Friday, January 10, 2003 6:50 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-dev] JBossMQ



Your kinda right.  the loop is there for the case where the destination
is queue based (p2p and durable subs).  The polling happens when the
queue is full.  Now when the queue is not full (or in the pub sub case,
there is no queue), then the thread goes into asynch mode and it waits
for the message to get delivered async via the ClientIL.receive method.
I'll comment the code a little:

   // gets the next message in queue or registers us for asynch
delivery if none available.
 mes = session.connection.receive( subscription, 0 );
 if ( mes == null ) // should always be null for pub-sub case.
 {
  // start waiting for the message to get delivered asynch
waitingForMessage = true;
while ( ( messages.isEmpty()  !closed ) || (
!session.running ) )
{
   try
   {
// messages gets signaled once ClientIL.receive finishes
processing the message.
  messages.wait();
   } catch ( InterruptedException e )
   {
   }
}
if ( closed )
{
   waitingForMessage = false;
   break outer;
}
  // the message sent via ClientIL.receive should now be sitting
in messages
mes = ( SpyMessage )messages.removeFirst();
waitingForMessage = false;
}


I hope that helped!  I think the XIL is great idea!  We might even be
able to develop a c base API to access mq services (important in the
integration space).

Regards,
Hiram


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of 
 John Fawcett
 Sent: Thursday, January 09, 2003 8:09 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-dev] JBossMQ


 Hi,

 I am working on a new invocation layer (IL) for JbossMQ that encodes 
 all communication in Xml (XIL). I've got the IL pretty near 
 completion, and I am working on a C# jbossmq client.  I am trying to 
 develop the TopicSubsciber, which is an extension of MessageConsumer. 
 In reviewing the code in the jbossmq java sources, it looks to me like

 the client to a topic actually runs a loop sending receive requests to

 the server regularly.

 Is this really necessary? Once the connection has been established, 
 why can't the server just invoke the ClientIL.receive method (which 
 actually sends the message to the client) when a message arrives at 
 the destination? It looks to me like the current implementation is not

 truly asynchronous...
 What am I missing?

 Thanks,
 fawce


 -
 John Fawcett
 CTO, Tamale Software, LLC
 26 Fox Road
 Waltham, MA 02451



 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! 
 http://www.vasoftware.com 
 ___
 Jboss-development mailing list [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] JBossMQ, multiplexor test

2003-01-13 Thread John Fawcett

Hi,

I've isolated the hanging behavior to the writer threads in multiplexor
test. I re-wrote the tests to run over a socket and use a client and a
server. 

When I run the test with the server configured to:
Write on channel 1
Write on channel 2
Read from channel 1

And the client configured to:
Read from channel 1
Read from channel 2
Write to channel 1

The Server hangs part-way (lock up happens at an unpredictable time)
through the writing iterations.

I am running all of this on WinXP pro, with Jdk1.4.1 ...

Anyone have any ideas?

Thanks,
fawce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of John
Fawcett
Sent: Sunday, January 12, 2003 6:50 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-dev] JBossMQ, multiplexor test

Thanks for the explanation of the receive loop Hiram. 

I am trying to run the Multiplexor test included in
org.jboss.mq.il.uil.multiplexor. For some indiscernible reason, the test
is freezing after starting the first stream.  

I am trying to run the test under jdk1.4.1_01 -- are there any known
compatibility problems? Or can someone verify that the test runs ?

Thanks,
fawce






---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] JBossMQ, multiplexor test

2003-01-12 Thread John Fawcett
Thanks for the explanation of the receive loop Hiram. 

I am trying to run the Multiplexor test included in
org.jboss.mq.il.uil.multiplexor. For some indiscernible reason, the test
is freezing after starting the first stream.  

I am trying to run the test under jdk1.4.1_01 -- are there any known
compatibility problems? Or can someone verify that the test runs ?

Thanks,
fawce


-
John Fawcett
CTO, Tamale Software, LLC
26 Fox Road
Waltham, MA 02451

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Hiram Chirino
Sent: Friday, January 10, 2003 6:50 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-dev] JBossMQ


Your kinda right.  the loop is there for the case where the destination
is
queue based (p2p and durable subs).  The polling happens when the queue
is
full.  Now when the queue is not full (or in the pub sub case, there is
no
queue), then the thread goes into asynch mode and it waits for the
message
to get delivered async via the ClientIL.receive method.  I'll comment
the
code a little:

   // gets the next message in queue or registers us for asynch
delivery
if none available.
 mes = session.connection.receive( subscription, 0 );
 if ( mes == null ) // should always be null for pub-sub case.
 {
  // start waiting for the message to get delivered asynch
waitingForMessage = true;
while ( ( messages.isEmpty()  !closed ) || (
!session.running ) )
{
   try
   {
// messages gets signaled once ClientIL.receive finishes
processing the message.
  messages.wait();
   } catch ( InterruptedException e )
   {
   }
}
if ( closed )
{
   waitingForMessage = false;
   break outer;
}
  // the message sent via ClientIL.receive should now be sitting
in
messages
mes = ( SpyMessage )messages.removeFirst();
waitingForMessage = false;
}


I hope that helped!  I think the XIL is great idea!  We might even be
able
to develop a c base API to access mq services (important in the
integration
space).

Regards,
Hiram


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
John
 Fawcett
 Sent: Thursday, January 09, 2003 8:09 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-dev] JBossMQ


 Hi,

 I am working on a new invocation layer (IL) for JbossMQ that encodes
all
 communication in Xml (XIL). I've got the IL pretty near completion,
and
 I am working on a C# jbossmq client.  I am trying to develop the
 TopicSubsciber, which is an extension of MessageConsumer. In reviewing
 the code in the jbossmq java sources, it looks to me like the client
to
 a topic actually runs a loop sending receive requests to the server
 regularly.

 Is this really necessary? Once the connection has been established,
why
 can't the server just invoke the ClientIL.receive method (which
actually
 sends the message to the client) when a message arrives at the
 destination?
 It looks to me like the current implementation is not truly
 asynchronous...
 What am I missing?

 Thanks,
 fawce


 -
 John Fawcett
 CTO, Tamale Software, LLC
 26 Fox Road
 Waltham, MA 02451



 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
 http://www.vasoftware.com
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] JBossMQ

2003-01-09 Thread John Fawcett
Hi,

I am working on a new invocation layer (IL) for JbossMQ that encodes all
communication in Xml (XIL). I've got the IL pretty near completion, and
I am working on a C# jbossmq client.  I am trying to develop the
TopicSubsciber, which is an extension of MessageConsumer. In reviewing
the code in the jbossmq java sources, it looks to me like the client to
a topic actually runs a loop sending receive requests to the server
regularly. 

Is this really necessary? Once the connection has been established, why
can't the server just invoke the ClientIL.receive method (which actually
sends the message to the client) when a message arrives at the
destination?
It looks to me like the current implementation is not truly
asynchronous...
What am I missing?

Thanks,
fawce


-
John Fawcett
CTO, Tamale Software, LLC
26 Fox Road
Waltham, MA 02451



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] patch for axis1.1beta upgrade

2003-01-07 Thread John Fawcett

Hi, 

Below is a patch to upgrade the jboss sources to use axis1.1beta. 
The files modified are:
jboss.net/src/main/org/jboss/net/axis/server/AxisService.java
jboss.net/src/main/org/jboss/net/jmx/adaptor/AttributeSerializer.java
jboss.net/src/main/org/jboss/net/jmx/adaptor/ObjectNameSerializer.java

I've been using this modified source to run sessionbean-based
web-services, and it seems to be working fine for me.

hope this is useful,
fawce

---
../../../../jboss-head/jboss.net/src/main/org/jboss/net/axis/server/Axis
Service.java2003-01-07 12:30:37.0 -0500
+++
../../../../tamale_jboss4/jboss.net/src/main/org/jboss/net/axis/server/A
xisService.java 2002-12-15 10:37:09.0 -0500
@@ -5,7 +5,7 @@
  * See terms of license at gnu.org.
  */
 
-// $Id: AxisService.java,v 1.32 2003/01/07 17:30:37 cgjung Exp $
+// $Id: AxisService.java,v 1.2 2002/12/15 15:37:09 jfawcett Exp $
 
 package org.jboss.net.axis.server;
 
@@ -58,6 +58,7 @@
 import javax.naming.LinkRef;
 import javax.naming.Context;
 import javax.naming.NamingException;
+import javax.xml.parsers.ParserConfigurationException;
 
 import java.io.FilenameFilter;
 import java.io.File;
@@ -82,7 +83,7 @@
  * within JMX.
  * @created 27. September 2001
  * @author a href=mailto:[EMAIL PROTECTED];Christoph G.
Jung/a
- * @version $Revision: 1.32 $
+ * @version $Revision: 1.2 $
  */
 
 public class AxisService
@@ -409,52 +410,57 @@
  Document doc= (Document) sdi.metaData;
  // the original command
  Element root= doc.getDocumentElement();
+ // the deployment command document
+ Document deployDoc = null;
  
+ Document deployClientDoc = null;
  try{
-
-// the deployment command document
-Document deployDoc= XMLUtils.newDocument();
-// the client deployment command document
-Document deployClientDoc= XMLUtils.newDocument();
-// create command
-Element deploy=
-   deployDoc.createElementNS(root.getNamespaceURI(),
deployment);
-// create command
-Element deployClient=
-   deployClientDoc.createElementNS(
-  root.getNamespaceURI(),
- deployment);
-
-NamedNodeMap attributes= root.getAttributes();
-for (int count= 0; count  attributes.getLength(); count++)
{
-   Attr attribute= (Attr) attributes.item(count);
-   deploy.setAttributeNodeNS(
-  (Attr) deployDoc.importNode(attribute, true));
-   deployClient.setAttributeNodeNS(
-  (Attr) deployClientDoc.importNode(attribute, true));
-}
+ deployDoc= XMLUtils.newDocument();
+ // the client deployment command document
+  deployClientDoc= XMLUtils.newDocument();
+ } catch (ParserConfigurationException e){
+   e.printStackTrace();
+ }
+ 
+ // create command
+ Element deploy=
+deployDoc.createElementNS(root.getNamespaceURI(),
deployment);
+ // create command
+ Element deployClient=
+deployClientDoc.createElementNS(
+   root.getNamespaceURI(),
+   deployment);
 
-// and insert the nodes from the original document
-// and sort out the ejb-ref extensions
-NodeList children= root.getChildNodes();
-for (int count= 0; count  children.getLength(); count++) {
-   Node actNode= children.item(count);
-   if (actNode instanceof Element) {
-  Element actElement= (Element) actNode;
-
- if (actElement.getTagName().equals(ejb-ref)) {
-
- String refName=
-MetaData.getElementContent(
-   MetaData.getUniqueChild(
-  (Element) actNode,
- ejb-ref-name));
- String linkName=
-MetaData.getElementContent(
-   MetaData.getUniqueChild((Element) actNode,
ejb-link));
+ NamedNodeMap attributes= root.getAttributes();
+ for (int count= 0; count  attributes.getLength(); count++) {
+Attr attribute= (Attr) attributes.item(count);
+deploy.setAttributeNodeNS(
+   (Attr) deployDoc.importNode(attribute, true));
+deployClient.setAttributeNodeNS(
+   (Attr) deployClientDoc.importNode(attribute, true));
+ }
 
- log.warn(
-Web Service Deployment 
+ // and insert the nodes from the original document
+ // and sort out the ejb-ref extensions
+ NodeList children= root.getChildNodes();
+ for (int count= 0; count  children.getLength(); count++) {
+Node actNode= children.item(count);
+if (actNode instanceof Element) {
+

RE: [JBoss-dev] [AUTOMATED] (HEAD) JBoss compilation failed

2002-12-15 Thread John Fawcett
I had this same error on winxp, jdk1.4.1. Manually creating the
directory allowed the build to finish. 

I thought it had something to do with an empty directory in the cache
project -- is there supposed to be code in the cache/src/main directory?
There are only other empty directories on the cvsview pages at
sourceforge.

I am using tortoiseCVS to check out.
The log says it is using:
cvs -q update -d -P
CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot/jboss

I thought the -d flag for update was meant to force empty directory
check-outs, so I am still not sure what is going on.

Later,
fawce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Scott M Stark
Sent: Sunday, December 15, 2002 6:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] [AUTOMATED] (HEAD) JBoss compilation failed

A clean checkout of jboss-head is compiling for me under JDK1.4.1_01 on
win2k
and RedHat 8.0 and RedHat 7.3. The issue has to be a conflict with the
way the
JDK/Ant are running in your environment. Neither environment has
ANT_HOME
set. What does a build with the -verbose flag passed in show
immeadiately before
the failure?



Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: Chris Kimpton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 15, 2002 2:06 PM
Subject: Re: [JBoss-dev] [AUTOMATED] (HEAD) JBoss compilation failed


 Hi,
 
 This crap code is definitely from jboss-head (not jboss-all).
 
 It compiles fine with jdk1.3 - but fails with jdk1.4.
 
 Regards,
 Chris
 
 --- [EMAIL PROTECTED] wrote:
  
 
 =
  ==THIS IS AN AUTOMATED EMAIL - SEE http://jboss.kimptoc.net FOR
  DETAILS=
 
 =
  
  JAVA VERSION DETAILS
  java version 1.4.1_01
  Java(TM) 2 Runtime Environment, Standard Edition (build
  1.4.1_01-b01)
  Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
  
 
 =
  
  HERE ARE THE LAST 50 LINES OF THE LOG FILE
  
  [mkdir] Created dir:
  /home/jboss/jbossci/jboss-head/aop/output/lib
[jar] Building jar:
  /home/jboss/jbossci/jboss-head/aop/output/lib/jboss-aop.jar
  
   ==
   ==
   ==  Finished 'most' in module 'aop'.
   ==
   ==
  
  
  _module-aop-most:
   [copy] Copying 1 file to
  /home/jboss/jbossci/jboss-head/build/output/testbuild/lib
   [copy] Copying 1 file to
  /home/jboss/jbossci/jboss-head/build/output/testbuild/lib
  
   == 
   ==
   ==  Executing 'most' in module 'cache'...
   ==
   ==
  
  configure-modules:
  Overriding previous definition of reference to
  jboss.naming.classpath
  
  compile-mbean-sources:
  [mkdir] Created dir:
  /home/jboss/jbossci/jboss-head/cache/output/gen/classes
  /home/jboss/jbossci/jboss-head/cache/src/main not found.
  at
 

org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractF
ileSet.java:369)
  at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:61)
  at org.apache.tools.ant.Task.perform(Task.java:319)
  at org.apache.tools.ant.Target.execute(Target.java:309)
  at org.apache.tools.ant.Target.performTasks(Target.java:336)
  at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
  at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
  at
 

org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModul
es.java:329)
  at
 

org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(Exec
uteModules.java:342)
  at
 

org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteMod
ules.java:217)
  at
 
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
  at org.apache.tools.ant.Task.perform(Task.java:319)
  at org.apache.tools.ant.Target.execute(Target.java:309)
  at org.apache.tools.ant.Target.performTasks(Target.java:336)
  at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
  at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
  at org.apache.tools.ant.Main.runBuild(Main.java:610)
  at org.apache.tools.ant.Main.start(Main.java:196)
  at org.apache.tools.ant.Main.main(Main.java:235)
  
  BUILD FAILED
  file:/home/jboss/jbossci/jboss-head/cache/build.xml:117: Unexpected
  error
  
  Total time: 48 seconds



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This sf.net email is 

[JBoss-dev] helloejb web service error

2002-12-12 Thread John Fawcett
Hi,

I've been having trouble deploying one of my EJBs as a web service on
jboss-head, so I went back and tried the example from:

http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-ne
t-EJB-example.shtml

I get the same error for both my ejb/webservice and the hello example
when I try to browse to:
http://localhost:8080/jboss-net/servlet/AxisServlet

Any suggestions/thoughts/known bugs?

Thanks,
fawce

the error is:

javax.management.InstanceNotFoundException: :service=Counter is not
registered.
at
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.j
ava:524)
at
org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:55
8)
at
org.jboss.system.ServiceConfigurator.internalGetConfiguration(ServiceCon
figurator.java:550)
at
org.jboss.system.ServiceConfigurator.getConfiguration(ServiceConfigurato
r.java:541)
at
org.jboss.system.ServiceController.unregisterClass(ServiceController.jav
a:780)
at
org.jboss.system.ServiceController.handleNotification(ServiceController.
java:764)
at
javax.management.NotificationBroadcasterSupport.sendNotification(Notific
ationBroadcasterSupport.java:84)
at
org.jboss.mx.loading.UnifiedLoaderRepository2.removeCL(UnifiedLoaderRepo
sitory2.java:694)
at
org.jboss.mx.loading.UnifiedClassLoader2.unregister(UnifiedClassLoader2.
java:100)
at
org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:404)
at
org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:593)
at
org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:488)
at
org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:346)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.jav
a:143)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:111)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:161)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:159)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:547)
at
org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(Serv
erImpl.java:740)
at
org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java
:721)
at
org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:707)



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] jbossnet ant task

2002-12-11 Thread John Fawcett
Hi,

This has been discussed before, but does anyone know that
status/location of the jbossnet ant task? I can't seem to find it in
jboss-head/thirdparty/xdoclet-xdoclet/lib

Thanks,
fawce



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] jbossnet ant task

2002-12-11 Thread John Fawcett
Pardon my stupidity.
The appropriate jar built in the jboss.net module and after a build is
located at:

/jboss-head/jboss.net/output/lib/xdoclet-module-jboss-net.jar

Sorry for the remedial posts.
Later,
fawce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of John
Fawcett
Sent: Wednesday, December 11, 2002 1:24 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-dev] jbossnet ant task

Hi,

This has been discussed before, but does anyone know that
status/location of the jbossnet ant task? I can't seem to find it in
jboss-head/thirdparty/xdoclet-xdoclet/lib

Thanks,
fawce



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] jbossnet ant task

2002-12-11 Thread John Fawcett
Does the jboss.net testsuite currently build and run? Looks to me like
the build.xml is a generation behind, since it isn't using the new
buildmagic stuff in JBOSS_HOME/tools/lib/etc 

Anyone have an updated version? 
Thanks,
fawce


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Jason Essington
Sent: Wednesday, December 11, 2002 2:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] jbossnet ant task

or you could just skip the whole pain in the ass I just described and 
use that jar :-)

-jason

On Wednesday, December 11, 2002, at 11:57  AM, John Fawcett wrote:

 Pardon my stupidity.
 The appropriate jar built in the jboss.net module and after a build is
 located at:

 /jboss-head/jboss.net/output/lib/xdoclet-module-jboss-net.jar

 Sorry for the remedial posts.
 Later,
 fawce

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of 
 John
 Fawcett
 Sent: Wednesday, December 11, 2002 1:24 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-dev] jbossnet ant task

 Hi,

 This has been discussed before, but does anyone know that
 status/location of the jbossnet ant task? I can't seem to find it in
 jboss-head/thirdparty/xdoclet-xdoclet/lib

 Thanks,
 fawce



 ---
 This sf.net email is sponsored by:
 With Great Power, Comes Great Responsibility
 Learn to use your power at OSDN's High Performance Computing Channel
 http://hpc.devchannel.org/
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development



 ---
 This sf.net email is sponsored by:
 With Great Power, Comes Great Responsibility
 Learn to use your power at OSDN's High Performance Computing Channel
 http://hpc.devchannel.org/
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development


-jason



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development