Re: [JBoss-user] Access files in a war archive

2003-01-23 Thread Steven Haines
Here is an example that gets a URL to the file
"myxmlfile.xml" that is contained in the war's
WEB-INF/xml directory:

String xmlFile =
getServletContext().getResource("/WEB-INF/xml/myxmlfile.xml").toString();

Depending on your XML library you might be able to
open it directly passing this URL (JDOM has that
capability) otherwise you can get the URL and do a
little manipulation to get the absolute filename on
your system.. This strategy works on every app server
I have tested it on: JBoss, WebLogic, OAS, and
WebSphere..

--- Stephen Ting <[EMAIL PROTECTED]> wrote:
> Can anyone show me how access a xml file in .war
> archive through a
> relative path? 
>  
> I try using the following codes but in vain. 
> servlet.getServletContext().getRealPath(pathname)
> which return null;
> 
>
servlet.getServletContext().getResourceAsStream(pathname)
> also
> 
> Thanks
> 
> regards,
> 
> Stephen
> 
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


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



[JBoss-user] Sharing Principal HOWTO

2003-01-23 Thread kiuma
Hello,
is it possible to share Principal credentials between different war 
(without using a DB or similar)?
If yes, I hope so ;-P, can you explain to me how or give a link to read 
about?

Thx,
Kiuma



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


[JBoss-user] Access files in a war archive

2003-01-23 Thread Stephen Ting
Title: Message



Can anyone show me 
how access a xml file in .war archive through a relative path? 

 
I try using the 
following codes but in vain. 

servlet.getServletContext().getRealPath(pathname) which return null;
servlet.getServletContext().getResourceAsStream(pathname) 
also
Thanks
regards,
Stephen


[JBoss-user] ÃÀ¾° º£ÏʳÇ

2003-01-23 Thread wqlinxpkbc
Title: º£ÏʳÇ
´ËÓʼþÈç¸øÄú´øÀ´Âé·³ÇëÔ­ÁÂ




 
  
 
   
´óÁ¬ÃÀ¾°¾­¼ÃÐÅÏ¢×ÉѯÓÐÏÞ¹«Ë¾ 
 http://www.dlgogo.com 
µç»°£º0411-4632057  ´«Õ棺0411-4649538 
E-mail:[EMAIL PROTECTED] 
  
 
        
ÏÊ»îµÄº£²úÆ·£¬µçÄÔÀï¡° 
±Ä ¡±³öÀ´ 
 ---ÃÀ¾°ÉÌó£¬È«¹úµÚÒ»¼ÒÏʻ²úÆ·ÍøÂçÁãÊÛÅäËÍÉÌ 
 
×îÏÊ»îµÄº£²úÆ·ÔÚÄÄÀ 
¶¼ÔÚwww.dlgogo.com 
  
   
 
   
  
²¶ÀÌ--->±£ÏÊ»î--->µã»÷Êó±ê--->ÅäËÍ--->Æ·³¢ 
 µÚÒ»ÊÖʱ¼ä£¬µÚÒ»ÊÖÆ·³¢£¡  ¿ì¿ìµã»÷www.dlgogo.com 
 ÈÃÄú×ã²»³ö»§£¬º£Ïʵ½¿Ú£¡ 
  
  ´óÁ¬ÊÐɳºÓ¿ÚÇøÓÀƽ½Ö66-2-2-2 
   http://www.dlgogo.com 
Tel:0411-4632057  Fax:0411-4649538E-mail:[EMAIL PROTECTED] 
 




Re: [JBoss-user] Too Slow - Jetty/JBoss FAQ

2003-01-23 Thread Phuwarin . Supawarapong

I did, but got this error message.

09:12:15,430 WARN  [jbossweb] WARNING: Exception for
/ChartDemo/AreaChart.jsp
org.apache.jasper.JasperException: Unable to compile class for JSP
C:/DOCUME~1/Phuwarin/LOCALS~1/Temp/Jetty_0_0_0_0_8080__ChartDemo/AreaChart$jsp.j
ava:0:0:0:0: Semantic Error: You need to modify your classpath, sourcepath,
boot
classpath, and/or extdirs setup. Package "java/lang" could not be found in:
C:\jdk\lib\tools.jar
C:\jboss-3.0.4\bin\run.jar

Here is in the webdefault.xml at line 154.

  
jsp
org.apache.jasper.servlet.JspServlet

jspCompilerPlugin

org.apache.jasper.compiler.JikesJavaCompiler

0
  

When I switch back to use the original one, it has no problem.

  
jsp
org.apache.jasper.servlet.JspServlet
0
  

Here is the classpath env.

ClassPath=.;c:\jdk\lib\tools.jar;c:\jdk\jre\lib\rt.jar;c:\j2ee\lib\j2ee.jar

What I do wrong?

I use JDK 1.4, JBoss 3.0.4, Window2000

Thanks in advance,
Phuwarin



   
   
Jules Gosnell  
   
<[EMAIL PROTECTED]> To: 
[EMAIL PROTECTED]  
Sent by:cc:
   
[EMAIL PROTECTED]Subject: Re: [JBoss-user] 
Too Slow - Jetty/JBoss FAQ  
eforge.net 
   
No Phone Info Available
   
   
   
01/23/2003 02:57 PM
   
Please respond to jboss-user   
   
   
   
   
   




look in here (for Jetty) :

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEAD&content-type=text/vnd.viewcvs-markup


Jules




[EMAIL PROTECTED] wrote:
> I'm newbe, How to do that? Thanks in advance
>
> Herve Tchepannou
> <[EMAIL PROTECTED]>   To:
[EMAIL PROTECTED]
> Sent by:cc:
> [EMAIL PROTECTED]Subject: RE:
[JBoss-user] Too Slow
> eforge.net
> No Phone Info Available
>
> 01/23/2003 03:56 AM
> Please respond to jboss-user
>
>
>
>
>
>
>
>
> or you can change the default JSP compiler of Tomcat/Jetty to Jikes
> which is VERY VERY fast (you'll notice the difference)
>
>
>
>
>
> ---
> This SF.net email is sponsored by: Scholarships for Techies!
> Can't afford IT training? All 2003 ictp students receive scholarships.
> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
> www.ictp.com/training/sourceforge.asp
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





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



Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Rod Macpherson
Yep, had the correct paths and it did not work but that was 3.0.2 and there
were also issues finding jars in my WEB-INF/classes and WEB-INF/lib at that
time. Checked, double checked and repackaged several times but those jars
would only load if placed in [config]/lib or [config]/deploy. I will try
that again in a more recent build based on your reported success with it.

- Original Message -
From: "Fredrik Lindgren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 9:45 AM
Subject: Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR


> We are using class-path manifest lists in JBoss 3.0.4 and it works with
> no problems at all. You have to make sure that the paths in the list are
> correct relative paths to the jar files you need. This is working from
> both wars and ejb jars (we have some common utility classes in a jar
> that is used from both web apps and ejb modules)
>
> What is the latest version that you tested where it did not work?
>
> /Fredrik Lindgren
>
> Rod Macpherson wrote:
> > The class-path manifest list (originated as an applet enhancement) does
not
> > work and they are not alone: weblogic also fails to load those classes.
The
> > problem with the original post is that they state they have a jar in an
ear.
> > That's clearly insufficient. The jar must be declared in the
application.xml
> > based and it will have to be one of ejb, web or java components and each
of
> > those has its own descriptor as we all know. I agree that for production
you
> > cannot drop everything in  default/lib and for development you lose
> > hot-deploy by doing that. At the same time that is the perfect place for
> > shared libraries so in that sense it might be a solution to the original
> > problem. To isolate the jar to just one ear use a SAR file. The
class-path
> > manifest list simply does not work unless you have tried that in the new
> > version and found otherwise. An alternative is to package classes with
the
> > respective components so that each gets its own copy: not very elegant
but
> > effective.
> >
> > - Original Message -
> > From: "Andreas Mecky" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, January 23, 2003 5:22 AM
> > Subject: Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR
> >
> >
> >
> >>Hi,
> >>
> >>you have to put this in the MANIFEST.MF.
> >>If you use ANT to build your ear then you have to tell the jar-task to
> >>include
> >>your MANIFEST.MF. Otherwise ANT will create a default one for you.
> >>The MANIFEST.MF got to look like this:
> >>Manifest-Version: 1.0
> >>Created-By: myself
> >>Class-Path: myadditional1.jar myadditional2.jar
> >>This assumes that these 2 jar files are in the main directory.
> >>
> >>If you use any other tool then make sure that the MANIFEST.MF is in the
> >>META-INF subdirectory.
> >>
> >>HTH
> >>
> >>Andreas
> >>
> >>
> >>- Original Message -
> >>From: "Eric Jain" <[EMAIL PROTECTED]>
> >>To: <[EMAIL PROTECTED]>
> >>Cc: "otisg" <[EMAIL PROTECTED]>
> >>Sent: Thursday, January 23, 2003 12:48 PM
> >>Subject: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR
> >>
> >>
> >>
> My EAR contains a WAR and a JAR.
> >>>
> >>>I'm stuck with the same problem. The procedure outlined in the faq
works
> >>>fine for accessing classes from my ejb's, but it does not work for
> >>
> > war's.
> >
> >>>While putting all libraries in default/lib does solve the problem, this
> >>
> > is
> >
> >>>not a real solution as I need to be able to package all resources into
a
> >>>single deployable unit. I believe this would be a common requirement,
> >>
> > but
> >
> >>I
> >>
> >>>may be wrong.
> >>>
> >>>So, is this a bug or a feature? If it is a feature, what is the
rational
> >>>behind it? Or is there in fact a solution to the problem I have
> >>
> >>overlooked?
> >>
> >>>
> the latter actually gave
> additional errors at boot time
> >>>
> >>>You didn't have any ejb's in the jar you put in the lib directory, did
> >>
> >>you?
> >>
> >>>
> >>>--
> >>>Eric Jain
> >>>
> >>>
> >>>
> >>>---
> >>>This SF.NET email is sponsored by:
> >>>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> >>>http://www.vasoftware.com
> >>>___
> >>>JBoss-user mailing list
> >>>[EMAIL PROTECTED]
> >>>https://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
> >>__
> >>
> >>Gesendet von Yahoo! Mail - http://mail.yahoo.de
> >>Bis zu 100 MB Speicher bei http://premiummail.yahoo.de
> >>
> >>
> >>---
> >>This SF.NET email is sponsored by:
> >>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> >>http://www.vasoftware.com
> >>___
> >>JBoss-user mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/

Re: [JBoss-user] Results Print in Wrong Order?

2003-01-23 Thread Hunter Hillegas
Disregard.

By setting the return type as a Set, I was getting some funky results. Using
a Collection and explicitly adding DISTINCT and ORDER BY in JBossQL fixed me
up.

> From: Hunter Hillegas <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Thu, 23 Jan 2003 14:48:44 -0800
> To: JBoss User <[EMAIL PROTECTED]>
> Subject: [JBoss-user] Results Print in Wrong Order?
> 
> Can anyone think of a scenario where the results output to a JSP page would
> be in a different order than the order of the database query that generated
> them? I'm running around on this and can't figure it out.
> 
> I have a 2.0 CMP Entity with an ejbSelect method. It pulls out all the
> distinct "vendor" fields from all the records. Vendor is a string. I have
> the ejbSelect overriden in jbosscmp-jdbc.xml to add an ORDER BY clause. All
> is well so far.
> 
> When I execute the code, I see the query sent to the database. It is correct
> and I have verified through the database manager that it generates the
> result set I would like.
> 
> The problem is when I iterate through the vector containing the results on a
> JSP page, they are in no order whatsoever. Certainly not the order that I
> would expect from the query...
> 
> The weird thing is that I know that JBoss is generating the correct query...
> But the results are in what looks like random order...
> 
> Ugghhh...
> 
> Hunter
> 
> 
> 
> ---
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



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



Re: Re: [JBoss-user] JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread otisg
Hello,

A bunch of different replies were in this
thread, so let me follow up on them all
together in this one email.

1) My application.xml contains:



