[JBoss-user] [JBoss Seam] - How to use Annotation attributes that are variables

2006-07-10 Thread jboss-Nth-Fan
Hi there,

When using Seam annotations I need to use annotation attributes that are not 
string constants.

In this code fragment:
@CreateProcess(definition=myProcessDefinition)  
  | @Begin(nested=true, pageflow=myPageFlowDefinition)
  | public void startProcess() {
  | ...
  | }
  | 
Is it possible to use variables instead of strings like: myProcessDefinition.
I've tried referencing a private variable but I get a compilation error:

The value for annotation attribute CreateProcess.definition must be a constant 
expression

I know that this annotation in particular could be implemented using jBPMs api 
method:
public ProcessInstance newProcessInstance(java.lang.String 
processDefinitionName)

But I would prefer to use annotations (cleaner, compact code).

Is there an elegant workaround or do I just drop this annotation and call their 
corresponding api method.

Thanks for all your possible suggestions.

Yeyo



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

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Got it!

2006-07-10 Thread jboss-Nth-Fan
Thanks for pointing to this component:
jboss-seam\src\main\org\jboss\seam\core\BusinessProcess.java

I was halfway writing a component like this built-in one... Seam could easily 
have a nickname: The jboss Glue

Thanks again!
Yeyo

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

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to use Annotation attributes that are variables

2006-07-10 Thread jboss-Nth-Fan

Thanks Gaving, 
Indeed has businessProcess component has it:
jboss-seam\src\main\org\jboss\seam\core\BusinessProcess.java

I was halfway writing a wrapper like this...seam could have a nickname: The 
JBoss Glue

Thanks again,

Yeyo



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

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Continuously server restarting

2006-07-10 Thread jboss-Nth-Fan
I've been using seam for a while. It's great.

However, one of the things that seems to slow down the development process  is 
that any minor change in the code (even resource files) would require Tomcat to 
restart. - at least in my config -

I've noticed also after one of the RCs that the EJB microcont. now takes 
forever to load.

My environment is Eclipse 3.2, Callisto w/WTP plugin, Tomcat 5.5.x, Seam 
1.0.1GA. The code is based on the DVD example.

I've search the forums but only found other cases that report slugish 
performance but no answer yet.

Would anything in my eclipse/wtp/Tomcat config be changed to avoid restarting 
the server? Any Jira issue to improve performance in EJB embeeded container?

Your suggestions/comments very much appreciated.


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

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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] List Change Announcement: List server move.

2006-07-06 Thread JBoss IT
JBoss List Members,

On July 10th, 2006, our new list server, lists.jboss.org, will  
officially go live. All development lists, including jboss- 
[EMAIL PROTECTED] will officially be moved to the new  
server, at this time. The new list address will be jboss- 
[EMAIL PROTECTED]

Everyone currently subscribed to the SourceForge list will be sent a  
subscription invitation to the corresponding new list on our server  
by July 7th, 2006. Access to the old lists on SourceForge will be cut  
off on July 12th, 2006, though archives will remain available on the  
SourceForge list server for the time being, and a link will be  
provided from our new list server (lists.jboss.org).

Thanks for your patience during this transition.

Sincerely,

JBoss IT
[EMAIL PROTECTED]


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten

2006-07-03 Thread jboss-Nth-Fan
Works great ! Thanks for the reference to the example !


supernovasoftware.com wrote : Have a look at my post on a different matter.
  | 
  | http://www.jboss.com/index.html?module=bbop=viewtopict=85986
  | 
  | I was using an inner class like in the DVD Store example and passing the 
entitymanager to the constructor.
  | 
  | I used @PersistenceContext to inject the EntityManager into the SLSB.

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - How to retrieve current view ?

2006-07-03 Thread jboss-Nth-Fan
After navigating with a Link or by using a PageFlow, how can I retrieve the 
value of the current view in both the newly rendered page itself and inside an 
action ?

s:link view=/myView.xhtml 



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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?

2006-07-03 Thread jboss-Nth-Fan
Thanks for your almost quick response Gavin, great support !

I'm thinking if the JSF viewId would be the correct way to access it or does 
Seam store that reference or handler somewhere else? 
If so how should I access it: standard JSF or via a Seam method ?

Yeyo.

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?

2006-07-03 Thread jboss-Nth-Fan
Thanks Gavin.

Maybe a bit off topic , but in the DVD sample in the login.xhtml page I've 
modified in my own prototype to use s:link instead of the 
anonymous wrote : h:commandLink action=#{editCustomer.startEdit}Create 
Account/h:commandLink
but did not work. I had the idea that both commandLink and s:Link would be 
somewhat interchangable but it seems not.

Can you point to resources providing insight on the differences?

Thanks 


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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Compilation Error: The annotation @Startup is disallowed for

