[JBoss-user] Foreign Key with Postgres Failed

2002-12-26 Thread Derek Lin



Hi,
 
I am referring to this thread http://www.jboss.org/forums/thread.jsp?forum=46&thread=11620&message=2564510&q=Foreign+key+constraint+is+not+allowed+for+this+type+of+datastore#2564510
 
JBoss doesn't support Foreign Keys with Postgres 
either?  Can anyone confirm this?
 
This is the error message I got:
 Depends On Me: 
java.lang.IllegalStateException: Foreign key constraint is not allowed for 
this type of datastore]
 
Thanks,
 
Derek


[JBoss-user] CMP Inheritance -- Anyone got it working?

2002-12-19 Thread Derek Lin



Hi,
 
I'll be referring to this thread, http://www.jboss.org/forums/thread.jsp?forum=46&thread=20513&message=3741392&q=cmp+inheritance#3741392
 
I have two beans, UserBean and 
CompanyContactBean.  I want my CompanyContactBean to inherit UserBean, but 
this doesn't seem to be an easy task.  Has anyone done any inheritance work 
with CMP?(using XDoclet too?)  If so, can you please send me some example 
code?
 
Is this another reason to choose JDO over Entity 
beans?
 
Thanks,
 
Derek


[JBoss-user] my application's log4j properties are overriden by jboss's log4j's settings

2002-11-07 Thread Derek Lin



How can I set up jboss to use my application log4j 
setting (on the application level)?
 
Thanks,
 
Derek


Re: [JBoss-user] jboss.net tutorial updates

2002-11-01 Thread Derek Lin
Bruce,

Thanks for the tutorial.

I am not sure if it's too much to ask--but would it be possible if you zip
the tutorial up and provide a download link to the zip?  However, if you
don't like my suggestion, please just ignore my message.

Thanks,

-- Derek
- Original Message -
From: "Bruce Scharlau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 01, 2002 4:16 AM
Subject: [JBoss-user] jboss.net tutorial updates


> Hi all,
>
> sorry this has been so slow in coming, but I'm sure you all know the
story,
> so I won't elaborate ;-)
>
> Anyways, I've now amended the tutorials posted off of
>
> http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/
>
> So there is a simple hello world version at:
>
>
http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-He
lloWorld.shtml
>
> And a more complex version with a jsp page and an ejb at:
>
>
http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJ
B-example.shtml
>
> Please let me know if any of you have problems with these pages.
>
> Also, as soon as I can I'll put up a better binary, which also includes
> cocoon2 support.
>
> 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:scharlau@;csd.abdn.ac.uk
>
>
>
> ---
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] does jboss come with an email server?

2002-10-29 Thread Derek Lin




does jboss come with an email server?  My guess is not, but would like 
to see if anyone can confirm.
Thanks,
Derek


Re: [JBoss-user] JBossNetSubTask.class and jboss-net_xml.xdt

2002-10-28 Thread Derek Lin



just follow the cvs instruction to check out 
jboss-head.  and build the jars.  (go to /build and type 
build)

  - Original Message - 
  From: 
  Ricardo Escalon 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, October 28, 2002 2:32 
  AM
  Subject: Re: [JBoss-user] 
  JBossNetSubTask.class and jboss-net_xml.xdt
  
  Okay just some dumb questions.
   
  I found the class you are using int he CVS of 
  sourceforge.org, but how do I download that version of JBoss, or do I just 
  download the JBossNetSubTask.class and then try and compile it. 
   
  What do I do then, do jar it and drop it on the 
  ant/lib?
   
  Can you give me some steps on how to go about 
  doing this please.
   
  Regards Ricardo (excuse my ignorance, I am a 
  beginner at this)
  
- Original Message - 
From: 
Derek 
Lin 
To: [EMAIL PROTECTED] 

Sent: Sunday, October 27, 2002 6:56 
AM
Subject: Re: [JBoss-user] 
JBossNetSubTask.class and jboss-net_xml.xdt

Anyway, I fixed the problem by using 
this:
    "/>