wgen.war
/wgen




wgen.jar


This wgen.jar is included in a) EAR and b)
WAR (which is in EAR)

2) the EAR file looks like this:

 0 Thu Jan 23 18:22:28 EST 2003 META-INF/
53 Thu Jan 23 18:22:28 EST 2003
META-INF/MANIFEST.MF
1684386 Thu Jan 23 18:22:18 EST 2003 wgen.jar
9901252 Thu Jan 23 18:22:28 EST 2003 wgen.war
   576 Thu Jan 23 17:19:48 EST 2003
META-INF/application.xml

The wgen.war file also contains wgen.jar
(the same one).  Stupid, no?  I assume I
should eliminate the JAR from the WAR, no?

3) wgen.jar contains ALL of my classes
(EJBs, Servlets, business logic classes -
all .class files are in this JAR).

4) wgen.war contains this JAR (wgen.jar) +
web.xml, JSPs, images, etc.

5) I do have MANIFEST.MF in META-INF in the
top level of wgen-web.ear, as shown above.
   I also tried setting Class-Path in there.
 I used the full path to the wgen.jar which
I placed in the /server//lib
directory.
   That did not work because JBoss first
loaded my EJBs from that wgen.jar, and then
it tried deploying my EAR which contained
the same wgen.jar with the same EJBs - so
JBoss complained that the EJBs were already
loaded - makes sense.

So what should I do?

It seems to me that I should:

1) Split my JAR into 2 JARs:
   a) a JAR with EJBs (e.g. wgen-ejb.jar)
   b) a JAR with all other Java classes
(e.g. wgen-lib.jar)

2) Include only the JAR with EJBs in root of EAR

3) Ensure that application.xml in EAR refers
to the JAR with EJBs, e.g.:


wgen-ejb.jar


4) Put the JAR with other classes in
server//lib/

5) Remove any JARs from the WAR.

Am I missing something?
Should I still add Class-Path info to EAR's
MANIFEST.MF?
May I use the full path?
If my JBoss is in /usr/local/jboss and my
JAR is in
/usr/local/jboss/server/default/lib
directory, what should Class-Path be set to?


Thank you,
Otis


 On Wed, 22 Jan 2003, Rod Macpherson
([EMAIL PROTECTED]) wrote:

> In general you cannot put a jar in an ear
and get those classes loaded. The
> application.xml file is responsible for
dictating what gets loaded. If you
> add a  element to application.xml
for that jar file it might work but
> that really should be used for proper
applications versus libraries. Putting
> the jar in deploy is not reliable because
you have a chicken-egg problem.
> Putting it in your
[jboss]/server/[config]/lib directory will
definitely
> work as will the base lib directory. If
that fails check your
> [jboss]/server/[config]/tmp directory
because it is probably still sitting
> there. I could swear that if you move from
deploy to lib it does not always
> undeploy but then that's not something you
will do very often. That will
> definitely work but a SAR might be more
appropriate than ...[config]/lib.
> 
> - Original Message -
> From: "otisg" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 22, 2003 2:51 PM
> Subject: [JBoss-user] JB 3.0.4, loading
classes from JAR in EAR
> 
> 
> > Hello,
> >
> > I am trying to use JBoss 3.0.4 and have a
> > small problem.
> > My EAR contains a WAR and a JAR.  I am
> > deploying this EAR to server/default/deploy.
> >
> > In my application I try to load a class from
> > the JAR by doing Class.forName( > here>).
> >
> > This works fine under JBoss 2.4.4, but
> > doesn't seem to work under JBoss 3.0.4.
> >
> > I suspect that it's something to do with the
> > new Classloader in JBoss3.
> > I have checked the FAQ and this entry looked
> > promising:
> >
http://jboss.org/faq.jsp#FAQ-BEANDEV-NORMALJARS
> > However, that didn't seem to solve the
problem.
> >
> > I tried sticking the JAR in /lib
> > and server/default/lib/ but nether of those
> > two worked, and the latter actually gave
> > additional errors at boot time
> >
(javax.management.InstanceAlreadyExistsException:
> >
jboss.j2ee:jndiName=wgen/CommandShell,service=EJB
> > already registered.)
> >
> > The error actually may be a good sign,
> > signaling that JBoss did pick up the JAR,
> > but that I need to repackage
thingsmaybe?
> >
> >
> > Any help would be very appreciated.
> > Thanks,
> > Otis
> >
> >
> >
> >

> > Get your own "800" number
> > Voicemail, fax, email, and a lot more
> > http://www.ureach.com/reg/tag
> >
> >
> >
---
> > This SF.net email is sponsored by:
Scholarships for Techies!
> > Can't afford IT training? All 2003 ictp
students receive scholarships.
> > Get hands-on training in Microsoft,
Cisco, Sun, Linux/UNIX, and more.
> > www.ictp.com/training/sourceforge.asp
> >
___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> 
> 
> 
>
--

[JBoss-user] Results Print in Wrong Order?

2003-01-23 Thread Hunter Hillegas
Can anyone think of a scenario where the results output to a JSP page would
be in a different order than the order of the database query that generated
them? I'm running around on this and can't figure it out.

I have a 2.0 CMP Entity with an ejbSelect method. It pulls out all the
distinct "vendor" fields from all the records. Vendor is a string. I have
the ejbSelect overriden in jbosscmp-jdbc.xml to add an ORDER BY clause. All
is well so far.

When I execute the code, I see the query sent to the database. It is correct
and I have verified through the database manager that it generates the
result set I would like.

The problem is when I iterate through the vector containing the results on a
JSP page, they are in no order whatsoever. Certainly not the order that I
would expect from the query...

The weird thing is that I know that JBoss is generating the correct query...
But the results are in what looks like random order...

Ugghhh...

Hunter



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



Re: [JBoss-user] Re: Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Fredrik Lindgren
Did you include a META-INF/MANIFEST.MF with the class path in the war or 
 were you counting on the class path given in the ejb jar's manifest?

We have been successful in using library classes in the ear from 
servlets by having the following structure in the war

[war root]
   |- WEB-INF
   |  |- web.xml
   |- META-INF
  |- MANIFEST.MF {including class path to lib/dependency.jar}

our typical ear structure:
[ear root]
   |- ejbmodule1.jar
   |- webapp.war
   |- lib
  |- dependency.jar

I don't know if the configuration of classloading for jbossweb affects 
this. We've been using the default setting in JBoss 3.0.4

/Fredrik Lindgren

Eric Jain wrote:
What is the latest version that you tested where it did not work?



3.2-RC2