2006-07-03 Thread jboss-Nth-Fan
I got this on an application scoped seam managed bean.
It's in the first method:

@Startup
  | public void initStuff() {   
  | }
  | 

Does the annotated method require a special signature ? or located somewhere 
else?


Thanks

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Compilation Error: The annotation @Startup is disallowed

2006-07-03 Thread jboss-Nth-Fan
The actual compilation error message is:

The annotation @Startup is disallowed for this location


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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Compilation Error: The annotation @Startup is disallowed

2006-07-03 Thread jboss-Nth-Fan
Indeed ! Thanks. Apologize for my confusion.

In a side note, I've been fascinated by the smoothness of Seam, great work!

Yeyo

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - 10 min video broken link?

2006-07-03 Thread jboss-Nth-Fan
I've stumbled on this broken link in the wiki:

http://docs.jboss.com/TrailBlazer/seam-booking/Seam.htm



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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten

2006-07-02 Thread jboss-Nth-Fan
Hello, 

Got same problem, tried same approach, 
but I still get a null instance of EntityManager after adding getInstance to 
the getAsObject method in the custom converter: 

Component.getInstance(em, true);

Questions:
1. Is it that I need to declare the Seam Managed bean em  somewhere else for 
this to be referenced ?
2. Do I need to declare this class as SLSB to be able to use the EntityManager 
instance?


This is the custom converter class : (same as original posting)


  | 
  | @Name(MyCustomConverter)
  | @Scope(ScopeType.EVENT)
  | @Intercept(InterceptionType.ALWAYS)
  | public class MyCustomConverted implements Converter
  | @In(create=true)
  | EntityManager em;
  | 
  | 

Could you please provide any directions, hints or ideas ?

Thanks !


js8523 wrote : Hi 
  | 
  | Worked like a treat. 
  | 
  | 
  |   | /**
  |   |  * Fetches the contract object direct from the database each 
time it is selected 
  |   |  */
  |   | public Object getAsObject (FacesContext context, UIComponent 
component, String value){
  |   | log.debug(getAsObject: Called with value =  + value);
  |   | 
  |   | // Fetch the entity manager from the one managed in 
seam. 
  |   | EntityManager em = 
(EntityManager)Component.getInstance(em, true);
  |   | return (Object)(Contract)em.find(Contract.class, 
Long.valueOf(value).longValue());
  |   | }
  |   | 
  | 
  | Thanks for the help. 
  | 
  | Thinking about the reverse engineering tool, it would be possible to 
automatically generate the different converters as long as each entity had a 
@Id and a field that could be used as the name element (the tricky part). 
  | 
  | As far as extending seam with further annotations, I will have to think 
about this further (i.e. how the converter could be generalised further, to 
lookup any type of entity, rather than converter per entity type). Allow 
possibly the converters could be created and cached at seam scanner time for 
each entity component that had @Selectable annotation?, this scanner task would 
also need to dynamically register the converters with jsf/myfaces which I 
believe is possible using the myfaces Application class (don't know about the 
RI implementation).  
  | 
  | The entity class annotated with @Selectable would have to have an @Id 
attribute and a attribute annotated with something like @SelectionName for the 
displayed name of the object in the selectItems.  I don't know if it possible 
to pass in the function that you want to use dynamically to a function, but if 
it is then its a possibility? 
  | 
  | Just thoughts currently. 
  | 
  | James 


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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - It?s possivel to have JMS with HTTP tunnelling?

2005-01-28 Thread JBoss
It?s possivel to have JMS with HTTP tunnelling, using JBoss3.2.6 or 
JBoss4.0.1???

[EMAIL PROTECTED]

Best Regards


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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: It?s possivel to have JMS with HTTP tunnelling?

2005-01-28 Thread JBoss
I can use JMS with HTTP tunnelling using HTTPConnectionFactory???

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

Thanks

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: xml encription and signature in JBossWS

2005-01-21 Thread JBoss
Hello.
I was also trying to add xml security to my web service
My implementation is independent; it?s not tied to Axis.

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - How to treate two tables as a one table.

2005-01-02 Thread jboss-user
Hi gurus,

we got a table (user_table)holding user info and the number of records in the 
table were getting bigger and bigger.
So we've separated it to two tables( user_table_0, user_table_1) because of the 
performance. ( Of course, both tables has the exactly same schema. )

And now we want to make a CMP that treats both tables as a one table seemlessly.

Is it possible to make it with only one CMP ?
or Do we have to make two CMPs ?

I think if the EJB-QL or JBOSS-QL(?) can take a table name dynamically, we can 
make it..

Thanks in advance.

ps)
Oracle has the functionality that represents two tables as a one table, but no 
luck...we use MySQL.


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - How do I configure an MDB to talk to a remote queue in HAJMS