Don't know if this is the right fix--Because I 
don't know the details of web-service.xml (anyone has a DTD?)
 

  - Original Message - 
  From: 
      Derek 
  Lin 
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, October 26, 2002 
  10:32 PM
  Subject: [JBoss-user] 
  JBossNetSubTask.class and jboss-net_xml.xdt
  
  I am using 
  \xdoclet\modules\jboss\net\JBossNetSubTask.class (the jboss xdoclet 
  subtask for @jboss-net:web-service urn="CompanyHandler").  I am 
  seeing bad web-service.xml being generated (for view-type="both").  
  So I did a little investigation:
   
  If you look at this file 
  \xdoclet-module-jboss-net\xdoclet\modules\jboss\net\resources\jboss-net_xml.xdt 
  and if you look at these lines:
  "/>
   
  You see that it is putting both remote jndi 
  name and local jndi name together.  Here is the result in my 
  web-service.xml file:
  
   
  Is there a  
  tag?  If so, maybe I can fix this on my own.  But is 
  anyone fixing this (any developers reading this?)
   
  Anyone has the similar 
  experience?
   
  Thanks,
   
  Derek


Re: [JBoss-user] @jboss-net:web-service

2002-10-28 Thread Derek Lin



jboss-head is the cvs branch. sorry for the 
confusion.
 
-- Derek

  - Original Message - 
  From: 
  Ricardo Escalon 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, October 28, 2002 1:57 
  AM
  Subject: Re: [JBoss-user] 
  @jboss-net:web-service
  
  Hello Derek,
   
  Great response! But what exactly is that 
  jboss-head? is it a web page or a folder. I've not been able to find 
  it.
   
  Regards
   
  Ricardo
  
- Original Message - 
From: 
Derek 
    Lin 
To: [EMAIL PROTECTED] 

Sent: Sunday, October 27, 2002 1:22 
AM
Subject: Re: [JBoss-user] 
@jboss-net:web-service


I've found it.
 
1) Where do I get the xdoclet module that supports it?
\jboss-head\jboss.net\output\lib\xdoclet-module-jboss-net.jar
 
2) What entries do I need? (build.xml, 
bean.java, etc.)
 (build.xml)
 * @jboss-net:web-service 
urn="CompanyHandler" *    
expose-all="true" (bean.java)
 
-- Derek

  - Original Message - 
      From: 
  Derek 
  Lin 
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, October 26, 2002 4:30 
  PM
  Subject: [JBoss-user] 
  @jboss-net:web-service
  
  Anyone familiar with this xdoclet tag?: 
  @jboss-net:web-service
   
  How do I use it?
   
  1) Where do I get the xdoclet module that 
  supports it?
  2) What entries do I need? (build.xml, 
  bean.java, etc.)
   
  Thanks,
   
  Derek


Re: [JBoss-user] DatabaseServerLoginModule - failing authentication?

2002-10-27 Thread Derek Lin
Neal,

Thanks for your pointers and the offer for further help.