No problem with loading classes from ejb jars, either. Furthermore, servlets
in the war have access to all classes that are loaded by the ejbs, but won't
load any classes from jars in the ear lib directory on their own, it seems.


--
Eric Jain



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






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



Re: [JBoss-user] context

2003-01-23 Thread Gabriel Pinto

If you knows the web context, then you knows the ear context. So, you 
should be able to lookup names inside the ear context?

Is it possible?

Thanks

Gabriel

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






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



Re: [JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec compliance

2003-01-23 Thread Scott M Stark



JBoss 4.0 will have the timer service. This is not 
due out until June 2003.
 
Scott StarkChief Technology 
OfficerJBoss Group, LLC

  - Original Message - 
  From: 
  Brian McSweeney 
  To: jboss 
  Sent: Thursday, January 23, 2003 6:05 
  AM
  Subject: [JBoss-user] 
  javax.ejb.TimerService and J2EE 1.4 spec compliance
  
  Hi everyone,
  I'm new to this list, but I've tried to find 
  information about JBoss support for the new 
  javax.ejb.TimerService and general information on 
  j2ee 1.4 spec compliance. 
  I've read a similar request for information about 
  this in the following 
  discussion: 
   
  http://www.jboss.org/forums/thread.jsp?forum=91&thread=24893
   
  However the resulting discussion left me feeling 
  that either information on this subject 
  wasn't well known, or worse - it didn't seem that 
  important!
   
  I want to be able to write my applications and 
  have the basic functionality and services to 
  work across all ejb servers. The xpetstore is an 
  example of an implementation of this. I 
  want to be able to do this for the 
  javax.ejb.TimerService and furthermore, for web services 
  too.
   
  Can anyone tell me when/if this is going to be 
  possible with JBoss? I know that someone at 
  some stage was working on it, but is it 
  available... can anyone shed some light?
  thanks very much,
  Brian
   
  For information on the javax.ejb.TimerService in 
  j2ee 1.4 spec see the two following links:
  http://www2.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column4
  http://java.sun.com/j2ee/1.4/docs/tutorial/doc/NewEJB4.html
   


Re: [JBoss-user] context

2003-01-23 Thread Scott M Stark
No, JNDI names must be unique within a server instance. How is the
client going to choose which EJB to lookup if they are not?


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message -
From: "Gabriel Pinto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 5:57 AM
Subject: [JBoss-user] context



Is it possible to isolate an ear context from others?

For example, can I have beans with the same name and same jndi names, but
in different applications?

Thanks

Gabriel

--

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






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



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



[JBoss-user] Re: Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Eric Jain
> What is the latest version that you tested where it did not work?

3.2-RC2

No problem with loading classes from ejb jars, either. Furthermore, servlets
in the war have access to all classes that are loaded by the ejbs, but won't
load any classes from jars in the ear lib directory on their own, it seems.


--
Eric Jain



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



Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Scott M Stark
There are examples of loading classes from jars included in a WARs
WEB-INF/lib directory. Explain the exact structure of the deployment
that is failing. 


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: "Eric Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "otisg" <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 3:48 AM
Subject: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR


> > My EAR contains a WAR and a JAR.
> 
> I'm stuck with the same problem. The procedure outlined in the faq works
> fine for accessing classes from my ejb's, but it does not work for war's.
> 
> While putting all libraries in default/lib does solve the problem, this is
> not a real solution as I need to be able to package all resources into a
> single deployable unit. I believe this would be a common requirement, but I
> may be wrong.
> 
> So, is this a bug or a feature? If it is a feature, what is the rational
> behind it? Or is there in fact a solution to the problem I have overlooked?
> 
> 
> > the latter actually gave
> > additional errors at boot time
> 
> You didn't have any ejb's in the jar you put in the lib directory, did you?
> 
> 
> --
> Eric Jain



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



Re: [JBoss-user] Configuring Sybase ASE as a Datasource

2003-01-23 Thread David Jencks
3.2 uses the simpler sybase-ds.xml format.

david jencks

On Thursday, January 23, 2003, at 09:41 AM, Christian Neuroth wrote:

Hi!
 
I am puzzling how to configure Sybase ASE 12.5 as a datasource for Jboss 3.2.0. Until now, I worked with the standard Hypersonic Sql Db and Postgres They both required an application policy (in the conf/login-config.xml) and a ...-service.xml file in the deploy folder.
 
I did not find a template like sybase-service.xml. What files do I have to change/ include?
 
Thanks
 
   Christian


Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Fredrik Lindgren
We are using class-path manifest lists in JBoss 3.0.4 and it works with 
no problems at all. You have to make sure that the paths in the list are 
correct relative paths to the jar files you need. This is working from 
both wars and ejb jars (we have some common utility classes in a jar 
that is used from both web apps and ejb modules)

What is the latest version that you tested where it did not work?

/Fredrik Lindgren

Rod Macpherson wrote:
The class-path manifest list (originated as an applet enhancement) does not
work and they are not alone: weblogic also fails to load those classes. The
problem with the original post is that they state they have a jar in an ear.
That's clearly insufficient. The jar must be declared in the application.xml
based and it will have to be one of ejb, web or java components and each of
those has its own descriptor as we all know. I agree that for production you
cannot drop everything in  default/lib and for development you lose
hot-deploy by doing that. At the same time that is the perfect place for
shared libraries so in that sense it might be a solution to the original
problem. To isolate the jar to just one ear use a SAR file. The class-path
manifest list simply does not work unless you have tried that in the new
version and found otherwise. An alternative is to package classes with the
respective components so that each gets its own copy: not very elegant but
effective.

- Original Message -
From: "Andreas Mecky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 5:22 AM
Subject: Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR




Hi,

you have to put this in the MANIFEST.MF.
If you use ANT to build your ear then you have to tell the jar-task to
include
your MANIFEST.MF. Otherwise ANT will create a default one for you.
The MANIFEST.MF got to look like this:
Manifest-Version: 1.0
Created-By: myself
Class-Path: myadditional1.jar myadditional2.jar
This assumes that these 2 jar files are in the main directory.

If you use any other tool then make sure that the MANIFEST.MF is in the
META-INF subdirectory.

HTH

Andreas


- Original Message -
From: "Eric Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "otisg" <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 12:48 PM
Subject: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR




My EAR contains a WAR and a JAR.


I'm stuck with the same problem. The procedure outlined in the faq works
fine for accessing classes from my ejb's, but it does not work for



war's.


While putting all libraries in default/lib does solve the problem, this



is


not a real solution as I need to be able to package all resources into a
single deployable unit. I believe this would be a common requirement,



but


I


may be wrong.

So, is this a bug or a feature? If it is a feature, what is the rational
behind it? Or is there in fact a solution to the problem I have


overlooked?




the latter actually gave
additional errors at boot time


You didn't have any ejb's in the jar you put in the lib directory, did


you?



--
Eric Jain



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


__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de


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





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






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



[JBoss-user] Re: JBoss3.2.0RC1 don't start using IBM JDK 1.3.1 on Linux

2003-01-23 Thread Eric Jain
> It seems like JBoss3.2.0RC1 don't work together with IBM JDK 1.3.1 on
Linux

Same problem here!


--
Eric Jain



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



[JBoss-user] question about jboss cmp

2003-01-23 Thread Eric Kaplan
Consider a cmp bean that has in it a date and a unique transaction id.

Now let's say you have the need to find all beans between two dates, 1/1/01
through 1/1/03.
Let's then say someone else comes along and wants to find all beans between
two other dates, 1/1/02 through 1/1/03.
What will the container do?  Is it smart enough to know the set is already
in memory?
If so, if someone then asks for 1/1/00 through 1/1/03, what does it do?  Get
all again?  Just get 1/1/00 through 12/31/00?

Eric Kaplan
Armanta, Inc.


<>

[JBoss-user] JBoss3.2.0RC1 don't start using IBM JDK 1.3.1 on Linux

2003-01-23 Thread Magnus Larsson
Hello!

It seems like JBoss3.2.0RC1 don't work together with IBM JDK 1.3.1 on Linux,
se my log below.
JBoss3.2.0RC1 starts up fine under Sun JDK 1.3.1.
Up until JBoss3.2.0beta2 it also worked with no problem under the IBM JDK.
The log comes from a RedHat 7.3 installation on an Intel-box.
I have just unzipped the kit and have not done any configurations of JBoss.

Any thoughts?

Regards,
Magnus Larsson
Callista Enterprise AB
http://www.callista.se/enterprise





  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/jboss-3.2.0RC1

  JAVA: /opt/IBMJava2-131/bin/java

  JAVA_OPTS:  -Dprogram.name=run.sh

  CLASSPATH: /usr/jboss-3.2.0RC1/bin/run.jar:/opt/IBMJava2-131/lib/tools.jar




05:56:20,089 INFO  [Server] Starting JBoss (MX MicroKernel)...
05:56:20,091 INFO  [Server] Release ID: JBoss [WonderLand] 3.2.0RC1 (build:
CVSTag=JBoss_3_2_0_RC1 date=200301142016)
05:56:20,127 INFO  [Server] Home Dir: /usr/jboss-3.2.0RC1
05:56:20,127 INFO  [Server] Home URL: file:/usr/jboss-3.2.0RC1/
05:56:20,128 INFO  [Server] Library URL: file:/usr/jboss-3.2.0RC1/lib/
05:56:20,144 INFO  [Server] Patch URL: null
05:56:20,144 INFO  [Server] Server Name: default
05:56:20,144 INFO  [Server] Server Home Dir:
/usr/jboss-3.2.0RC1/server/default
05:56:20,145 INFO  [Server] Server Home URL:
file:/usr/jboss-3.2.0RC1/server/default/
05:56:20,145 INFO  [Server] Server Data Dir:
/usr/jboss-3.2.0RC1/server/default/data
05:56:20,145 INFO  [Server] Server Temp Dir:
/usr/jboss-3.2.0RC1/server/default/tmp
05:56:20,146 INFO  [Server] Server Config URL:
file:/usr/jboss-3.2.0RC1/server/default/conf/
05:56:20,146 INFO  [Server] Server Library URL:
file:/usr/jboss-3.2.0RC1/server/default/lib/
05:56:20,146 INFO  [Server] Root Deployemnt Filename: jboss-service.xml
05:56:20,157 INFO  [Server] Starting General Purpose Architecture (GPA)...
05:56:20,488 INFO  [ServerInfo] Java version: 1.3.1,IBM Corporation
05:56:20,488 INFO  [ServerInfo] Java VM: Classic VM 1.3.1,IBM Corporation
05:56:20,490 INFO  [ServerInfo] OS-System: Linux 2.4.18-3,x86
05:56:20,553 INFO  [ServiceController] Controller MBean online
05:56:20,671 INFO  [MainDeployer] Creating
05:56:20,755 INFO  [MainDeployer] Created
05:56:20,756 INFO  [MainDeployer] Starting
05:56:20,756 INFO  [MainDeployer] Started
05:56:20,931 INFO  [JARDeployer] Creating
05:56:20,988 INFO  [JARDeployer] Created
05:56:20,989 INFO  [JARDeployer] Starting
05:56:20,990 INFO  [MainDeployer] Adding deployer:
org.jboss.deployment.JARDeployer@d6d92f4
05:56:20,990 INFO  [JARDeployer] Started
05:56:21,002 INFO  [SARDeployer] Creating
05:56:21,032 INFO  [SARDeployer] Created
05:56:21,033 INFO  [SARDeployer] Starting
05:56:21,033 INFO  [MainDeployer] Adding deployer:
org.jboss.deployment.SARDeployer@68a212f4
05:56:21,127 INFO  [SARDeployer] Started
05:56:21,127 INFO  [Server] Core system initialized
05:56:21,152 INFO  [MainDeployer] Starting deployment of package:
file:/usr/jboss-3.2.0RC1/server/default/conf/jboss-service.xml
05:56:24,311 INFO  [SARDeployer] looking for nested deployments in :
file:/usr/jboss-3.2.0RC1/server/default/conf/jboss-service.xml
05:56:25,261 WARN  [NestedThrowable] Duplicate throwable nesting of same
base type: class org.jboss.deployment.DeploymentException is assignable
from: class org.jboss.deployment.DeploymentException
05:56:25,263 ERROR [MainDeployer] could not create deployment:
file:/usr/jboss-3.2.0RC1/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: create operation failed for
package file:/usr/jboss-3.2.0RC1/server/default/conf/jboss-service.xml; -
nested throwable: (org.jboss.deployment.DeploymentException: instantiating
org.jboss.logging.Log4jService failed: java.lang.NoClassDefFoundError:
org/jboss/net/protocol/jar/Handler (wrong name:
org/jboss/logging/Log4jService); - nested throwable: (RuntimeErrorException:
instantiating org.jboss.logging.Log4jService failed:
java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong
name: org/jboss/logging/Log4jService)
Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler
(wrong name: org/jboss/logging/Log4jService)))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:275)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:635)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:584)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy6.deploy(Unknown Source)