2004-12-13 Thread JBoss
Hi!!!

I have a MDB in a machine that is outside of a partition that contain two 
machine that make my cluster and have the remote queues. When i deploy the MDB 
everything works fine. But when the master node of the patition goes down and 
the other take control the MDB lets receive messagens send to that machine? 
How can i solve this question???

Thanks in advance!!!

[EMAIL PROTECTED]



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - How do I configure an MDB to talk to a remote queue?

2004-11-22 Thread JBoss
The modifications that i have to do in JBoss files are in the machine that owns 
the MDB or in the other machine where remote queue are?

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

Thanks

[EMAIL PROTECTED]

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JMS and socket

2004-11-02 Thread jboss-xx_user
J2EE1.4 supports invoking an MDB providing it with a message taken from a socket as 
opposed to a queue. 
Could anyone please tell me, whether jboss3.2.x supports the above? If it supports 
where to configure the deployment details?

Thanks in advance
-RK

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Http tunneling port requirements

2004-08-21 Thread jboss
Hello:

I have successfully configured JNDI and EJB tunneling over HTTPS 
with the org.jboss.invocation.http.server.HttpProxyFactory and 
org.jboss.invocation.http.server.HttpInvoker classes in the 
jboss-service.xml file.  All seems to be working well so far and 
my test cases are still functioning well after the config mods.

However, I am still puzzeled by one issue.  I am moving to HTTPS 
tunneling to limit the number of ports required in order to 
enable access through a firewall.  I had hoped and assumed that 
I would be able to get down to a single port (the one configured 
for the HTTPS Invokers).  However, my testing shows that I still 
need two - the HTTPS invoker port plus the standard /tcp 
RMIObject port.  

Is the /tcp really required in addition to the HTTPS port?  
If not, how might I go about finding out what is requiring it as 
I have the appropriate invoker-bindings in all of the jboss.xml 
deployment descriptors in order to use the HTTPS invokers 
exclusively.  How can one remove the need for /tcp 
completely?

Thanks in advance for any and all help!


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] (no subject)

2004-07-15 Thread jboss
JSP precompilation after 3.2.5 upgrade
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello:

I am attempting to upgrade from JBoss 3.0.4 to 3.2.5. However,
following the upgrade,
I can no longer seem to precompile my JSPs as I did before.  The
following build.xml
extract worked fine in 3.0.4:

jspc srcdir=${srcDir} destdir=${jspDir}
  package=${pkgName} verbose=2
 
compilerclasspath=${env.CATALINA_HOME}/jasper-compiler.jar
include name=**/*.jsp /
classpath
pathelement
path=${env.CATALINA_HOME}/servlet-api.jar/
pathelement
path=${env.CATALINA_HOME}/commons-logging.jar/
pathelement
path=${env.CATALINA_HOME}/jasper-compiler.jar/
pathelement
path=${env.CATALINA_HOME}/jasper-runtime.jar/
pathelement
path=${env.XERCES_HOME}/xmlParserAPIs.jar/
pathelement path=${env.XERCES_HOME}/xercesImpl.jar/
pathelement path=${srcDir}/WEB-INF/lib/taglibs.jar/
/classpath
/jspc


Follwing the 3.2.5 upgrade, this now produces errors such as the
following:

[jasperc] org.apache.jasper.JasperException: Unrecognized option:
-v2. 
Use -help for help.

I have also unsuccessfuly tried the apparebtly new, Tomcat 5
recommended 
way of precompiling as follows:

taskdef classname=org.apache.jasper.JspC name=jasper2
classpath
pathelement path=${env.JAVA_HOME}/lib/tools.jar/
fileset dir=${env.CATALINA_HOME}
include name=*.jar/
/fileset
fileset dir=${env.CATALINA_HOME}/
include name=servlet*.jar/
/fileset
fileset dir=${env.CATALINA_HOME}/
include name=commons*.jar/
/fileset
pathelement path=${srcDir}/WEB-INF/lib/taglibs.jar/
/classpath
/taskdef

jasper2
validateXml=false
uriroot=${srcDir}
webXmlFramgment=${srcDir}/WEB-INF/generated_web.xml
outputDir=${jspDir}/


This produces the following error

java.lang.IncompatibleClassChangeError: Implementing class

What am I missing and/or not doing in the new version? This is a
stock 3.2.5 
installation.

Thanks!



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


[JBoss-user] JSP precompilation after 3.2.5 upgrade

2004-07-15 Thread jboss
Hello:

I am attempting to upgrade from JBoss 3.0.4 to 3.2.5. However,
following the upgrade,
I can no longer seem to precompile my JSPs as I did before.  The
following build.xml
extract worked fine in 3.0.4:

jspc srcdir=${srcDir} destdir=${jspDir}
  package=${pkgName} verbose=2
 
compilerclasspath=${env.CATALINA_HOME}/jasper-compiler.jar
include name=**/*.jsp /
classpath
pathelement
path=${env.CATALINA_HOME}/servlet-api.jar/
pathelement
path=${env.CATALINA_HOME}/commons-logging.jar/
pathelement
path=${env.CATALINA_HOME}/jasper-compiler.jar/
pathelement
path=${env.CATALINA_HOME}/jasper-runtime.jar/
pathelement
path=${env.XERCES_HOME}/xmlParserAPIs.jar/
pathelement path=${env.XERCES_HOME}/xercesImpl.jar/
pathelement path=${srcDir}/WEB-INF/lib/taglibs.jar/
/classpath
/jspc