Implementing only the local interface might solve my problem.  But doesn't
that defeats the whole remote access and portability (a bean can be
anywhere) idea behind EJB's? -- What if I host the bean on the different box
than the box in which my web app resides? (would that cause problems with
clustering too? -- I'm thinking ahead here)

How are people doing this in production env.?--Using firewall, ip
detection...?

(I'll address my questions to you when I have problems with the
databaseloginmodule implementation.  Thanks.)

-- Derek
- Original Message -
From: "Neal Sanche" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Derek Lin" <[EMAIL PROTECTED]>
Sent: Sunday, October 27, 2002 4:55 PM
Subject: Re: [JBoss-user] DatabaseServerLoginModule - failing
authentication?


> Well, Derek,
>
> It seems the solution to your problem would be to learn and implement
> a Local interface to the CompanyHandlerBean. That would make it next
> to impossible for anything outside to be able to call it. It would
> only be accessible from within the same JVM. Now, other ways to
> secure the bean would be to firewall the machine and not allow access
> to the RMI lookup ports... but really, I think the best solution is
> to simply not implement a remote interface if you don't need one.
>
> It'll improve performance a little too, although local access to RMI
> classes can be set up to perform like local interfaces too.
>
> If you're talking about restricting access to your registercompany.jsp
> page, you'll have to go through the steps outlined in the other
> messages in this thread to put the .jsp page under a
> security-constraint, set up users and roles for your application, set
> up a login-config and a security domain, and protect that .jsp from
> access by anyone other than users with the declared roles you
> establish. Declarative security.
>
> If you want help with that after you've gone through the steps, I'd be
> happy to expound more on it.
>
> Cheers.
>
> -Neal
>
> On Sunday 27 October 2002 03:43 pm, Derek Lin wrote:
> > I don't know what I am going to ask fits with this thread well.
> > But my question is:
> >
> > Say I  have to a bean, name CompanyHandlerBean.  I want only my web
> > (Tomcat or Jetty) to be able to call the methods (say
> > registerCompany) in this bean. Now there is not log in
> > process.--Any user can go to my registercompay.jsp page.  How do I
> > set up the security that only my web application can access my
> > CompanyHandlerBean?
> >
> > Bascially, I don't want anyone who knows my ip and the name of the
> > bean to call it from anywhere.
> >
> > Any help or pointers will be greatly appreciated.
> >
> > Thanks,
> >
> > Derek
> > - Original Message -
> > From: "Neal Sanche" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; "John Snyder"
> > <[EMAIL PROTECTED]> Sent: Sunday, October 27, 2002 10:58 AM
> > Subject: Re: [JBoss-user] DatabaseServerLoginModule - failing
> > authentication?
> >
> > > On Sunday 27 October 2002 12:26 pm, John Snyder wrote:
> > > > Hello all,
> > > > I am trying to use the DatabaseServerLoginModule with
> > > > jboss-3.0.0_tomcat-4.0.3, using a FORM login. All I am trying
> > > > to do at this point is to secure a JSP page called Office.jsp.
> > > >
> > > > When I try to go to the JSP page, the login page comes up, as
> > > > expected based on the web.xml configuration. When I fill in the
> > > > username and password (for j_username and j_password), then
> > > > click the submit button (action="j_security_check"), the JBoss
> > > > console displays, "Added PC_CloudscapeDbRealm,
> > > > org.jboss.security.plugins.SecurityDomainContext@a631cc to
> > > > map", which I believe is telling me that JBoss is applying the
> > > > PC_CloudscapeDbRealm security realm, which is what I want.
> > > >
> > > > My problem is twofold:
> > > >
> > > > First, I am not authenticated when I log in with a
> > > > username/password combination that should pass authentication
> > > > (the combination is in my security table).
> > >
> > > Well, here's some information from an application that I've been
> > > writing that seems to work just fine. In my web.xml I've
> > > specified a security constraint that looks like this:
> >

Re: [JBoss-user] DatabaseServerLoginModule - failing authentication?

2002-10-27 Thread Derek Lin
I don't know what I am going to ask fits with this thread well.  But my
question is:

Say I  have to a bean, name CompanyHandlerBean.  I want only my web (Tomcat
or Jetty) to be able to call the methods (say registerCompany) in this bean.
Now there is not log in process.--Any user can go to my registercompay.jsp
page.  How do I set up the security that only my web application can access
my CompanyHandlerBean?

Bascially, I don't want anyone who knows my ip and the name of the bean to
call it from anywhere.

Any help or pointers will be greatly appreciated.

Thanks,

Derek
- Original Message -
From: "Neal Sanche" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "John Snyder" <[EMAIL PROTECTED]>
Sent: Sunday, October 27, 2002 10:58 AM
Subject: Re: [JBoss-user] DatabaseServerLoginModule - failing
authentication?


> On Sunday 27 October 2002 12:26 pm, John Snyder wrote:
> > Hello all,
> > I am trying to use the DatabaseServerLoginModule with
> > jboss-3.0.0_tomcat-4.0.3, using a FORM login. All I am trying to do
> > at this point is to secure a JSP page called Office.jsp.
> >
> > When I try to go to the JSP page, the login page comes up, as
> > expected based on the web.xml configuration. When I fill in the
> > username and password (for j_username and j_password), then click
> > the submit button (action="j_security_check"), the JBoss console
> > displays, "Added PC_CloudscapeDbRealm,
> > org.jboss.security.plugins.SecurityDomainContext@a631cc to map",
> > which I believe is telling me that JBoss is applying the
> > PC_CloudscapeDbRealm security realm, which is what I want.
> >
> > My problem is twofold:
> >
> > First, I am not authenticated when I log in with a
> > username/password combination that should pass authentication (the
> > combination is in my security table).
>
> Well, here's some information from an application that I've been
> writing that seems to work just fine. In my web.xml I've specified a
> security constraint that looks like this:
>
> 
> 
> 
> AdminApp
> /admin/*
> POST
> GET
> 
>
> 
> admin
> 
> 
>
> So notice that I've specified some  blocks. I don't think
> it would make a difference, but you could try it (I don't know of
> defaults).
>
> Also, my experience has been that if a page isn't protected with a
> security constraint in an application, then the security credentials
> won't be available to that page. I suppose it makes sense, but it was
> unexpected behaviour to me. But that's probably not your problem
> either.
>
> Now, my login-config in web.xml looks like this:
>
> 
>   FORM
>   Playground
>   
> /login.jsp
> /loginError.jsp
>   
> 
>
> Again, yours is identical, modulo page and realm differences. So
> that's not your problem either.
>
> In my jboss-web.xml file, I have something like this:
>
> 
> java:/jaas/PLAYGROUND
> ...
> 
>
> Again, I think you're good. Now, in my login-config.xml file, I've
> done things a little differently. I am using MySQL, and have set up a
> MySqlDbRealm application-policy similar to your CloudscapeDbRealm. My
> PLAYGROUND application-policy is similar to yours, but it doesn't
> contain a managedConnectionFactoryName option, and the flag is
> 'sufficient' in mine, instead of required.
>
> 
>   
>code="org.jboss.security.auth.spi.DatabaseServerLoginModule"
> flag="sufficient">
> java:/MySqlDS
> SELECT Password FROM
> USERBASE_PRINCIPALS where PrincipalID=?
> SELECT Role, RoleGroup FROM
> USERBASE_ROLES where PrincipalID=?
>  name="unauthenticatedIdentity">guest
>   
>   
> 
>
> Here the unauthenticatedIdentity doesn't seem to have any effect, I
> just put it there to see if it would.
>
> I assume you've tested the SQL statements and they all work for you. I
> can't see any major places that you may have made a mistake.
>
> > Second, if authentication fails, I should be redirected to the
> > failed login page specified in my web.xml file, but I am not --
> > instead, the web browser just displays a Status 403 page, saying,
> > "message Access to the requested resource has been denied" and
> > "description Access to the specified resource (Access to the
> > requested resource has been denied) has been forbidden." Can anyone
> > please explain this behavior, and more importantly, how to fix it?
> > The relevant configuration files are as follows (in relevant part):
>
> Well, I was getting this as well, and what you can do about it is add
> a section to your web.xml file like the following:
>
>   
> 403
> /authorizationError.jsp
>   
>
> The only time I've been able to see the page specified by
>  is if the Roles for a user are not sufficient. If
> the username and password are incorrect, you'll get a 403 instead.
>
> I hope some of this helps you.
>
> Cheers.
>
> -Neal
>
>
>
> ---
> This SF.net email is sponsored by: ApacheCon, November 18-21 in
> Las Vegas (supported by COMDEX), the only Apache event to be
> fully supported by the A

Re: [JBoss-user] JBossNetSubTask.class and jboss-net_xml.xdt

2002-10-26 Thread Derek Lin



Anyway, I fixed the problem by using 
this:
    "/>
Don't know if this is the right fix--Because I 
don't know the details of web-service.xml (anyone has a DTD?)
 

  - Original Message - 
  From: 
  Derek Lin 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, October 26, 2002 10:32 
  PM
  Subject: [JBoss-user] 
  JBossNetSubTask.class and jboss-net_xml.xdt
  
  I am using 
  \xdoclet\modules\jboss\net\JBossNetSubTask.class (the jboss xdoclet subtask 
  for @jboss-net:web-service urn="CompanyHandler").  I am seeing bad 
  web-service.xml being generated (for view-type="both").  So I did a 
  little investigation:
   
  If you look at this file 
  \xdoclet-module-jboss-net\xdoclet\modules\jboss\net\resources\jboss-net_xml.xdt 
  and if you look at these lines:
  "/>
   
  You see that it is putting both remote jndi name 
  and local jndi name together.  Here is the result in my web-service.xml 
  file:
  
   
  Is there a  
  tag?  If so, maybe I can fix this on my own.  But is 
  anyone fixing this (any developers reading this?)
   
  Anyone has the similar experience?
   
  Thanks,
   
  Derek


[JBoss-user] JBossNetSubTask.class and jboss-net_xml.xdt

2002-10-26 Thread Derek Lin



I am using 
\xdoclet\modules\jboss\net\JBossNetSubTask.class (the jboss xdoclet subtask for 
@jboss-net:web-service urn="CompanyHandler").  I am seeing bad 
web-service.xml being generated (for view-type="both").  So I did a little 
investigation:
 
If you look at this file 
\xdoclet-module-jboss-net\xdoclet\modules\jboss\net\resources\jboss-net_xml.xdt 
and if you look at these lines:
"/>
 
You see that it is putting both remote jndi name 
and local jndi name together.  Here is the result in my web-service.xml 
file:

 
Is there a  tag?  
If so, maybe I can fix this on my own.  But is anyone fixing this 
(any developers reading this?)
 
Anyone has the similar experience?
 
Thanks,
 
Derek


Re: [JBoss-user] lookup java:comp/env/

2002-10-26 Thread Derek Lin



Rick,
 
The short name will work ok.  (Because it is 
the JNDI name).  But having the short name working is definitely more 
convenient.
 
I might have found out what the problem 
is.  I think it's my misunderstanding of ejb-ref.  I read some more on 
it.  If I am not wrong, ejb-ref is used to refer to OTHER 
ejb's.
 
So I have it in my company bean:
 
* @ejb:ejb-ref ejb-name="CompanyUser" 
view-type="local" * @ejb:ejb-ref ejb-name="CompanyUser" 
view-type="remote"  
 
After that, this line of code works:
 
CompanyUserLocalHome home = 
CompanyUserUtil.getLocalHome();
 
However, I am not 100% sure when CompanyUserUtil 
now can access the long name (java:comp/env/ejb/CompanyUserLocal), I mean, then 
ejb-ref entry is done in my Company bean (in the ejb-jar.xml), not the 
CompanyUserUtil (there is no entry for CompanyUserUtil in the 
ejb-jar.xml).  Any thoughts?
 
-- Derek
 
- Original Message - 

  From: 
  Rick LaBanca 
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, October 26, 2002 8:02 
  PM
  Subject: Re: [JBoss-user] lookup 
  java:comp/env/
  
  I had this same issue. I Think it may be correct 
  that the ejb doesn't have access to this absolute path you are trying, but not 
  positive.
   
  Anyway, the utility class generated by xdoclet 
  makes two string constants, one of them is the short name you used 
  succesfully. 
   
  My xdoclet was using the longer name too, but I 
  changed something in my class or specs and it started making a util class that 
  used the shorter name. I don't have the code in front of me (not at work now), 
  and I really didn't know then what exactly fixed it. Hope that's a 
  clue.
   
  I find the namespace issues to be confusing to 
  begin with (for most people, the roles of a separate person being an app 
  assembler and deployer are mythical!)
   
  rick
   
   
   
  
From: 
Derek 
Lin 
To: [EMAIL PROTECTED] 

Sent: Saturday, October 26, 2002 9:20 
PM
Subject: [JBoss-user] lookup 
java:comp/env/

I have found that 
initialContext.lookup("java:comp/env/ejb/CompanyUserLocal") won't work with 
JBoss.  Instead, I have to use 
initialContext.lookup("CompanyUserLocal").
 
In my jboss.xml, there is this 
entry:
 
  
 
CompanyUser 
ejb/CompanyUser 
CompanyUserLocal
  

 
I can see how 
initialContext.lookup("CompanyUserLocal") is working, but can't see why 
initialContext.lookup("java:comp/env/ejb/CompanyUserLocal") will not work 
other than the fact the JBoss is not supporting it.  It is supposed to 
be a standard.  More importantly, it is the way Xdoclet generates its 
util classes.
 
Any thoughts?
 
-- 
Derek


[JBoss-user] lookup java:comp/env/

2002-10-26 Thread Derek Lin



I have found that 
initialContext.lookup("java:comp/env/ejb/CompanyUserLocal") won't work with 
JBoss.  Instead, I have to use 
initialContext.lookup("CompanyUserLocal").
 
In my jboss.xml, there is this entry:
 
  
 
CompanyUser 
ejb/CompanyUser 
CompanyUserLocal
  

 
I can see how 
initialContext.lookup("CompanyUserLocal") is working, but can't see why 
initialContext.lookup("java:comp/env/ejb/CompanyUserLocal") will not work other 
than the fact the JBoss is not supporting it.  It is supposed to be a 
standard.  More importantly, it is the way Xdoclet generates its util 
classes.
 
Any thoughts?
 
-- Derek


Re: [JBoss-user] @jboss-net:web-service

2002-10-26 Thread Derek Lin




I've found it.
 
1) Where do I get the xdoclet module that supports it?
\jboss-head\jboss.net\output\lib\xdoclet-module-jboss-net.jar
 
2) What entries do I need? (build.xml, bean.java, 
etc.)
 (build.xml)
 * @jboss-net:web-service 
urn="CompanyHandler" *    
expose-all="true" (bean.java)
 
-- Derek

  - Original Message ----- 
  From: 
  Derek Lin 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, October 26, 2002 4:30 
  PM
  Subject: [JBoss-user] 
  @jboss-net:web-service
  
  Anyone familiar with this xdoclet tag?: 
  @jboss-net:web-service
   
  How do I use it?
   
  1) Where do I get the xdoclet module that 
  supports it?
  2) What entries do I need? (build.xml, bean.java, 
  etc.)
   
  Thanks,
   
  Derek


[JBoss-user] @jboss-net:web-service

2002-10-26 Thread Derek Lin



Anyone familiar with this xdoclet tag?: 
@jboss-net:web-service
 
How do I use it?
 
1) Where do I get the xdoclet module that supports 
it?
2) What entries do I need? (build.xml, bean.java, 
etc.)
 
Thanks,
 
Derek


[JBoss-user] can't build jboss.net example successfully

2002-10-26 Thread Derek Lin
I have cvs the jboss-head.  Building the main app is ok.  But when I tried
to build the jboss.net example, it failed.  It has to do with xdoclet
versions, I think.  I tried to modified the buildfile like changing
xdoclet/xdoclet to xdoclet-xdoclet and so forth.  But the dependencies are
simply too much to follow.

Has anyone successfully built the most recent jboss.net example.  Can you
advise me how to do it?  It will be great if you have successfully modified
the buildfiles and do mind sharing (post them on your website or something).

Thanks,

Derek


---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] directory/war problem in JBOSS

2002-10-26 Thread Derek Lin
I want to know if you can have a context outside of the deploy directory
too.  (You can do that in Tomcat)  But now I am creating a folder ending
with .war, for example, myapplication.war (a folder, not a war) to hold the
jsp and servlets.  So just rename your folder to whatever + .war

-- Derek

- Original Message -
From: "Pankaj Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 26, 2002 5:30 AM
Subject: [JBoss-user] directory/war problem in JBOSS


> Hi,
>
> I have created a application directory which basically contain
> the jsp file and servlet and placed it into the deploy
> directory.when i try to invoke any of the component, the server
> doesn't get it and give error. But if I create the war file of that
> application and place into the the deploy directory, than it works
> fine. Is it necessary to creat war file to run it.
>
> Regards,
>
> Pankaj Kumar Jain
> Tata Consultancy Services
> Phone:00-91-22-8291680 Ext:1150
> Dial Com:1108
>
>
>
> ---
> This SF.net email is sponsored by: ApacheCon, November 18-21 in
> Las Vegas (supported by COMDEX), the only Apache event to be
> fully supported by the ASF. http://www.apachecon.com
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user