RE: [JBoss-user] jboss-4 and cactus problem

2003-01-23 Thread Sonnek, Ryan
i've had the exact same error and it took me forever to figure out.  for
some reason when cactus runs, you NEED a port number for it to work
correctly.  setup your cactus.properties file to use a port number and
you'll be fine.  if you're running off the default web server port, use port
80.

instead of: 
cactus.contextURL=http://localhost/myApp

use:
cactus.contextURL=http://localhost:80/myApp

-Original Message-
From: Bruce Scharlau [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 9:47 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] jboss-4 and cactus problem


Hi all,

I've been digging further into Ant and am trying to get cactus to work with 
jboss-4+tomcat, but am getting a strange error about
'port out of range:-1' and wondered if anyone else has experienced this 
problem.

I'm using jakarta-cactus-13-1.4b1 and ant-1.5 on winXP.

Bruce


cactus-tests:
[runservertests] log4j:WARN No appenders could be found for logger 
(org.apache.cactus.util.JUnitVersionHelper).
[runservertests] log4j:WARN Please initialize the log4j system properly.
 [junit] Running uk.ac.abdn.csd.mtp.ant.web.TestfirstAntServlet
 [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.691 sec
 [junit] Testsuite: uk.ac.abdn.csd.mtp.ant.web.TestfirstAntServlet
 [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.691 sec

 [junit] Testcase: testReadServletOutputStream took 0.671 sec
 [junit] Caused an ERROR
 [junit] port out of range:-1
 [junit] java.lang.IllegalArgumentException: port out of range:-1
 [junit] at 
java.net.InetSocketAddress.(InetSocketAddress.java:103)
 [junit] at java.net.Socket.(Socket.java:119)
 [junit] at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:309)
 [junit] at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:314)
 [junit] at 
org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_connect(HttpC
lientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):163
)
 [junit] at 
org.apache.cactus.client.HttpClientConnectionHelper.around24_connect(HttpCli
entConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):1218)
 [junit] at 
org.apache.cactus.client.HttpClientConnectionHelper.connect(HttpClientConnec
tionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):105)
 [junit] at 
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.j
ava;org/apache/cactus/util/log/LogAspect.java(1k):186)
 [junit] at 
org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpCli
ent.java;org/apache/cactus/util/log/LogAspect.java(1k):109)
 [junit] at 
org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClien
t.java;org/apache/cactus/util/log/LogAspect.java(1k):1218)
 [junit] at 
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o
rg/apache/cactus/util/log/LogAspect.java(1k):104)
 [junit] at 
org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.jav
a:260)
 [junit] at 
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
 [junit] at 
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195)
 [junit] at 
org.apache.cactus.ant.RunServerTestsTask.callTests(Unknown Source)
 [junit] at 
org.apache.cactus.ant.RunServerTestsTask.execute(Unknown Source)

 [junit] Testcase: testReadServletOutputStream

BUILD FAILED

cheers,

Bruce

Dr. Bruce Scharlau
Dept. of Computing Science
University of Aberdeen
Aberdeen AB24 3UE
01224 272193
http://www.csd.abdn.ac.uk/~bscharla
mailto:[EMAIL PROTECTED] 



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


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



[JBoss-user] jboss-4 and cactus problem

2003-01-23 Thread Bruce Scharlau
Hi all,

I've been digging further into Ant and am trying to get cactus to work with 
jboss-4+tomcat, but am getting a strange error about
'port out of range:-1' and wondered if anyone else has experienced this 
problem.

I'm using jakarta-cactus-13-1.4b1 and ant-1.5 on winXP.

Bruce


cactus-tests:
[runservertests] log4j:WARN No appenders could be found for logger 
(org.apache.cactus.util.JUnitVersionHelper).
[runservertests] log4j:WARN Please initialize the log4j system properly.
[junit] Running uk.ac.abdn.csd.mtp.ant.web.TestfirstAntServlet
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.691 sec
[junit] Testsuite: uk.ac.abdn.csd.mtp.ant.web.TestfirstAntServlet
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.691 sec

[junit] Testcase: testReadServletOutputStream took 0.671 sec
[junit] Caused an ERROR
[junit] port out of range:-1
[junit] java.lang.IllegalArgumentException: port out of range:-1
[junit] at 
java.net.InetSocketAddress.(InetSocketAddress.java:103)
[junit] at java.net.Socket.(Socket.java:119)
[junit] at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:309)
[junit] at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:314)
[junit] at 
org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):163)
[junit] at 
org.apache.cactus.client.HttpClientConnectionHelper.around24_connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):1218)
[junit] at 
org.apache.cactus.client.HttpClientConnectionHelper.connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):105)
[junit] at 
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):186)
[junit] at 
org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):109)
[junit] at 
org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):1218)
[junit] at 
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):104)
[junit] at 
org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.java:260)
[junit] at 
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
[junit] at 
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195)
[junit] at 
org.apache.cactus.ant.RunServerTestsTask.callTests(Unknown Source)
[junit] at 
org.apache.cactus.ant.RunServerTestsTask.execute(Unknown Source)

[junit] Testcase: testReadServletOutputStream

BUILD FAILED

cheers,

Bruce

Dr. Bruce Scharlau
Dept. of Computing Science
University of Aberdeen
Aberdeen AB24 3UE
01224 272193
http://www.csd.abdn.ac.uk/~bscharla
mailto:[EMAIL PROTECTED] 



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