Follwing the 3.2.5 upgrade, this now produces errors such as the
following:

[jasperc] org.apache.jasper.JasperException: Unrecognized option:
-v2. 
Use -help for help.

I have also unsuccessfuly tried the apparebtly new, Tomcat 5
recommended 
way of precompiling as follows:

taskdef classname=org.apache.jasper.JspC name=jasper2
classpath
pathelement path=${env.JAVA_HOME}/lib/tools.jar/
fileset dir=${env.CATALINA_HOME}
include name=*.jar/
/fileset
fileset dir=${env.CATALINA_HOME}/
include name=servlet*.jar/
/fileset
fileset dir=${env.CATALINA_HOME}/
include name=commons*.jar/
/fileset
pathelement path=${srcDir}/WEB-INF/lib/taglibs.jar/
/classpath
/taskdef

jasper2
validateXml=false
uriroot=${srcDir}
webXmlFramgment=${srcDir}/WEB-INF/generated_web.xml
outputDir=${jspDir}/


This produces the following error

java.lang.IncompatibleClassChangeError: Implementing class

What am I missing and/or not doing in the new version? This is a
stock 3.2.5 
installation.

Thanks!


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


[JBoss-user] !!2003/8/21 05:38:19 jboss-user@lists.sourceforge.net

2003-08-21 Thread jboss-user
 :
  ¡@
  
  
  
  
 





   
  
  
  
  
 



















---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] !!2003/7/11 03:11:48 jboss-user@lists.sourceforge.net

2003-07-10 Thread jboss-user
 :
  ¡@
  
  
  
  
 





   
  
  
  
  
 



















---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] 13:15:47

2003-06-09 Thread jboss-user




,remove [EMAIL PROTECTED] 
  
  


   


  
   

  


   www.mailfair.com
---

  
[]  
  
  2000 
  

  http://www.freeway.cn/pages/agent.htm 
  

  



13:15:47


---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] CMR uses the default datasource in stead of the one specifically specified for the CMP 2.0 EJB entity beans concerned

2003-03-31 Thread Jboss Percy
I use the normal download (with Tomcat integrated) from the Jboss Site
jboss-3.0.6_tomcat-4.1.18.
Here is the release log.
JBoss Release: JBoss-3.0.6 CVSTag=JBoss_3_0_6
How and where can I get that latewst release? Is that build or do I have
to retrieve the sources and build 
My own version from a merge?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Loubyansky
Sent: maandag 31 maart 2003 13:40
To: Jboss Percy
Subject: Re: [JBoss-user] CMR uses the default datasource in stead of
the one specifically specified for the CMP 2.0 EJB entity beans
concerned


What JBoss version are you using?
This was fixed in Branch_3_2 recently.

alex

Monday, March 31, 2003, 2:05:25 PM, Jboss Percy wrote:

JP I am new to JBoss and to MySql (although the problem has not 
JP specifically to do with MySql). I am trying to port a rather large 
JP application from Borland BES 5.2 to JBoss 3.06 and ran in a little 
JP problem. The application uses different databases, which I all 
JP hosted to MySql. Each deployable unit has its own database with its 
JP own tables. This situation prevents me from using the simple 
JP solution of setting a single database a default data source (in the
JP JbossInstallDir\server\default\conf\standardjaws.xml and 
JP JbossInstallDir\server\default\conf\standardjbosscmp-jdbc.xml) 
JP So I define my multiple data sources in multiple
mysql--service.xml
JP files (one per database) and configure each of these services in the
JP JbossInstallDir\server\default\conf\login-config.xml)