WG: [JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec compliance

2003-01-23 Thread Meyer-Willner, Bernhard
I'm no JBoss insider, so I really don't know exactly. I have only access to
publicly published stuff and also read that article you mentioned. So I
guess it should come out by JavaOne, which is in sometime in Q2.

The SchedulerMBean is described in the paid-for docs (JBoss Book).

Anyway, quick intro:

You need scheduler-plugin.jar in the JBoss lib dir. Then the easiest thing
is to deploy a SAR (let's called it scheduler-service.sar in the deploy dir.
You can put your Schedulable implementation in there too, however, we just
put it the central deploy or lib dir. Inside the SAR in the meta-inf dir you
need to include a jboss-service.xml looking like this:






  
  
  

  
true
com.mycompany.MySchedulableImplementationClass
Something,360
java.lang.String,long
NOW
60
-1
  
  


If you choose to go without a SAR you can also deploy this file directly in
deploy dir as scheduler-service.xml. If JBoss complains it can't find your
SchedulableClass you might need to include a  above the mbean tag.

Arguments are as follows. SchedulableArguments and SchedulableArgumentTypes
are the args for your SchedulaleClass. Put in there whatever you like but
make sure the types are correct and in the correct order. Order must
correspond to the order in your SchedulableClass ctor (see below). -1 for
repetitions means as long as JBoss runs and SchedulePeriod is the interval
the scheduler is called in milliseconds.

com.mycompany.MySchedulableImplementationClass needs to look like this (for
example):


package com.mycompany;

import org.jboss.varia.scheduler.Schedulable;

public class MySchedulableImplementationClass implements Schedulable {

  private String name;

  private long time;

  public MySchedulableImplementationClass() { }

  public MySchedulableImplementationClass(java.lang.String name, long time)
{
this.name = name;
this.time = time;
  }

  public void perform(Date pTimeOfCall, long pRemainingRepetitions) {
//do something
  }

}

The ctor args must be of the same type and order as declared in the XML
file. Whenever the scheduler executes it calls the perform method of your
implementation class. Here you can implement what you desire. You have
access to the time of call and the number of the remaining repetitions.
That's all there is to it.

Enjoy,
Bernhard

You can also use another MBean as the schedulable implementation but for
many cases this simple solution will suffice, I guess.


-Ursprüngliche Nachricht-
Von: Brian McSweeney [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 23. Januar 2003 15:57
An: Meyer-Willner, Bernhard; [EMAIL PROTECTED]
Betreff: Re: [JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec
compliance


Thanks very much Bernhard - really great to get an answer,
do you by any chance have an estimate time of release of JBoss 4.0 - eg, Q2
, Q3, Q4 2003 ?

Also, do you know of anywhere that I might be able to find out any more info
on using the 
SchedulerBean you talked about? I tried looking in the
JBoss3.0QuickStartGuide draft 4
but couldn't find anything.

Also, I remember that there was an article on the serverside in which Marc
Fleury said that some 
of the web services api's aren't going to be included because of lack of
demand! Anyone have any 
clue if this is still the case? I hope not :-)
thanks so much,
Brian
- Original Message - 
From: Meyer-Willner, Bernhard 
To: '[EMAIL PROTECTED]' 
Cc: '[EMAIL PROTECTED]' 
Sent: Thursday, January 23, 2003 2:33 PM
Subject: Re: [JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec
compliance


I would guess, once JBoss 4.0 comes out with (with J2EE 1.4 support) in
order to claim conformance with the new EJB 2.1 spec it will need to have
this EJB TimerService. Til then you can use the Scheduler MBean that comes
with JBoss which is a derivative of the standard
javax.management.timer.TimerMBean or make your own MBean based on that
TimerMBean. This will also continue to work in all app servers, since from
J2EE 1.4, JMX is a required part of J2EE.

Cheers,
Bernhard
-Ursprüngliche Nachricht-
Von: Brian McSweeney [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 23. Januar 2003 15:06
An: jboss
Betreff: [JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec compliance


Hi everyone,
I'm new to this list, but I've tried to find information about JBoss support
for the new 
javax.ejb.TimerService and general information on j2ee 1.4 spec compliance. 
I've read a similar request for information about this in the following 
discussion: 

http://www.jboss.org/forums/thread.jsp?forum=91&thread=24893

However the resulting discussion left me feeling that either information on
this subject 
wasn't well known, or worse - it didn't seem that important!

I want to be able to write my applications and have the basic functionality
and services to 
work across all ejb servers. The xpetstore is an example of an
implementation of this. I 
want to be able to do this for the javax.ejb.TimerService and furthermo

RE: [JBoss-user] Configuring Sybase ASE as a Datasource

2003-01-23 Thread Barlow, Dustin



This 
is what I use:
 

 
  
    
YourJNDIName    
jdbc:sybase:Tds:192.168.1.100:2025/database_name    
com.sybase.jdbc2.jdbc.SybDataSource    
username    
passwd  

 

 
... 
stored in a file named sybase-ds.xml

  -Original Message-From: Christian Neuroth 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, January 23, 2003 9:41 
  AMTo: [EMAIL PROTECTED]Subject: 
  [JBoss-user] Configuring Sybase ASE as a Datasource
  Hi!
   
  I am puzzling how to configure Sybase ASE 
  12.5 as a datasource for Jboss 3.2.0. Until now, I worked with the standard 
  Hypersonic Sql Db and Postgres They both required an application policy 
  (in the conf/login-config.xml) and a ...-service.xml file in the deploy 
  folder.
   
  I did not find a template like 
  sybase-service.xml. What files do I have to change/ include?
   
  Thanks
   
     
Christian





Re: [JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec compliance

2003-01-23 Thread Brian McSweeney



Thanks very much Bernhard - really great to get an 
answer,
do you by any chance have an estimate time of 
release of JBoss 4.0 - eg, Q2 , Q3, Q4 2003 ?
 
Also, do you know of anywhere that I might be able 
to find out any more info on using the 
SchedulerBean you talked about? I tried looking in 
the JBoss3.0QuickStartGuide draft 4
but couldn't find anything.
 
Also, I remember that there was an article on the 
serverside in which Marc Fleury said that some 
of the web services api's aren't going to be 
included because of lack of demand! Anyone have any 
clue if this is still the case? I hope not 
:-)
thanks so much,
Brian

  - Original Message - 
  From: 
  Meyer-Willner, Bernhard 
  
  To: '[EMAIL PROTECTED]' 
  
  Cc: '[EMAIL PROTECTED]' 
  
  Sent: Thursday, January 23, 2003 2:33 
  PM
  Subject: Re: [JBoss-user] 
  javax.ejb.TimerService and J2EE 1.4 spec compliance
  
  I 
  would guess, once JBoss 4.0 comes out with (with J2EE 1.4 support) in order to 
  claim conformance with the new EJB 2.1 spec it will need to have this EJB 
  TimerService. Til then you can use the Scheduler MBean that comes with JBoss 
  which is a derivative of the standard javax.management.timer.TimerMBean or 
  make your own MBean based on that TimerMBean. This will also continue to work 
  in all app servers, since from J2EE 1.4, JMX is a required part of 
  J2EE.
   
  Cheers,
  Bernhard
  
-Ursprüngliche Nachricht-Von: Brian McSweeney 
[mailto:[EMAIL PROTECTED]]Gesendet: Donnerstag, 23. 
Januar 2003 15:06An: jbossBetreff: [JBoss-user] 
javax.ejb.TimerService and J2EE 1.4 spec compliance
Hi everyone,
I'm new to this list, but I've tried to find 
information about JBoss support for the new 
javax.ejb.TimerService and general information 
on j2ee 1.4 spec compliance. 
I've read a similar request for information 
about this in the following 
discussion: 
 
http://www.jboss.org/forums/thread.jsp?forum=91&thread=24893
 
However the resulting discussion left me 
feeling that either information on this subject 
wasn't well known, or worse - it didn't seem 
that important!
 
I want to be able to write my applications and 
have the basic functionality and services to 
work across all ejb servers. The xpetstore is 
an example of an implementation of this. I 
want to be able to do this for the 
javax.ejb.TimerService and furthermore, for web services 
too.
 
Can anyone tell me when/if this is going to be 
possible with JBoss? I know that someone at 
some stage was working on it, but is it 
available... can anyone shed some light?
thanks very much,
Brian
 
For information on the javax.ejb.TimerService 
in j2ee 1.4 spec see the two following links:
http://www2.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column4
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/NewEJB4.html
 This e-mail 
  and any attachment is for authorised use by the intended recipient(s) only. It 
  may contain proprietary material, confidential information and/or be subject 
  to legal privilege. It should not be copied, disclosed to, retained or used 
  by, any other party. If you are not an intended recipient then please promptly 
  delete this e-mail and any attachment and all copies and inform the sender. 
  Thank you.


Re: [JBoss-user] Session Id not reinitialized

2003-01-23 Thread kiuma
Thank you very very much!
Your solution perfectly solved the problem

Kiuma

Jules Gosnell ha scritto:


kiuma wrote:


Would you try replacing your jbossweb.sar with this one and trying 
again... - I know that a session handling problem crept into 3.0.5, I 
think this release fixed it - if not Jetty-4.2.6 (which will be in 
3.0.6) will do so.

Jules

jbossweb-3.0.5-4.2.5.sar 
 


Ok, now I can be more precise. ;-)

First I want to point out that installing my app to my customer pc 
works pretty well!

The problem is on my network in the following test:

Box1:
Linux PC with jboss-3.0.5 running.
Browser is Mozilla
IP: 192.168.100.3

Box2:
Windows 2000 with I.E.
IP: 192.168.100.4

Box3:
Gateway
IP: 192.168.100.5


I firstly log into my app with Box1
[myApp]/index.jsp -> [myApp]/login.jsp -> [myApp]/main.jsp.
browse my app a bit filling some session varibles.

The I go to Box2
[myApp]/index.jsp ->  [myApp]/main.jsp.
filled variables are the same of Box1 so Box1 and Box2 share the same 
session.


What could it be?
kiuma



Jules Gosnell ha scritto:

3.0.6 will be out soon (early next week?)

Please repeat the test in that and if the problm persists, mail 
again with more detail - i.e. a blow-by-blow account of exactly what 
you did from both boxes and what behaviour you observed.

Jules


kiuma wrote:

Hello,
I'm having the following problem:

I'm using JBoss 3.0.4 with Jetty my login.jsp is:

<%@page language="java"
   contentType="text/html;charset=UTF-8"
   session="true"
   isThreadSafe="true"
   isErrorPage="false"
   import="javax.naming.*,
  com.wingstech.webappointments.interfaces.*,
  java.util.*"
%> <%@ taglib uri="/WEB-INF/struts-html-el.tld"
   prefix="html-el" %>
<%@ taglib uri="/WEB-INF/struts-bean-el.tld"
   prefix="bean-el" %>
<%@ taglib uri="/WEB-INF/struts-logic-el.tld"
   prefix="logic-el" %>
<%@ taglib uri="/WEB-INF/c.tld"
   prefix="c" %>
<%@ taglib uri="/WEB-INF/x.tld"
   prefix="x" %>




   




 
   
 :
 
   
 
 
   
   
 
 
   
 









When I log from a computer of my lan
the other Pc shares the same connection, so it doesn't ask me to 
log into my app.

Can you explain me where is the bug?
(this is my 1st web application and so I've not much experience 
about these sort of problems)

Thanks in advance!
kiuma



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user









This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
.







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








This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



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







---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
__

[JBoss-user] Configuring Sybase ASE as a Datasource

2003-01-23 Thread Christian Neuroth



Hi!
 
I am puzzling how to configure Sybase ASE 12.5 
as a datasource for Jboss 3.2.0. Until now, I worked with the standard 
Hypersonic Sql Db and Postgres They both required an application policy (in 
the conf/login-config.xml) and a ...-service.xml file in the deploy 
folder.
 
I did not find a template like sybase-service.xml. 
What files do I have to change/ include?
 
Thanks
 
   Christian


[JBoss-user] Re: Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Eric Jain
> To isolate the jar to just one ear use a SAR file.

This sounds like a solution, but so how exactly would the file structure
look like?

test.sar
  test.ear
  test.jar

Coincidently, I was planning to add a few MBeans that should be deployed
along with the application, and would be dependant on the same libraries...


--
Eric Jain



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



[JBoss-user] NoTxConnectionManager Usage

2003-01-23 Thread Rod Macpherson
Is it recommended or at least advantageous to use a NoTxConnectionManager
when configuring a data source for read-only access? On other platforms we
have typically used one pool with two datasources: one transactional and the
other not.



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



Re: [JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec compliance

2003-01-23 Thread Meyer-Willner, Bernhard



I 
would guess, once JBoss 4.0 comes out with (with J2EE 1.4 support) in order to 
claim conformance with the new EJB 2.1 spec it will need to have this EJB 
TimerService. Til then you can use the Scheduler MBean that comes with JBoss 
which is a derivative of the standard javax.management.timer.TimerMBean or make 
your own MBean based on that TimerMBean. This will also continue to work in all 
app servers, since from J2EE 1.4, JMX is a required part of 
J2EE.
 
Cheers,
Bernhard

  -Ursprüngliche Nachricht-Von: Brian McSweeney 
  [mailto:[EMAIL PROTECTED]]Gesendet: Donnerstag, 23. Januar 
  2003 15:06An: jbossBetreff: [JBoss-user] 
  javax.ejb.TimerService and J2EE 1.4 spec compliance
  Hi everyone,
  I'm new to this list, but I've tried to find 
  information about JBoss support for the new 
  javax.ejb.TimerService and general information on 
  j2ee 1.4 spec compliance. 
  I've read a similar request for information about 
  this in the following 
  discussion: 
   
  http://www.jboss.org/forums/thread.jsp?forum=91&thread=24893
   
  However the resulting discussion left me feeling 
  that either information on this subject 
  wasn't well known, or worse - it didn't seem that 
  important!
   
  I want to be able to write my applications and 
  have the basic functionality and services to 
  work across all ejb servers. The xpetstore is an 
  example of an implementation of this. I 
  want to be able to do this for the 
  javax.ejb.TimerService and furthermore, for web services 
  too.
   
  Can anyone tell me when/if this is going to be 
  possible with JBoss? I know that someone at 
  some stage was working on it, but is it 
  available... can anyone shed some light?
  thanks very much,
  Brian
   
  For information on the javax.ejb.TimerService in 
  j2ee 1.4 spec see the two following links:
  http://www2.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column4
  http://java.sun.com/j2ee/1.4/docs/tutorial/doc/NewEJB4.html
   



This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.



Re: [JBoss-user] Hot deploy in 3.2.0rc1

2003-01-23 Thread Alex Loubyansky
This is fixed in CVS.

alex

Thursday, January 23, 2003, 10:09:25 AM, you wrote:

RH> Hi,

RH> in older versions, I was just able to delete a .ear in deploy/
RH> and it got undeployed. Or I could overwrite it with a new one
RH> which got hot deployed.
RH> In RC1, this is no longer possible, as Win2k complains that the
RH> file is in use.

RH> What can I change to get the old behaviour back?

RH> Is there an operation in the JMX console to set a deployed item free?

RH> Again, this is 3.2.0rc1 on Win2k with JDK1.3.1

RH> Thanks
RH>   Heiko




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



Re[2]: [JBoss-user] Can two separate client threads make simultaneous calls?

2003-01-23 Thread Alex Loubyansky
Beau,

could you, please, provide simple/not-simple testcase at least for one
of the cases?

Thanks,
alex

Wednesday, January 22, 2003, 10:47:57 PM, you wrote:

BC> Complete stack traces are attached.  Sorry I didn't give them last time.

BC> You may well be right about why these deadlocks not occurring with 
BC> separate clients.  If that's so, is the solution to catch the deadlock 
BC> exceptions?

BC> And any thoughts about the second stack trace (the iterator one)?

BC> Thanks,

BC> Beau

BC> Dan Christopherson wrote:

>> These deadlocks are most likely on your entity beans (the second one is 
>> fishy looking, but I really can't say much without seeing more (all) of 
>> the stack trace.). By default, JBoss only keeps one instance per bean 
>> identity, so each transaction from your client will block on the entity. 
>> Give the full stack trace, that might be helpful.
>> 
>> launching from different client app instances will change the timings of 
>> things, making the deadlock less likely, but perhaps still possible, 
>> depending on your application.
>> 
>> Beau Cronin wrote:
>> 
>>> There are two messages which appear.  The first is:
>>>
>>> 2003-01-22 11:31:08,725 ERROR [org.jboss.ejb.BeanLock] Application 
>>> deadlock detected: TransactionImpl:XidImpl [FormatId=257, 
>>> GlobalId=redbull//3324, BranchQual=] has deadlock conditions.  Two or 
>>> more transactions contending for same resources and each have locks 
>>> eachother need.
>>> 2003-01-22 11:31:08,728 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
>>> TransactionRolledbackLocalException, causedBy: 
>>> org.jboss.ejb.plugins.lock.ApplicationDeadlockException: Application 
>>> deadlock detected: Two or more transactions contention.at 
>>> org.jboss.ejb.plugins.lock.BeanLockSupport.deadlockDetection(BeanLock
>>> Support.java:136)at 
>>> org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.waitForTx(QueuedP
>>> essimisticEJBLock.java:270)at 
>>> org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(Queued
>>> PessimisticEJBLock.java:202)at 
>>> org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPe
>>> ssimisticEJBLock.java:150)
>>>




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



Re: [JBoss-user] context

2003-01-23 Thread Mauricio De Diana
For ear level scoping of classes, you can configure a
loader-repository in jboss-app.xml, but I think it is
not possible to have beans using the same JNDI Name.

Regards,
Mauricio



 --- Gabriel Pinto <[EMAIL PROTECTED]> escreveu:
> 
> Is it possible to isolate an ear context from
> others?
> 
> For example, can I have beans with the same name and
> same jndi names, but 
> in different applications? 
> 
> Thanks
> 
> Gabriel
> 
> -- 
> 
> Gabriel Esteves Marques Pinto
> 
>Diretor de TI
> [EMAIL PROTECTED]
>   www.brainweb.com.br
> (19)3287-7060  Ramal:253
>  Núcleo SOFTEX-Campinas
> 
> 
> 
> 
> 
> 
>
---
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld =
> Something 2 See!
> http://www.vasoftware.com
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user 

___
Busca Yahoo!
O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.
http://br.busca.yahoo.com/


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



[JBoss-user] javax.ejb.TimerService and J2EE 1.4 spec compliance

2003-01-23 Thread Brian McSweeney



Hi everyone,
I'm new to this list, but I've tried to find 
information about JBoss support for the new 
javax.ejb.TimerService and general information on 
j2ee 1.4 spec compliance. 
I've read a similar request for information about 
this in the following 
discussion: 
 
http://www.jboss.org/forums/thread.jsp?forum=91&thread=24893
 
However the resulting discussion left me feeling 
that either information on this subject 
wasn't well known, or worse - it didn't seem that 
important!
 
I want to be able to write my applications and have 
the basic functionality and services to 
work across all ejb servers. The xpetstore is an 
example of an implementation of this. I 
want to be able to do this for the 
javax.ejb.TimerService and furthermore, for web services 
too.
 
Can anyone tell me when/if this is going to be 
possible with JBoss? I know that someone at 
some stage was working on it, but is it 
available... can anyone shed some light?
thanks very much,
Brian
 
For information on the javax.ejb.TimerService in 
j2ee 1.4 spec see the two following links:
http://www2.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column4
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/NewEJB4.html
 


[JBoss-user] context

2003-01-23 Thread Gabriel Pinto

Is it possible to isolate an ear context from others?

For example, can I have beans with the same name and same jndi names, but 
in different applications? 

Thanks

Gabriel

-- 

Gabriel Esteves Marques Pinto

   Diretor de TI
[EMAIL PROTECTED]
  www.brainweb.com.br
(19)3287-7060  Ramal:253
 Núcleo SOFTEX-Campinas






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



Re: [JBoss-user] Session Id not reinitialized

2003-01-23 Thread Jules Gosnell
kiuma wrote:


Would you try replacing your jbossweb.sar with this one and trying 
again... - I know that a session handling problem crept into 3.0.5, I 
think this release fixed it - if not Jetty-4.2.6 (which will be in 
3.0.6) will do so.

Jules

jbossweb-3.0.5-4.2.5.sar 
 


Ok, now I can be more precise. ;-)

First I want to point out that installing my app to my customer pc 
works pretty well!

The problem is on my network in the following test:

Box1:
Linux PC with jboss-3.0.5 running.
Browser is Mozilla
IP: 192.168.100.3

Box2:
Windows 2000 with I.E.
IP: 192.168.100.4

Box3:
Gateway
IP: 192.168.100.5


I firstly log into my app with Box1
[myApp]/index.jsp -> [myApp]/login.jsp -> [myApp]/main.jsp.
browse my app a bit filling some session varibles.

The I go to Box2
[myApp]/index.jsp ->  [myApp]/main.jsp.
filled variables are the same of Box1 so Box1 and Box2 share the same 
session.


What could it be?
kiuma



Jules Gosnell ha scritto:

3.0.6 will be out soon (early next week?)

Please repeat the test in that and if the problm persists, mail again 
with more detail - i.e. a blow-by-blow account of exactly what you 
did from both boxes and what behaviour you observed.

Jules


kiuma wrote:

Hello,
I'm having the following problem:

I'm using JBoss 3.0.4 with Jetty my login.jsp is:

<%@page language="java"
   contentType="text/html;charset=UTF-8"
   session="true"
   isThreadSafe="true"
   isErrorPage="false"
   import="javax.naming.*,
  com.wingstech.webappointments.interfaces.*,
  java.util.*"
%> <%@ taglib uri="/WEB-INF/struts-html-el.tld"
   prefix="html-el" %>
<%@ taglib uri="/WEB-INF/struts-bean-el.tld"
   prefix="bean-el" %>
<%@ taglib uri="/WEB-INF/struts-logic-el.tld"
   prefix="logic-el" %>
<%@ taglib uri="/WEB-INF/c.tld"
   prefix="c" %>
<%@ taglib uri="/WEB-INF/x.tld"
   prefix="x" %>




   




 
   
 :
  
   
   
 
 
   
   
 
 
   
 









When I log from a computer of my lan
the other Pc shares the same connection, so it doesn't ask me to log 
into my app.

Can you explain me where is the bug?
(this is my 1st web application and so I've not much experience 
about these sort of problems)

Thanks in advance!
kiuma



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user








This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
.







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







This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



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



Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Rod Macpherson
The class-path manifest list (originated as an applet enhancement) does not
work and they are not alone: weblogic also fails to load those classes. The
problem with the original post is that they state they have a jar in an ear.
That's clearly insufficient. The jar must be declared in the application.xml
based and it will have to be one of ejb, web or java components and each of
those has its own descriptor as we all know. I agree that for production you
cannot drop everything in  default/lib and for development you lose
hot-deploy by doing that. At the same time that is the perfect place for
shared libraries so in that sense it might be a solution to the original
problem. To isolate the jar to just one ear use a SAR file. The class-path
manifest list simply does not work unless you have tried that in the new
version and found otherwise. An alternative is to package classes with the
respective components so that each gets its own copy: not very elegant but
effective.

- Original Message -
From: "Andreas Mecky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 5:22 AM
Subject: Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR


> Hi,
>
> you have to put this in the MANIFEST.MF.
> If you use ANT to build your ear then you have to tell the jar-task to
> include
> your MANIFEST.MF. Otherwise ANT will create a default one for you.
> The MANIFEST.MF got to look like this:
> Manifest-Version: 1.0
> Created-By: myself
> Class-Path: myadditional1.jar myadditional2.jar
> This assumes that these 2 jar files are in the main directory.
>
> If you use any other tool then make sure that the MANIFEST.MF is in the
> META-INF subdirectory.
>
> HTH
>
> Andreas
>
>
> - Original Message -
> From: "Eric Jain" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: "otisg" <[EMAIL PROTECTED]>
> Sent: Thursday, January 23, 2003 12:48 PM
> Subject: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR
>
>
> > > My EAR contains a WAR and a JAR.
> >
> > I'm stuck with the same problem. The procedure outlined in the faq works
> > fine for accessing classes from my ejb's, but it does not work for
war's.
> >
> > While putting all libraries in default/lib does solve the problem, this
is
> > not a real solution as I need to be able to package all resources into a
> > single deployable unit. I believe this would be a common requirement,
but
> I
> > may be wrong.
> >
> > So, is this a bug or a feature? If it is a feature, what is the rational
> > behind it? Or is there in fact a solution to the problem I have
> overlooked?
> >
> >
> > > the latter actually gave
> > > additional errors at boot time
> >
> > You didn't have any ejb's in the jar you put in the lib directory, did
> you?
> >
> >
> > --
> > Eric Jain
> >
> >
> >
> > ---
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> __
>
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> Bis zu 100 MB Speicher bei http://premiummail.yahoo.de
>
>
> ---
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



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



Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Andreas Mecky
Hi,

you have to put this in the MANIFEST.MF.
If you use ANT to build your ear then you have to tell the jar-task to
include
your MANIFEST.MF. Otherwise ANT will create a default one for you.
The MANIFEST.MF got to look like this:
Manifest-Version: 1.0
Created-By: myself
Class-Path: myadditional1.jar myadditional2.jar
This assumes that these 2 jar files are in the main directory.

If you use any other tool then make sure that the MANIFEST.MF is in the
META-INF subdirectory.

HTH

Andreas


- Original Message -
From: "Eric Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "otisg" <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 12:48 PM
Subject: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR


> > My EAR contains a WAR and a JAR.
>
> I'm stuck with the same problem. The procedure outlined in the faq works
> fine for accessing classes from my ejb's, but it does not work for war's.
>
> While putting all libraries in default/lib does solve the problem, this is
> not a real solution as I need to be able to package all resources into a
> single deployable unit. I believe this would be a common requirement, but
I
> may be wrong.
>
> So, is this a bug or a feature? If it is a feature, what is the rational
> behind it? Or is there in fact a solution to the problem I have
overlooked?
>
>
> > the latter actually gave
> > additional errors at boot time
>
> You didn't have any ejb's in the jar you put in the lib directory, did
you?
>
>
> --
> Eric Jain
>
>
>
> ---
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user

__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de


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



Re: [JBoss-user] Session Id not reinitialized

2003-01-23 Thread kiuma
Ok, now I can be more precise. ;-)

First I want to point out that installing my app to my customer pc works 
pretty well!

The problem is on my network in the following test:

Box1:
Linux PC with jboss-3.0.5 running.
Browser is Mozilla
IP: 192.168.100.3

Box2:
Windows 2000 with I.E.
IP: 192.168.100.4

Box3:
Gateway
IP: 192.168.100.5


I firstly log into my app with Box1
[myApp]/index.jsp -> [myApp]/login.jsp -> [myApp]/main.jsp.
browse my app a bit filling some session varibles.

The I go to Box2
[myApp]/index.jsp ->  [myApp]/main.jsp.
filled variables are the same of Box1 so Box1 and Box2 share the same 
session.


What could it be?
kiuma



Jules Gosnell ha scritto:

3.0.6 will be out soon (early next week?)

Please repeat the test in that and if the problm persists, mail again 
with more detail - i.e. a blow-by-blow account of exactly what you did 
from both boxes and what behaviour you observed.

Jules


kiuma wrote:

Hello,
I'm having the following problem:

I'm using JBoss 3.0.4 with Jetty my login.jsp is:

<%@page language="java"
   contentType="text/html;charset=UTF-8"
   session="true"
   isThreadSafe="true"
   isErrorPage="false"
   import="javax.naming.*,
  com.wingstech.webappointments.interfaces.*,
  java.util.*"
%> <%@ taglib uri="/WEB-INF/struts-html-el.tld"
   prefix="html-el" %>
<%@ taglib uri="/WEB-INF/struts-bean-el.tld"
   prefix="bean-el" %>
<%@ taglib uri="/WEB-INF/struts-logic-el.tld"
   prefix="logic-el" %>
<%@ taglib uri="/WEB-INF/c.tld"
   prefix="c" %>
<%@ taglib uri="/WEB-INF/x.tld"
   prefix="x" %>




   




 
   
 :
  
   
   
 
 
   
   
 
 
   
 









When I log from a computer of my lan
the other Pc shares the same connection, so it doesn't ask me to log 
into my app.

Can you explain me where is the bug?
(this is my 1st web application and so I've not much experience about 
these sort of problems)

Thanks in advance!
kiuma



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user







This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
.







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



Re: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Meyer-Willner, Bernhard
Have y'all tried putting a Classpath: entry in your manifest file?

Try putting this in the respective manifests in the meta-inf dir of your WAR
or EJB-JAR:

Class-Path: ../lib/common-lib.jar 

where ../lib/common-lib.jar is the relative path to your common library jar.

Bernhard

-Ursprüngliche Nachricht-
Von: Eric Jain [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 23. Januar 2003 12:49
An: [EMAIL PROTECTED]
Cc: otisg
Betreff: [JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR


> My EAR contains a WAR and a JAR.

I'm stuck with the same problem. The procedure outlined in the faq works
fine for accessing classes from my ejb's, but it does not work for war's.

While putting all libraries in default/lib does solve the problem, this is
not a real solution as I need to be able to package all resources into a
single deployable unit. I believe this would be a common requirement, but I
may be wrong.

So, is this a bug or a feature? If it is a feature, what is the rational
behind it? Or is there in fact a solution to the problem I have overlooked?


> the latter actually gave
> additional errors at boot time

You didn't have any ejb's in the jar you put in the lib directory, did you?


--
Eric Jain



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

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.


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



Re: [JBoss-user] Can two separate client threads make simultaneouscalls?

2003-01-23 Thread Muntean Horia
Beau Cronin wrote:




Muntean Horia wrote:


Beau Cronin wrote:


I have a Swing app which is essentially single-threaded, accessing 
the server in the usual way through a session facade.  I'd like to 
do some background loading of certain data for performance reasons, 
but when I try to do this by using a separate thread (and separate 
session instance), I get various transaction collision problems if 
these two threads access the server at the same time.

I'm obviously missing something here--shouldn't different remote 
client threads from the same client be able to access JBoss 
simultaneously in the same way that entirely different clients can?  
I.e., shouldn't they spawn separate transactions which are scheduled 
appropriately by JBoss?

Any clarification appreciated,

Beau Cronin



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Try to do the same thing u are doing with 2 threads in the same VM, 
in 2 different JVMs. And (as I suspect it would be) if u get the same 
collisions (tx deadlocks?), your problem resides at the server side.




The problem does not occur when multiple users (i.e., many different 
clients, each with its own JVM) are on the system.  This leads me to 
believe it is not a fundamental server-side problem.  It only occurs 
when two threads from the same client make simultaneous calls.  Please 
see my reply to Alex Loubyansky for the relevant stack traces.

Thanks,

Beau


Regards,
Horia



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user







---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


If u are using Pessimistic Lock policy , any call on a CMP entity (even 
if the method is a get* one) will register the bean instance in the 
current Tx and so the bean will be locked. I mean, if u have an 
AccountBean for example and 1 client calls bean1.getName(); 
bean2.getName();  and another client (same or separate JVM) bean2.getName(); bean1.getName(), u will get a deadlock 
eventually.

There are some solutions over this:
1. Order carefully the calls to your entity beans.
2. In 3.2. (some say this is in 3.0.x also but I never tried it here) 
there is a  method level tag that marks a certain method of 
an entity as being RO so the bean won't be blocked by the calling TX.
2. Try the Instance Per Transcation container policy.(but here commit 
option A doesn't make any sense and logical data consistency is not 
guaranteed)
3. In 3.2. there is a OptimisticLock policy implementation.(AFAIK commit 
option A doesn't make sense here either. yet.)

Regards,
horia



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


[JBoss-user] jmx-console/Security/Linux service

2003-01-23 Thread Victor Batista








Hello!

    I am running Jboss 3.0.4 with bundled Tomcat
4.0.6 on a Linux Box (RedHat 7.2). I have the service
enabled, because I need to start JBoss automatically
when the machine starts.

    My
problem is related with jmx-console. The service
script, which is under /etc/rc.d/init.d/, uses the jmx-console to Shutdown JBoss. It
doesn’t use it directly, but through the class org.jboss.Shutdown.
Once I need jmx-console, I enabled its security, and
now I can’t shutdown again.

    If
I remove the jmx-console, I can’t shutdown JBoss. If I enable jmx-security,
I can’t shutdown JBoss also. 

    Is
it possible to change the service script to Shutdown JBoss
on a different way? How? Is it possible to pass jmx-console
username/password to the script, how? 

I would prefer the first solution (remove
the jmx-console). Any help for this newbie question
would be appreciated.

 

    Thanks
in advance,

    Victor
Batista

 








[JBoss-user] Re: JB 3.0.4, loading classes from JAR in EAR

2003-01-23 Thread Eric Jain
> My EAR contains a WAR and a JAR.

I'm stuck with the same problem. The procedure outlined in the faq works
fine for accessing classes from my ejb's, but it does not work for war's.

While putting all libraries in default/lib does solve the problem, this is
not a real solution as I need to be able to package all resources into a
single deployable unit. I believe this would be a common requirement, but I
may be wrong.

So, is this a bug or a feature? If it is a feature, what is the rational
behind it? Or is there in fact a solution to the problem I have overlooked?


> the latter actually gave
> additional errors at boot time

You didn't have any ejb's in the jar you put in the lib directory, did you?


--
Eric Jain



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



[JBoss-user] Re: JBoss Project Structure Convert viktorJohn

2003-01-23 Thread Michael Ukpong
Bruce, Victor, John and the rest thanks a lot!. I'm going into a recession to study all the documentations you suggested. I'll be back to give you my progress. 
thanks again
> but I cannot find the mentioned template project!,>try : http://jmvanel.free.fr/jboss3-howto.html> where can I find it and how can I convert my project structure to the > jboss standard? I can hardly wait to start using XDoclet (perhaps a > guide on xdoclet will also help).>-Michael UkpongEnterprise Portal ArchitectSocketWorks Ltd+2348033473455-With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

[JBoss-user] (no subject)

2003-01-23 Thread Astarte Turizm
Turlarŭmŭz:

SAFRANBOLU-ABANT 8-12 ŜUBAT VE 12-16 ŜUBAT 59.975.000 TL x 4 TAKSŬT
KAPADOKYA 9-13 ŜUBAT VE 12-16 ŜUBAT 47.450.000 TL x 4 TAKSŬT
KAPADOKYA 7-10 ŜUBAT 38.725.000 TL X 4 TAKSŬT
ANTALYA 11-16 ŜUBAT 64.975.000 TL x 4 TAKSŬT
ASSOS-KAZDAÐLARI-AYVALIK-ÇANAKKALE 9-13 ŜUBAT VE 12-16 ŜUBAT 59.975.000 TL x 4 TAKSŬT

BULGARŬSTAN- BOROVETS VE PAMPOROVA'DA KAYAK 10-16 ŜUBAT 199 $
BULGARŬSTAN- BOROVETS VE PAMPOROVA'DA KAYAK 12-16 ŜUBAT 139 $


Sitemize bir klik uzaklŭktasŭnŭz.

www.astarteturizm.com
Bizi ve sitemizi ziyaret edin.

SAYGILARIMIZLA
ASTARTE TURŬZM

TEL: ( 0232 ) 4467822
Ŭstanbul: 0542 - 422 32 97 Özcan Güdüloðlu





---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Hot deploy in 3.2.0rc1

2003-01-23 Thread Rupp,Heiko
Hi,

in older versions, I was just able to delete a .ear in deploy/
and it got undeployed. Or I could overwrite it with a new one
which got hot deployed.
In RC1, this is no longer possible, as Win2k complains that the
file is in use.

What can I change to get the old behaviour back?

Is there an operation in the JMX console to set a deployed item free?

Again, this is 3.2.0rc1 on Win2k with JDK1.3.1

Thanks
  Heiko

-- 
Bancotec GmbH  EMail: [EMAIL PROTECTED]
Calwer Str. 33 Telefon: +49 711 222 992 900
D-70173 Stuttgart  Telefax: +49 711 222 992 999
Ein Unternehmen der Cellent AG http://www.cellent.de/


---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Too Slow - Jetty/JBoss FAQ

2003-01-23 Thread Jules Gosnell
look in here (for Jetty) :

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEAD&content-type=text/vnd.viewcvs-markup

Jules




[EMAIL PROTECTED] wrote:

I'm newbe, How to do that? Thanks in advance
  
Herve Tchepannou  
<[EMAIL PROTECTED]>   To: [EMAIL PROTECTED]  
Sent by:cc:   
[EMAIL PROTECTED]Subject: RE: [JBoss-user] Too Slow
eforge.net
No Phone Info Available   
  
01/23/2003 03:56 AM   
Please respond to jboss-user  
  
  






or you can change the default JSP compiler of Tomcat/Jetty to Jikes
which is VERY VERY fast (you'll notice the difference)





---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user