JP All runs fine except for the CMR. When I create a new (EJB 2.0 
JP entity
JP bean) relation I see that the Hypersonic SQL driver is selected
in-stead
JP of the MySql one, although I specifically specified the datasource
JP element of EJB 2.0 CMP each entity bean. On top I cannot specify the
JP datasource element in the relation (It is specified in the
entity
JP element although but that seems to be ignored in the relationship
JP elements that uses these entities). Both entities that are parts of
the
JP relation are in the same datasource (read database).
JP I can of course also include a defaults element in the
JP jbosscmp-jdbc.xml file in the deployed unit but there again that
would
JP be for the whole deployable unit (which could contain may different
JP entity beans which would not necessarily all use the same datastore.
My
JP guess is that the relationships should automatically inherit
whatever
JP datastore specification the entity bean to which the relationship
JP belongs has. This seems logic as I cannot understand where the data
JP should be stored elsewhere as in the same database as the rest of
the
JP data of the bean.

JP Has anyone an Idea of how to overcome this problem.

JP Thanks for any advance.

JP Percy Christian

JP [EMAIL PROTECTED]




---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: Re[2]: [JBoss-user] CMR uses the default datasource in stead of the one specifically specified for the CMP 2.0 EJB entity beans concerned

2003-03-31 Thread Jboss Percy
I will try it, thanks for the information

Christian


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Loubyansky
Sent: maandag 31 maart 2003 15:02
To: Jboss Percy
Subject: Re[2]: [JBoss-user] CMR uses the default datasource in stead of
the one specifically specified for the CMP 2.0 EJB entity beans
concerned


Just ported the fix to JBoss_3_0.

You need to check out the source from CVS and build it yourself. For 3.0
version: cvs -z3
-d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss
co -r Branch_3_0 jboss-3.0

alex

Monday, March 31, 2003, 3:02:15 PM, Jboss Percy wrote:

JP I use the normal download (with Tomcat integrated) from the Jboss 
JP Site jboss-3.0.6_tomcat-4.1.18. Here is the release log.
JP JBoss Release: JBoss-3.0.6 CVSTag=JBoss_3_0_6
JP How and where can I get that latewst release? Is that build or do I
have
JP to retrieve the sources and build 
JP My own version from a merge?


JP -Original Message-
JP From: [EMAIL PROTECTED]
JP [mailto:[EMAIL PROTECTED] On Behalf Of Alex 
JP Loubyansky
JP Sent: maandag 31 maart 2003 13:40
JP To: Jboss Percy
JP Subject: Re: [JBoss-user] CMR uses the default datasource in stead 
JP of the one specifically specified for the CMP 2.0 EJB entity beans 
JP concerned


JP What JBoss version are you using?
JP This was fixed in Branch_3_2 recently.

JP alex

JP Monday, March 31, 2003, 2:05:25 PM, Jboss Percy wrote:

JP I am new to JBoss and to MySql (although the problem has not
JP specifically to do with MySql). I am trying to port a rather large 
JP application from Borland BES 5.2 to JBoss 3.06 and ran in a little 
JP problem. The application uses different databases, which I all 
JP hosted to MySql. Each deployable unit has its own database with its

JP own tables. This situation prevents me from using the simple 
JP solution of setting a single database a default data source (in the
JP JbossInstallDir\server\default\conf\standardjaws.xml and 
JP JbossInstallDir\server\default\conf\standardjbosscmp-jdbc.xml) 
JP So I define my multiple data sources in multiple
JP mysql--service.xml
JP files (one per database) and configure each of these services in 
JP the
JP JbossInstallDir\server\default\conf\login-config.xml)

JP All runs fine except for the CMR. When I create a new (EJB 2.0
JP entity
JP bean) relation I see that the Hypersonic SQL driver is selected
JP in-stead
JP of the MySql one, although I specifically specified the datasource 
JP element of EJB 2.0 CMP each entity bean. On top I cannot specify 
JP the datasource element in the relation (It is specified in the
JP entity
JP element although but that seems to be ignored in the relationship 
JP elements that uses these entities). Both entities that are parts of
JP the
JP relation are in the same datasource (read database).
JP I can of course also include a defaults element in the 
JP jbosscmp-jdbc.xml file in the deployed unit but there again that
JP would
JP be for the whole deployable unit (which could contain may different

JP entity beans which would not necessarily all use the same 
JP datastore.
JP My
JP guess is that the relationships should automatically inherit
JP whatever
JP datastore specification the entity bean to which the relationship 
JP belongs has. This seems logic as I cannot understand where the data

JP should be stored elsewhere as in the same database as the rest of
JP the
JP data of the bean.

JP Has anyone an Idea of how to overcome this problem.

JP Thanks for any advance.

JP Percy Christian

JP [EMAIL PROTECTED]




---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Problem to create a stand-alone Server implemented as a PortableRemoteObject

2003-03-31 Thread Jboss Percy
I have an EJB Enterprise application that was previously running under
BES 5.2 / Visibroker and which I am porting to JBoss 3.0.6 with tomcat
4.1.18.
I already ported some EJB and that seems to go OK. 

This application also uses some stand-alone Java servers. 
Some of these servers are implemented by extending
javax.rmi.PortableRemoteObject.

With Visibroker I had to define the javax.rmi.CORBA.StubClass and
javax.rmi.CORBA.UtilClass as respectively
com.inprise.vbroker.rmi.CORBA.StubImpl and
com.inprise.vbroker.rmi.CORBA.UtilImpl

Now of course the values of these properties can't be right (as they are
Visibroker specifc).

When I remove them the javax.rmi.PortableRemoteObject.exportObject
method thows a StubNotFoundException when my implementation of the
javax.rmi.PortableRemoteObject gets instantiated. The construction
invokes the sun.rmi.server. getStub method itself invoked by the
sun.rmi.server.UnicastServerRef..setSkeleton method which is called
during the construction of the javax.rmi.PortableRemoteObject.

Has anyone any idea what the differences are that I have to account for
in order to successfully implement a remote Server (which is implemented
as an extension of a PortableRemoteObject) and what properties (or
whatever other stuff) has to be defined.

Once the Server is instantiated it will bind itself using the
InitialContext. (created with the properties
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces).

The idea is to have stand-alone java client look this server up and use
it and that this server can attach and use EJB (Session) Beans deployed
in the JBoss server.

Thanks for any suggestion.

Percy Christian

[EMAIL PROTECTED]


---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Authentication problem when using JMS testQueue

2002-09-23 Thread jboss-user

Hi,

I am trying to connect to the testQueue JMS queue in JBoss. I have read
the forums about jdk versions etc, but please read on.

I can connect both local and remotely to JBoss-3.0.3RC1 queue using both
jdk 1.4.0_01 and 1.4.0_02 on client and 1.4.0_01 on server.
I can connect locally to JBoss-3.2.0beta queue, but not remotely even
though server and client both uses 1.4.0_02. In this situation I get the
normal cannot authenticate user exception...

Is the jdk version the only culprit here or must I configure something?

P.S. Sorry if this might be in mailing list archives, I tried searching
but it seems to be inaccessible on Sourceforge...

-- 
Alwyn Schoeman
SMART Money Inc.

The clock on the wall keeps moving, time stands still...
 No matter how the dice may fall, someone else always gets to call the number...



msg21388/pgp0.pgp
Description: PGP signature


Re: [JBoss-user] JBoss/Tomcat Question

2002-08-12 Thread jboss-user

You can easily migrate fom 3.0. Just copy catalina dir from 3.0 into
3.0.1 and remove jbossweb.sar directory from deploy and copy
tomcat4-service.* from 3.0 deploy into 3.0.1 deploy dir. Should
work...:) Martin Vanek
 Is there going to be a release of
 JBoss-3.0.1Final/Tomcat-4.0.3 ?

 Greg



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] (no subject)

2002-08-10 Thread jboss-user

Hi. I'm trying to upgrade my app from JBoss 3.0 to 3.0.1 but serious
problem occurs. I'm using Firebird JCA-JDBC driver(beta) and after
several several requests I'm getting this exception. DataSource is
configured defaultly(./doc/examples/jca) with corrected error
(name-service) Thx for any help. 2002-08-10 19:58:09,781 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Desuser.findByPrimaryKey]
Find failed java.sql.SQLException: Problem getting onnection:
javax.resource.ResourceException: Interrupted while requesting
permit! at
rg.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:100)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:92)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(JDBCFindEntityCommand.java:44)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntity(JDBCStoreManager.java:541)
at
org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManager.java:336)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:301)
at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:634)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine
r.java:1116)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:209)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:88)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:79)
at
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:111)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:105)
at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:129)
at
org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487)
at
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:230)
at
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
at $Proxy258.findByPrimaryKey(Unknown Source)
at
com.silicium.des.ejb.controller.ClientFacadeBean.getDesuserLocal(ClientFacadeBean.java:47)


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss Application server / containers / J2EE spec

2002-03-25 Thread JBoss XDoclet

Hello jboss-user,

Can someone help me to understand  more about J2EE terms ?

What I understant is that JBoss IS an application server, and that FOR
EACH deployed application there is a specific container. Right ?

The application server provide SERVICES to containers (transactions,
pooling, security...)

BUT BUT BUT does the J2ee spec say something about the possiblity to
use one container with a J2ee server from another provider ? i.e is
there some standard contract between containers and servers ?

Thanks

-- 
Best regards,
 JBoss  mailto:[EMAIL PROTECTED]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] petstore 1.1.2

2001-07-15 Thread jBoss Monkey

After following these instructions step by step I was able to deploy petstore
successfully, but when I access the application in web browser, I get the following
error:

All Rights Reserved.
[InstantDB] Started
[DefaultDS] Starting
[DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
[DefaultDS] Started
[Service Control] Started 27 services
[Default] JBoss 2.2.2 Started in 0m:16s
2001-07-15 01:05:54 - Ctx( /estore ): Exception in: R( /estore + /control + /lan
guage) - com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureExcep
tion: CatalogDAOFactory.getDAO:  NamingException while getting DAO type :
catalog not bound
at com.sun.j2ee.blueprints.petstore.control.web.CatalogWebImpl.init(Ca
talogWebImpl.java:36)
at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getCatalogM
odel(ModelManager.java:84)
at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.init(ModelM
anager.java:61)
at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainSe
rvlet.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
05)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.
java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743
)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:501)
at java.lang.Thread.run(Unknown Source)

Any ideas ??

JM

===

Cuong Tran wrote:

  Ok, I finally got around to do it.  The attached zip file contains all
 files that I changed/added to make petstore work.  Since I wanted to use
 Hypersonic, I had to replace CatalogDAOImpl and OrderDAOImpl with slightly
 modified version (CatalogDAOHypersonic and OrderDAOHypersonic).

 The instructions are similar to the 1.1.1 version so you can refer to jboss
 documention for more info.

 --- Jonah Peskin [EMAIL PROTECTED] wrote:
  Hell yeah!  I've been trying to do this (with Cloudscape) all week.  Please
  fill us in on the details! (any and all config files would be great too!)
 
  Thanks!
 
  Jonah
 
I have managed to successfully deploy petstore 1.1.2
  on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database.
  If anyone is interested, I'm willing to share what I've done.
 
 

 =
 Cuong Q. Tran [EMAIL PROTECTED]

 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/

   
  Name: jps1.1.2-change.zip
jps1.1.2-change.zip   Type: Zip Compressed Data (application/x-zip-compressed)
  Encoding: base64
   Description: jps1.1.2-change.zip


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] communication between to two EJB (deployed in two jboss Server)

2001-06-29 Thread JBoss



Hi Friends,

how to call bean to bean where each bean deployed 
in different jboss server running in separate machines,

Caller BEan (Stateless Session 
Bean)-Properties p=new 
Properties();p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");p.put(Context.PROVIDER_URL,"192.168.1.3:1099");

Context init=new 
InitialContext(p);com.comm.GiverHome 
home=(com.comm.GiverHome)init.lookup("java:comp/env/GIVER");

file://com.comm.GiverHome home = 
(com.comm.GiverHome)//PortableRemoteObject.narrow(objref,com.comm.GiverHome.class);com.comm.Giver 
giver=home.create();

giver.giving();

pls give the appropriate solutionand give 
example of this probs and deployment file

thank
Vijayanathan
([EMAIL PROTECTED])


[JBoss-user] Please Help !!

2001-06-04 Thread Binoy's Jboss

Hello !!
This is to inform you that my messages have not been posted on the list
since a long time..
i have been mailing my problems regurlarly.. but i never see my messages on
the list
Help in this regard will be appreciated
Thanks !!
Binoy



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Tomcat authentication problem

2001-04-19 Thread jBoss Monkey

This problen is most probably caused by  the inability of tomcat services to pass on 
the credential properly to the jBoss. The
solution is to update your  tomcat-services.jar with the latest code in contrib module.

good luck

~jm

Hein Saris wrote:

 Hi,

 I have successfully installed jBoss2.2+Tomcat and have deployed an
 application.
 I have secured my EJB beans with JAAS.
 When I access my beans with a Java client, I can use my ejb beans without any
 problem after logging in.
 If I try to access my beans from within a jsp (through a bean), I get the
 following error:

 [PersonBean] javax.security.auth.login.LoginException:
 java.lang.NullPointerException
 at
 
org.jboss.security.auth.SecurityAssociationHandler.getPassword(SecurityAssociationHandler.java:125)
 at
 
org.jboss.security.auth.SecurityAssociationHandler.handle(SecurityAssociationHandler.java:83)
 at
 javax.security.auth.login.LoginContext$4.run(LoginContext.java:731)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 
javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(LoginContext.java:727)
 at
 
org.jboss.security.plugins.samples.UsernamePasswordLoginModule.getUsernameAndPassword(UsernamePasswordLoginModule.java:133)
 at
 
org.jboss.security.plugins.samples.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:76)
 at
 
org.jboss.security.plugins.samples.JaasServerLoginModule.login(JaasServerLoginModule.java:105)
 at java.lang.reflect.Method.invoke(Native Method)
 at
 javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
 at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
 at
 javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
 at
 javax.security.auth.login.LoginContext.login(LoginContext.java:449)
 at
 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:332)
 at
 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:301)
 at
 org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:193)
 at
 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:209)
 at
 org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:144)
 at
 org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
 at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
 at
 
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java:436)
 at
 org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:212)
 at $Proxy62.findByPrimaryKey(Unknown Source)
 at
 be.idewe.planning.bean.PersonBean.processRequest(PersonBean.java:68)
 at
 
planning._0002fplanning_0002fperson_0002ejspperson_jsp_1._jspService(_0002fplanning_0002fperson_0002ejspperson_jsp_1.java:102)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
 org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
 at
 org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)

 [PersonBean]at
 javax.security.auth.login.LoginContext.invoke(LoginContext.java:650)
 [PersonBean]at
 javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
 [PersonBean]at
 javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
 [PersonBean]at java.security.AccessController.doPrivileged(Native Method)
 [PersonBean]at
 javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
 [PersonBean]at
 javax.security.auth.login.LoginContext.login(LoginContext.java:449)
 [PersonBean

Re: [JBoss-user] BindException when starting Jboss-tomcat2.2

2001-04-19 Thread jBoss Monkey

Are you sure you do not have any other instance runing at the same time using
the same address. ??

~jm



Arun wrote:

 when i start jboss using run.sh
 im getting this error

 [EmbeddedTomcat] Starting
 [EmbeddedTomcat] Starting EmbeddedTomcat
 2001-04-18 01:14:47 - ContextManager: Adding context Ctx( /examples )
 2001-04-18 01:14:47 - ContextManager: Adding context Ctx( /admin )
 [EmbeddedTomcat] Starting tomcat. Check logs/tomcat.log for error messages
 2001-04-18 01:14:47 - ContextManager: Adding context Ctx(  )
 2001-04-18 01:14:47 - ContextManager: Adding context Ctx( /test )
 [EmbeddedTomcat] java.net.BindException: Address already in use
 
 
 

 finally JBoss is started...
 Is there any problem

 thanx
 Arun

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Illegal Access Exception

2001-04-01 Thread jBoss Monkey

That will be great. Looking forwardfor  this fix. Thanks, ~jm

From: Dan Christopherson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Re: [JBoss-user] Illegal Access Exception 
Date: Fri, 30 Mar 2001 16:19:53 -0600 (CST) 
 
On Fri, 30 Mar 2001, jBoss Monkey wrote: 
 
  
  I had this project running for a while on the previous version of jBoss. 
  Today I did the build with the latest bits from cvs. I have used the same 
  old user and role properties files, callback handler etc... Here is the 
  exception I got. 
  
  Could some one figure out, what is going on in here. As there is illegal 
  access on org.jboss.ejb.MethodInvocation@f1a31 and not on the method on 
  my Bean. 
Oops. That should give you the name of the method. I'll fix this and 
update CVS tonight. 
 
  
  Thanks, 
  
  ~jm 
  
   
  
  [Mail Service] Mail Service 'Mail' bound to java:/Mail 
  [Mail Service] Started 
  [Service Control] Started 25 services 
  [Default] JBoss 2.1-BETA-Mar-26-2001 Started in 0m:24s 
  [JAASSecurity] User 'guest' authenticated. 
  [LocatorBean] Illegal access, principal=guest 
  method=org.jboss.ejb.MethodI 
  nvocation@f1a31 
 
-- 
Dan Christopherson (danch) 
nVisia Technical Architect (www.nvisia.com) 
 
Opinions expressed are mine and do not neccessarily reflect any 
position or opinion of nVISIA. 
 
--- 
If you're a capitalist and you have the best goods and they're 
free, you don't have to proselytize, you just have to wait. 
-Eben Moglen 
 
 
 
___ 
JBoss-user mailing list 
[EMAIL PROTECTED] 
http://lists.sourceforge.net/lists/listinfo/jboss-user 
Get your FREE download of MSN Explorer at http://explorer.msn.com

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Tomcat + Apache using mod_jk

2001-03-29 Thread jBoss Monkey

Eventually, I was able to integrate Apache with jBoss/Tomcat(embeded), with manually created mod_jk conf file. The only thing i wondered, that I had to use JkMount directive even for j_security_check, which was supposed to be understood by apache by default  to access secure application. 
Thanks everyone for sharing the views, they were very useful.
~jm

From: "Scott M Stark" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] Tomcat + Apache using mod_jk 
Date: Thu, 29 Mar 2001 13:47:51 -0800 
 
I read the question as "when I use tomcat embeded in JBoss I don't see 
the mod_jk.conf-auto created ..." with a subsequent question as to how to 
use Apache. I was just commenting on why there would not be a 
mod_jk.conf-auto created. 
 
- Original Message - 
From: "Dan Christopherson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 29, 2001 12:49 PM 
Subject: Re: [JBoss-user] Tomcat + Apache using mod_jk 
 
 
  The question was on using Apache to front end Tomcat+JBoss 
  
  On Thu, 29 Mar 2001, Scott M Stark wrote: 
  
   If your not using Apache why would it be used? 
Get your FREE download of MSN Explorer at http://explorer.msn.com

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user