[JBoss-user] [JBossCache] - Cannot Replicate in seprate JVM

2005-04-20 Thread mlrathod
Hi
 I am using TreeCache Aop (with default replSync-service.xml). I am not able to 
replicate the Aop enabled objects in Cache on seprate JVM. Treecache works fine 
on seprate JVM.

Exact Scenario
1. Put Aop enabled measure Object on JVM A
2. Get same object on JVM B (this does not return null but an object which does 
not contain any fields)
What might be problem I am using Jbosscache 1.01
Any help will be appreciated





  

  




public class Measure implements Serializable{

private int id;
private String name;
/**
 * @return Returns the id.
 */
public int getId() {
return id;
}
/**
 * @param id The id to set.
 */
public void setId(int id) {
this.id = id;
}
/**
 * @return Returns the name.
 */
public String getName() {
return name;
}
/**
 * @param name The name to set.
 */
public void setName(String name) {
this.name = name;
}
}


Regard
Mukesh rathod


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.

2005-04-20 Thread xgj6688
I really download the code, but everytime, I was told that I am not authorized 
to view Downloads. Please login or create an account, ewen I login. I think  
maybe there is something wrong with Jboss website.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.

2005-04-20 Thread [EMAIL PROTECTED]
That is incorrect.  Go to docs.jboss.org and download the code for the getting 
started guide.  jboss-j2eesrc.zip is in there.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke's bank application doesn't start

2005-04-20 Thread [EMAIL PROTECTED]
I have run it. :) 

The latest getting started guide available at docs.jboss.org works just fine 
with JBoss 4.0.1 and J2EE Tutorial 1.4.  


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke's bank application doesn't start

2005-04-20 Thread alphaman26
Was anybody able to get the Duke Bank's application running successfully on 
JBoss 4.0? 

Thanks,

Praveen.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.

2005-04-20 Thread alphaman26
OK go to the following link
http://java.sun.com/j2ee/1.3/download.html#tutorial

Find the J2EE tutorial section..Click on the download button.

A Page containing privacy policy will be shown...choose agree

In the next page there are two links one for PDF and other a ZIP file.

Download the Zip file ... (j2ee-1_3-doc-tutorial-draft5.zip, 4.51 MB). That is 
your j2ee-src.zip

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - I cann't find jbossj2ee-src.zip file! Please help.

2005-04-20 Thread xgj6688
Where can I find jbossj2ee-src.zip which is mentioned in Chapter 4. The Duke?s 
Bank Application. I cann't find it. Please help me. Thanks


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - I cann't find jbossj2ee-src.zip file! Please help.

2005-04-20 Thread xgj6688
Where can I find jbossj2ee-src.zip which is mentioned in Chapter 4. The Duke?s 
Bank Application. I cann't find it. Please help me. Thanks


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - NOVICE: plese help to deploy simple app

2005-04-20 Thread maxll
JBoss 3.2.5: 
I wrote simple app with EJP SessionBean and Servlet in IDEA 4.5, compilation is 
processed sucesfully but i can not deploy that app to JBoss. 

JBoss LOG from IDEA: 

... 
17:29:24,958 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 
17:29:24,988 INFO [JkMain] Jk running ID=0 time=0/1442 config=null 
17:29:25,138 INFO [EARDeployer] Init J2EE application: 
file:/D:/idea/sample/app/app.ear 
17:29:27,582 ERROR [MainDeployer] Could not initialise deployment: 
file:/D:/idea/sample/app/app.ear 
org.jboss.deployment.DeploymentException: www.jboss.org; - nested throwable: 
(java.net.UnknownHostException: www.jboss.org) 
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316) 
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247) 
at org.jboss.ejb.EJBDeployer.init(EJBDeployer.java:416) 
... 

whats wrong or what can i do/check?

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to get the managed jms connectionfactory outside the

2005-04-20 Thread bensonfungjava
Hi Adrian,

I still don't understand your answer.  I am sorry.  :~(


Benson

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Recommendations on deploying webapp which refers to an exter

2005-04-20 Thread hirowla
I was wondering what is the "recommended" way of handling the situation where a 
web application refers to an external file? HOWEVER I do not want to alter the 
WAR file if possible after deployment (as its produced by another party).

This is one suggested way, which works for Tomcat but doesn't seem to work 
easily for other appservers (including JBoss):
* Look up an environment variable (using JNDI) which specifies the name of the 
file. If that can't be found, use a context parameter from the web.xml.
* Deploy an additional file which specifies the value of this environment 
variable.

I'm unsure how to do something similar in JBoss as above (can't seem to find it 
in the documentation).

Can somebody either:
1. Tell me how to do this in JBoss - specify any environment variables outside 
the WAR/EAR file (like the descriptor file you put in the webapp directory of a 
raw Tomcat installation), OR
2. Suggest a different way to solve this problem, particularly if it is 
portable to other application servers.

Thanks,

Ian

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - where can I find jbossj2ee-src.zip file that is mentioned in

2005-04-20 Thread xgj6688
In section 4.1.1. Preparing the Files  / Chapter 4. The Duke?s Bank Application 
/ JBoss Getting Started Guide 4.0. It is mentioned that a ZIP archive called 
jbossj2ee-src.zip could be found from the same place as the document . But I 
cann't find it. Can anybody  help me? Thanks.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - why IE's dufault encoding is ISO,not UTF-8

2005-04-20 Thread zjwpw
I NOW run my jboss-portal,when my Locale is CHINESE,the page can not get the 
right info,and the IE's default encoding is ISO,and I should set it with 
GB2312,then it can get the right CHINESE character,as if jboss-portal support 
internationalization,I think why not use UTF-8 character encoding,when I run 
application, how can IE set it's encoding with UTF-8 automatic ,but now it's 
encoding always with ISO

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Stop Jboss from deploying and Undeploying beans on start

2005-04-20 Thread ravanih
Hi, 

The reason for the need to restart the server is because as i mentioned earlier 
, the system is still under development and hence most of the time there are 
bugs which causes the EAR file to not deploy properly. Without restarting the 
server if you try to redeploy the EAR file by fixing the bug , Jboss would 
still complain that there is already an instance registered (Jboss seems to 
have this problem when there is an incomplete deployment) and would not deploy, 
unless you restart it. 

Regards,
Hiten


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Changing Queue information on the fly.... through JMX consol

2005-04-20 Thread dookie23
Hi all,

Is there a way to change an attribute value (in an EJB) through the JMX console 
(maybe through some getters/setters)?

I am asking this question because of the following scenario:

I am trying to have an MDB (A) sending messages to MDB (B), and B to C, C to 
D so on...:

A -> B -> C -> D

If I have a new MDB (E), and I need to insert that between A and B:

A -> E -> B -> C -> D

Is there a way to change the queue/B (A is currently accessing) to queue/E at 
run time? I know I could store all the queue information in an XML file or 
something, but Using the JMX console would be an excellent choice for this 
type of thing. This makes chaining queues much easier. I have been digging but 
no solution on the web

Does anyone have any suggestions? Thanks.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Cannot find jaxrpc-mapping for generated type

2005-04-20 Thread [EMAIL PROTECTED]
Try wrapping your array in a javabean. Like so
http://www.jboss.org/wiki/Wiki.jsp?page=WSArrayTypeMapping.

-Jason


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Accessing through JMX (MBean vs. EJB)

2005-04-20 Thread dookie23
Hi all,

Is there a way to change an attribute value (in an EJB) through the JMX console 
(maybe through some getters/setters)?

I am asking this question because of the following scenario:

I am trying to have an MDB (A) sending messages to MDB (B), and B to C, C to 
D so on...:

A -> B -> C -> D

If I have a new MDB (E), and I need to insert that between A and B:

A -> E -> B -> C -> D

Is there a way to change the queue/B (A is currently accessing) to queue/E at 
run time? I know I could store all the queue information in an XML file or 
something, but Using the JMX console would be an excellent choice for this 
type of thing. This makes chaining queues much easier. I have been digging but 
no solution on the web

Does anyone have any suggestions? Thanks.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Modifying EJB's attributes in JMX console...

2005-04-20 Thread dookie23
Hi all,

Is there a way to change an attribute value (in an EJB) through the JMX console 
(maybe through some getters/setters)?

I am asking this question because of the following scenario:

I am trying to have an MDB (A) sending messages to MDB (B), and B to C, C to 
D so on...:

A -> B -> C -> D

If I have a new MDB (E), and I need to insert that between A and B:

A -> E -> B -> C -> D

Is there a way to change the queue/B (A is currently accessing) to queue/E at 
run time?  I know I could store all the queue information in an XML file or 
something, but Using the JMX console would be an excellent choice for this 
type of thing.  This makes chaining queues much easier.  I have been digging 
but no solution on the web

Does anyone have any suggestions?  Thanks.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Cannot find jaxrpc-mapping for generated type

2005-04-20 Thread platinumdragon
Hi,

I have been following the "step-by-step" tutorials on JAX-RPC services.  I have 
tried to be a good newbie and RTFM.  In combination with the JAX-RPC 1.1 
specification, I think I have most of the wrinkles worked out, except:

When deploying, JBoss picks up the war and deploys it (successfully).  There is 
just one warning though:

WARN  [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: 
{http://com.company.project/service/types/arrays/com/company/project/commons}AliasArray

This type has been generated (by wscompile) because of an endpoint interface 
method:
Alias[] getAllAliases();

How can this be missing if it was the same tool that created it in the first 
place?  Indeed, looking in the jaxrpc-mapping.xml file, that type is missing, 
but I'm not exactly sure what to do about it.  Should I put an entry in there 
for it (I don't know much about it, since it isn't one of my classes and I am 
unsure of what type of entry to put in there), or is this indicative of another 
problem?

Thanks for any thoughts on this,
Mike


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: Looking for Jboss Hosting

2005-04-20 Thread [EMAIL PROTECTED]
Just do a google search for jboss hosting and you will find many hits.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Looking for Jboss Hosting

2005-04-20 Thread alltechneeds
Looking for Jboss + Tomcat Hosting

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: error on jboss start: b ad argument for IP_MULTICAST_IF:

2005-04-20 Thread awclemen
Thanks thebadpete, it worked!  the error disappeared.. yea!

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2005-04-20 Thread andresfelipeclaros
thanks, 
Its works.

I had many problems whit this situation.  Almost dont found the solution.

Andres Claros

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: How to write in the ejb-jar.xml file

2005-04-20 Thread ilangocal
Hi Mano
How should I write the jboss.xm file. For example, i am trying to run the 
application given by Budi Kurniawan in the following website:

http://www.fawcette.com/javapro/2003_01/online/j2ee_bkurniawan_01_09_03/default_pf.aspx

I am unable to deploy it. And the author has not mentioned anything of 
jboss.xml. The error message i get is saying that ejb-jar.xml has something 
wrong in it. But i used the same ejb-jar.xml given by the author.

please advise. I am stuck

thanks in advance

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Budi Kurniawan's sample application

2005-04-20 Thread ilangocal
Hi
I have trouble running the following example from Budi Kurniawan'sa article on 
the web:
http://www.fawcette.com/javapro/2003_01/online/j2ee_bkurniawan_01_09_03/default_pf.aspx

I get an error when I try to deploy the Bean, after making the 
StringProcessor.jar

The error says" Failed to deploy. ejb-jar.xml does not follow the right 
format.."

what could be wrong?
Please advise. Thanks in advance


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Jobs@JBoss] - JBoss QA Engineer

2005-04-20 Thread [EMAIL PROTECTED]
Build/QA Developer

Essential Job Functions: 
In this exciting position, you will 
- Revamp and maintain current build system 
- Revamp testsuite from its current monolithic form 
- Set up and automate various benchmarks (JMS, SPecJ, Rubis, etc...) 
- Evaluate webserver based on benchmarks to track our performance progress 
- Track and maintain health of the build and testsuite. 
- Flag developers when new bugs appear that are responsible for 
introducing bugs. 
- Help write regression tests for new features and support questions. 
- Farm the company forums for issues that should have testcases. 

Required Skills and Experience: 
- 2+ years of professional work experience. 
- 2+ years software testing experience using Java, Ant and Junit or similar 
testing frameworks. 
- JBoss experience is desired. 
- Strong analytical and troubleshooting skills with a focus on quality 
assurance. 
- Bachelors Degree in Computer Science or Engineering field is preferred. 


For consideration, please send your resume to: [EMAIL PROTECTED] 


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: CMP - Local EJBs are making distinct calls to the databa

2005-04-20 Thread scswarga
More info:

I am using CMRs. and value objects using the @ejb.relation and 
@ejb.value-object  xdoclet tags.

Example:
/*
 * @ejb.relation
 * name="customer-user"
 * role-name="CustomerUserRelationshipRole"
 * cascade-delete="no"
 * target-ejb="User"
 * target-role-name="UserCustomerRelationshipRole"
 * target-cascade-delete="no"
 * @ejb.value-object
*   compose="CustomerVO"
*   compose-name="Customer"
*   members="CustomerLocal"
*   members-name="CustomerLocal"
*   relation="external"
*/
public abstract CustomerLocal getCustomer();

The generated CustomerCMP has the method implemented as

   public CustomerVO getCustomerVO()
   {
  customerVO = new CustomerVO ();
  try
 {
customerVO .setName( getName() );
customerVO .setAddress( getAddress() );
 }
 catch (Exception e)
 {
throw new javax.ejb.EJBException(e);
 }

  return customerVO;
   }

And as I was profiling the application, it made separate calls to the database 
to get the name and address fields.
So if there are about 10 fields in the table, it would make 10 calls instead of 
one sql statement to retrieve all the field values.

Can anyone solve this problem?



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Delay joining cluster until after servlet bootstrap. (Portin

2005-04-20 Thread plindsay
How can I delay joining cluster until after all servlet bootstraps have 
executed?  This is the normal behavior in WLS 6.1.
Thanks for any pointers.
-phil



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: viewing object creation /collected count

2005-04-20 Thread [EMAIL PROTECTED]
You need jdk5 for this:

http://java.sun.com/j2se/1.5.0/docs/guide/management/jconsole.html


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - How does

2005-04-20 Thread roginsky
A complete TreeCache newby here, so sorry if the questions are less than deep 
and meaningful. Also sorry for the long post...
I'm experimenting with the TreeCacheAop, using "replSync-service.xml" from 
JBossCache-1.2.1.zip file.
After I evict a node, I expect it to be removed from the memory cache, but not 
from the permanent backstore.
When I call "get", I expect it to look first in the memory cache, and if the 
node is not there, load it from the backstore.
However, when I evict a node, and then try to get it, I get null. The node 
seems to be in the backstore (I see files), it's loaded successfully when I 
stop and restart the service. Does it mean that if a node is not accessed for a 
long time and is evicted, I won't be able to "get" it, unless I explicitely 
load it from the backstore?

When I remove a node, I expect it to be removed from the memory and the 
backstore (otherwise, how is it different from "evict"?). However, it looks 
like the node remains in the backstore. Is there any way to remove data from 
the backstore? 

Thanks for your help!

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Clustered Singleton Message Driven Bean

2005-04-20 Thread dfisher
What do I need to do once I have a working MDB to make it a clustered singleton?

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - JSP editor bug?

2005-04-20 Thread marceloverdijk
How does the compile JSP work?
I created a JSP with errors, but none are shown.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.SpyJMSException: OutOfMemoryError

2005-04-20 Thread disrael
We were doing 1) but it is very expensive.  I am switching over to 2) which is 
easy until you play around with server disconnect problem.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Soap/document encoding tweeking

2005-04-20 Thread [EMAIL PROTECTED]
Unfortunately this is hidden axis stuf. Axis internally does a lot of copies, 
so you may want to take a look at your vm memory sizing and adjust it to be 
larger. 

However there are some tricks you can do. You can bypass the rpc layer, and 
build your own message, or you can use attachments if you are sending alot of 
data.

If you really really care about performance, you could use something like 
JSR-173 to stream your message directly from a servlet. 

We have a plan to start addressing performance in our rewrite.

-Jason




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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: migrating to 4.0.1sp1

2005-04-20 Thread [EMAIL PROTECTED]
It does use basic auth. The name:[EMAIL PROTECTED] doesn't care what the auth 
method is, it is nearly identical to filling in the values in the pop-up. If 
you password has a non url friendly character in it, then this will cause 
problems. 

By the way, the underlying security mechanism is being handled by tomcat,  so 
there is nothing special here. You may want to check your security domain 
configuration and make sure it is set up correctly. Also look in the logs and 
see if there is a security exception.

-Jason

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - javamail question in jboss

2005-04-20 Thread thliu0987
javax.naming.NamingException: Name not found java:/Mail

version:jboss 4.0.1 final

jbuilder10 , cause error code below:
public void test() {
InitialContext ctx = null;
javax.mail.Session session = null;
try {
  Properties prop = new java.util.Properties();
  prop.put(InitialContext.INITIAL_CONTEXT_FACTORY,
   "org.jnp.interfaces.NamingContextFactory");
  prop.put(InitialContext.PROVIDER_URL, "jnp://localhost:1099");
  prop.put("java.naming.factory.url.pkgs", "org.jboss.naming.client");
  try {
ctx = new InitialContext(prop);
  }
  catch (NamingException ex) {
ex.printStackTrace();
  }

  Object obj = ctx.lookup("java:/Mail");
  System.out.println(obj.getClass());
  //javax.naming.Reference ref;
  //session =(Session) obj;
  session = (javax.mail.Session) PortableRemoteObject.narrow(obj,
  javax.mail.Session.class); //java:/Mailjava:/
}
catch (Exception ex) {
  ex.printStackTrace();
}
//Store store=session.getStore();
//  Message msg=store.createMessage();
MimeMessage mm = new MimeMessage(session);
Address[] addrs = null;
try {
  addrs = new javax.mail.internet.InternetAddress[] {
  new InternetAddress("[EMAIL PROTECTED]"),
  new InternetAddress("[EMAIL PROTECTED]")};

  mm.setFrom();
  mm.setRecipients(javax.mail.Message.RecipientType.TO, addrs);
  mm.setSubject("title");
  mm.setSentDate(new java.util.Date());
  mm.setContent("this is a test from jboss!", "text/plain");
//Store st = session.getStore();
//st.connect();
  Transport.send(mm);
}
catch (AddressException ex1) {
  ex1.printStackTrace();
}
catch (MessagingException ex2) {
  ex2.printStackTrace();
}
  }


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: problem installing portal

2005-04-20 Thread mthoma
I had the same problem and your solution helped --> thanks a lot for your 
advice!

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - viewing object creation /collected count

2005-04-20 Thread mlybarger
is there a method in jboss (via an MBean perhaps) to view the count of object 
creation/garbage collected?  we're researching some oom exceptions we've been 
having. perhaps we're keeping too many sessions around ( we have an unusually 
high session timeout), but would also like to see if there's perhaps a memory 
"leak".

thanks!
~mark

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: problem installing portal

2005-04-20 Thread LORDs_diakonos
that did it thanks

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - fmt:message inside c:forEach

2005-04-20 Thread mvitale
I'm building an internationalized web app that needs to be deployed on JBoss 
4.0.1SP1.  It's my understanding that JB4 comes with Tomcat 5.0.28 inside it.  
More on that later.

So I have my JSP page, and it contains the following code:


  | 
  | 
  | 
  | 
  | <%--
  | 1
  | --%>
  | 
  | 
  | 
  | 
  | 
  | 
  | 

When I go to view this JSP page inside JB4, I receive the following error:

An exception of the class javax.servlet.jsp.JspException: ServletException in 
'/jsp/oe/OrderList.jsp': Unable to compile class for JSP Generated servlet 
error: 
/usr/local/jboss-4.0.1sp1/server/default/work/jboss.web/localhost/_/org/apache/jsp/jsp/oe/OrderList_jsp.java:176:
 
_jspx_meth_fmt_message_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext,int[])
 in org.apache.jsp.jsp.oe.OrderList_jsp cannot be applied to 
(org.apache.taglibs.standard.tag.rt.core.ForEachTag,javax.servlet.jsp.PageContext,int[])
 if (_jspx_meth_fmt_message_1(_jspx_th_c_forEach_0, _jspx_page_context, 
_jspx_push_body_count_c_forEach_0)) ^ 1 error arose

If, however, I enable the line just containing "1" for the displayed value, and 
comment out the fmt:message and surrounding option tags, the code works and 
displays beautifully inside JB4.  A quick view of the source even shows that 
${result.id} is changing as expected.

So, back to Tomcat, as mentioned above.  I went out and downloaded Tomcat 
5.0.28 from the Jakarta site and installed it locally.  I deployed the exact 
same .war file that's in my JB server/default/deploy directory, and went to the 
same Order List page as above (with the fmt:message enabled).  TC5.0.28 is able 
to display this page correctly, with no problems.

What am I doing wrong?  Why does the same .war file work in standalone Tomcat 
5.0.28, but fails inside JBoss (which contains Tomcat 5.0.28)?

Thanks,
Mike

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: problem installing portal

2005-04-20 Thread gmurray13den
Try copying the following files to the lib directory for your server instance:

JBOSS_HOME/server/all/lib/jboss-remoting.jar
JBOSS_HOME/server/all/lib/jgroups.jar
JBOSS_HOME/server/all/lib/jboss-cache.jar

The last file will fix the specific problem you're having, but you'll get other 
errors that will require the other two as well.  Then, stop and restart your 
server.

GM

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - docs about JndiLoginInitialContextFactory ??

2005-04-20 Thread svandenbussche
Dear all,
I found very little info about JndiLoginInitialContextFactory.
I searched the docs, forum, wiki, tutorials, even google...
So except for the javadoc and the code itself, which I took a look at, does 
anyone have info regarding it's usage.

It seems that while using JndiLoginInitialContextFactory to propagate 
principals and credentials between the servlet container and the ejb container, 
JBoss still needs a loginmodule ( in jboss.xml) for ejb method 
authorization otherwise it won't do any permission check.

So my second question is: if I only want ejb method permission check to be 
activated, which jboss login module should I use as , or 
should I write my own module (if so, what should it be roughly doing since I'm 
not interested in testing passwords at that level)?

Thank you,
Stephane


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Virtual Private Hosting with JVM Partitioning

2005-04-20 Thread astrien
Can anyone answer this question at all?  Here I am a few months later, and I've 
used Resin because no one here seemed to care about this question.  I like 
JBoss - I really do, but if I don't even get an "it can't be done" response, 
then why should I bother with these forums at all?

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Transaction time out

2005-04-20 Thread kakkodi
One problem we face with transaction timeout is that when it is increased 
application seem to hang on unix and linix installations

Problem description

We increased the transaction timeout to 1800(30 minutes) on the unix and linux 
installations. It is jsp-struts-ejb application The normal flow is, on page1 
user clicks on a save button then action initiates the transaction and after 
the sunccesfull save user is taken to a success page.
On unix and linx the application hangs on page1 indefinitly after the user 
clicks the save button but on windows the application goes though the 
transaction and displays the success page.

Also on unix/linux if I close the browser after a while(enough for the 
transaction to go through) and check the database I see that the transaction 
was successfully completed.

Any suggestion what could be wrong?

Regards
-Shaji

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: session bean deployment failed with org.jboss.deployment

2005-04-20 Thread sarika_agrawal
I cleaned my .jar and now I can deploy the bean on the server without any 
exception. The .jar I was creating had a lot of unused libraries in it. I got 
rid all of these libraries, now I am only including the libraries which are 
being used by the bean.

Thanks



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: error on jboss start: b ad argument for IP_MULTICAST_IF:

2005-04-20 Thread thebadpete
Hi folks,

There was an earlier post mentioning the same symtoms. Assuming that you are 
running JBoss on Linux, if your Linux kernel has IPv6 support, you will have 
this problem. If you don't need IPv6 support, you can disable it from the 
kernel and the problem will go away.

For me, I disable it by adding the following in /etc/modprobe.conf:

alias net-pf-10 off

and reboot the Linux box. Don't ask me why, I just follow some websites. Works 
for me. Hope this helps!

Pete

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: jBoss 3.2.4 xercesImpl and jboss-service.xml

2005-04-20 Thread prathima
Even I am facing the same problem. Can anyone know the solution for this.
Thanks
prats

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JAXP 1.3 (from JDK 1.5) with JBoss 4

2005-04-20 Thread cgeer
As far as I can tell, JBoss 4 comes with Xerces/Xalan to update the Crimson 
parser with JDK 1.4.2 to Xerces and make it JAXP 1.2 compliant to meet the J2EE 
1.4 specs. 

JDK 1.5 comes with Xerces (an adapted Xerces at least) already part of it but 
also includes the JAXP 1.3 APIs instead of JAXP 1.2. I was able to remove the 
XML jars from the endorsed directory and run the server with JDK 1.5 but are 
there any concerns with that I haven't realized yet? Essentially I want to be 
able to run JBoss 4 with JAXP 1.3 instead of 1.2.

Do newer library versions invalidate the J2EE certification?

Chris

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Losing my principals.

2005-04-20 Thread JonHurwitz
Sorry, the configuration didn't come through properly last time, here it is 
again.

web.xml

   
  |   
  | AllJSPs
  | *.jsp
  |   
  |   
  | everyone
  |   
  |
  | 
  |
  |   BASIC
  |   User-Basic-Authentication
  |  
  | 
  |
  |   The role required to access restricted 
content
  |   everyone
  |
(To force everyone to log on immediately)


jboss-web.xml


  |java:/jaas/User-Basic-Authentication
  | 

jboss.xml

java:/jaas/User-Basic-Authentication

jboss-service.xml

  
  |  
  |  jboss.security:service=XMLLoginConfig
  |  
  |
  |  
  |
  |   
  |  login-config.xml
  |   
  |
  | 
  |
  |
  |   
  |  org.jboss.security.plugins.JaasSecurityManager
  |   
  |
  | 
  |
  |   
  |  
  |   
  |


jboss-service.xml (in the -tomcat41.sar\meta-inf subdirectory)

  
  |

login-conf.xml


  |
  |   
  |
  | 


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Losing my principals.

2005-04-20 Thread JonHurwitz
First, sorry if this is a variation of an old problem.  I'm new at this and not 
all the documentation is making sense yet.

I'm trying to get some basic authentication set up.  I'm using 
jboss3.2.2/tomcat (but I'm happy to upgrade if needed) and jdk1.4.  My main 
objective is to know who is using the application so I can provide variable 
pages.  I want people to log in when they hit the first page (whichever they go 
for) in the application and all pages will then render differently using 
programmatic code accessed from the jsp.

My problem is that whenever I call down to a service provided by a session ejb, 
the principal is lost.  I can't access it from the session context and on 
return it's no longer available to the httpServletRequest.  I'm using the same 
security domain name at both levels and have tried it with BASIC and FORM 
authorization methods.  As long as I'm just moving from page to page (using 
struts), everything is fine.

I'm not sure what you guys will need to see.  The configuration for FORM uses 
SSL for the login page, but the BASIC one doesn't even do that.  The config I 
used for BASIC is:

web.xml

   
  
AllJSPs
*.jsp
  
  
everyone
  
   

   
  BASIC
  User-Basic-Authentication
 

   
  The role required to access restricted content
  everyone
   

(To force everyone to log on immediately)


jboss-web.xml


   java:/jaas/User-Basic-Authentication



jboss.xml

 java:/jaas/User-Basic-Authentication


jboss-service.xml

  
 
 jboss.security:service=XMLLoginConfig
 
   
 
   
  
 login-config.xml
  
   

   
   
  
 org.jboss.security.plugins.JaasSecurityManager
  
   

   
  
 
  
   



jboss-service.xml (in the -tomcat41.sar\meta-inf subdirectory)

  
  
 

login-conf.xml


   
  
   



Any thoughts or pointers would be much appreciated.


Cheers,

Jon

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Help with the following security exception on JBoss startup

2005-04-20 Thread chetansanghi
10:29:09,557 ERROR [MainDeployer] could not create deployment: 
file:/C:/cp/ThirdParty/jboss-4.0.1sp1/server/default/depl
oy/http-invoker.sar/
org.jboss.deployment.DeploymentException: create operation failed for package 
file:/C:/cp/ThirdParty/jboss-4.0.1sp1/serv
er/default/deploy/http-invoker.sar/; - nested throwable: 
(java.lang.SecurityException: org.jboss.mx.loading.UnifiedClass
Loader3 is not trusted, pd: ProtectionDomain  
(file:/C:/cp/ThirdParty/jboss-4.0.1sp1/lib/jboss-jmx.jar 
)
 [EMAIL PROTECTED]
 
 [EMAIL PROTECTED] (
 (java.util.PropertyPermission java.version read)
 (java.util.PropertyPermission java.vm.name read)
 (java.util.PropertyPermission java.vm.vendor read)
 (java.util.PropertyPermission os.name read)
 (java.util.PropertyPermission java.vendor.url read)
 (java.util.PropertyPermission java.vm.specification.vendor read)
 (java.util.PropertyPermission java.specification.vendor read)
 (java.util.PropertyPermission os.version read)
 (java.util.PropertyPermission java.specification.name read)
 (java.util.PropertyPermission java.class.version read)
 (java.util.PropertyPermission file.separator read)
 (java.util.PropertyPermission java.vm.version read)
 (java.util.PropertyPermission os.arch read)
 (java.util.PropertyPermission java.vm.specification.name read)
 (java.util.PropertyPermission java.vm.specification.version read)
 (java.util.PropertyPermission java.specification.version read)
 (java.util.PropertyPermission java.vendor read)
 (java.util.PropertyPermission path.separator read)
 (java.util.PropertyPermission line.separator read)
 (java.io.FilePermission \C:\cp\ThirdParty\jboss-4.0.1sp1\lib\jboss-jmx.jar 
read)
 (java.net.SocketPermission localhost:1024- listen,resolve)
 (java.lang.RuntimePermission stopThread)
)

)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:237)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
4)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
 

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Class Loader Issues

2005-04-20 Thread jameselliot
Thank you.

I thought it was just a copy and paste mess.. however when I went back and 
checked, it was there.

Strange, copy and pasted the string from firefox into a form on the server.  
Thus it was saved like that in the database.  Time to add trim to the action 
class.

How much time wasted over simple mistakes and daft copy and paste errors.

and to think I should of spotted it myself when it was so obvious, guess you 
don't see it until you paste it into something that will show it to you.

at least its fixed :)  Horrah.. 

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Deployment issue: Need replacement for URLDeploymentScan

2005-04-20 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBAS-1486

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: portal-core.sar

2005-04-20 Thread porrael
i make this question because before it worked in PHP-Nukes but i decided to 
change a Jboss-portal because i am making my practices enterprise, and in this 
company they decided that it made the portal in jboss portal and the subject of 
portlets its all new for me.
As you know in PHP-Nuke its so easy to find modules to place in,
and i thought that it would be equal or easier the work in portlets an d here 
in my country not yet much is handled the subject of portlets and he has been 
difficult but simultaneously beneficial to learn on thisi hope 
understand meand thank you for the answers

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Class Loader Issues

2005-04-20 Thread [EMAIL PROTECTED]
Explain why there is a ^M(carriage return, part of win32 \r\n eol sequence) on 
a linux machine log.


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: migrating to 4.0.1sp1

2005-04-20 Thread sonic-dre
Thanks Jason this works,

but now my wsdl files are in the context directory
/my-context-that-i-want and these wsdl files have 
a security-constraint. This is good because my servicedescription 
is now protected, but if myself cant access them is this problematic.

I tried it via simple HTTP Authentification:

  | name:[EMAIL PROTECTED]/myService?wsdl
  | 
it doesnt work, probably the password is digested?,
but the Realm  is BASIC.

somewhere in this forum, I saw that there exists an jboss Class
extending ServiceFactory with new createService Methods, but I want use only 
the jaxrpc api classes.

Are there soloutions?

greetings to the men from the Snoqulamie Pass,
I wanna be there to.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: problem installing portal

2005-04-20 Thread LORDs_diakonos
here is the error on hibernate.  This is a clean jboss install11:02:55,999 WARN 
 [ServiceController] Problem starting service portal:service=Hibernate
java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Can't deploy EJB WebService

2005-04-20 Thread scooter4j
doh!  what a dummy I am.  I hadn't included the mapping.xml file in my 
deployment.  After adding it the web service deployed correctly.
Scott

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Soap/document encoding tweeking

2005-04-20 Thread md5georg
Hello,

In my current project we deliver through document literal style very large Soap 
responses (up to 700kB). The creation of these documents takes a lot of cpu. 

Is there any way of tweeking JBoss in the creational process of such a 
document? Or is this hidden Axis stuff...? Is there any magical profiling that 
can be set? Can a Soap response be partitionally pushed on the wire before it 
is totaly finished?



(JBoss 4.0.2 RC1)

Best regards,

Georg

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: how to configure ssl in jboss server

2005-04-20 Thread romm
Hello Juha and others,

I attempted to follow the JBoss 4 documentation (chapters 8 and 9) to simply 
configure HTTP over SSL, but its not that simple.  Does anyone have any 
suggestions for common problems encountered?  I've copied the 'chap8.keystore' 
file to jboss/server/default/conf/ and edited the 
jbossweb-tomcat50.sar/server.xml document.  I am unable to establish a secure 
connection to jmx for testing.

Do I also need to make and sign a Certificate Signing Request (CSR) for the 
Certificate Authority?  

The instructions found at 
http://www.theserverside.com/discussions/thread.tss?thread_id=22243 do not seem 
to coincide with JBoss's documentation.  JBoss gives the impression that I can 
test the secure connection without the CSR.

Any help is greatly appreciated...
Ryan

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: i need calendar portlet

2005-04-20 Thread porrael
i make this question because before it worked in PHP-Nukes but i decided to 
change a Jboss-portal  because i am making my practices enterprise, and in this 
company they decided that it made the portal in jboss portal and the subject of 
portlets its all new for me.
 As you know in PHP-Nuke its so easy to find modules to place in, 
and i thought that it would be equal or easier the work in portlets an d here 
in my country not yet much is handled the subject of portlets and he has been 
difficult but simultaneously beneficial to learn on thisi hope 
understand meand thank you for the answers

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - problem installing portal

2005-04-20 Thread LORDs_diakonos
I have jboss 4.0.1 and have followed the instructions on the wiki for setting 
up jbossportal with postgres.  I got the setup.ddl  and got all the database 
stucture into postgres.  WHen I start jboss hibernate fails and when I try to 
goto localhost:8080/portal i get the following stacktrace.  As far as I can 
tellI have set up the datasource and everything correctly.  

11:04:15,696 ERROR [Engine] StandardWrapperValve[PortalServlet]: 
Servlet.service() for servlet PortalServlet threw exception
org.jboss.portal.common.transaction.NestedException: 
java.lang.NullPointerException
at 
org.jboss.portal.common.transaction.Transactions.requiresNew(Transactions.java:81)
at 
org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:74)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
at 
org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:52)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.jboss.portal.core.servlet.TransactionFilter$1.run(TransactionFilter.java:78)
at 
org.jboss.portal.common.transaction.Transactions.requiresNew(Transactions.java:75)
... 36 more


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [JBoss Getting Started Documentation] - Re: Could not find jboss-build.properties under j2ee tutoria

2005-04-20 Thread cehjohnson
I may be being thick and missing something, but i've just applied the 
instructions in the tutorial meticulously with regard to editing hsqldb-ds.xml. 
Doing so causes JB to fall over. Applying the fix rectifies the problem

Norman, if you'd like to maybe post a link to the edited file, i can give it a 
try

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: can I install pk12 certificate in Jboss 4.0sp1?

2005-04-20 Thread [EMAIL PROTECTED]
Google search: java ssl pkcs12

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - queue/testQueue, Message Driven Bean don't receive messages.

2005-04-20 Thread fabrefumi
 Dear all,

I have a problem sending a message from a session Bean to a MDB. The message 
arrives to the queue, becouse I have tested it through  the jmx-console. but 
the message driven bean didn't read anyting. It's easy, but for me fustrating, 
What can I do to change that? 

ejb-jar ///
  
 
 Audimetro

 AudimetroMD

 medtv.ejb.AudimetroMDBean

 Container
 Auto-acknowledge
 
javax.jms.Queue
 

  

jboss.xml//
  
 AudimetroMD
 ="queue/testQueue"
  



MDB Xdoclet of Message DBean//
 * @ejb.bean name="AudimetroMD"
 *   display-name="Audimetro"
 *   destination-type="javax.jms.Queue"
 *   acknowledge-mode="Auto-acknowledge"
 *   
 * @jboss.destination-jndi-name ="queue/testQueue"
 * 
 */


///
a piece of code of sender...

 connectionFactory =(QueueConnectionFactory) 
jndiContext.lookup("java:/XAConnectionFactory");

destination =(Queue) jndiContext.lookup("queue/testQueue");


 a part from that when the JBOSS server is deploy the application shows this


17:28:11,554 INFO  [EjbModule] Deploying AudimetroMD
17:28:11,992 WARN  [JMSContainerInvoker] Could not find the queue 
destination-jndi-name=="queue/testQueue"
17:28:11,992 WARN  [JMSContainerInvoker] destination not found: 
queue/testQueue" reason: javax.naming.NameNotFoundException: testQueue" not 
bound
17:28:11,992 WARN  [JMSContainerInvoker] creating a new temporary destination: 
queue/testQueue"
17:28:11,992 ERROR [JMSContainerInvoker] Starting failed 
jboss.j2ee:binding=message-driven-bean,jndiName=local/AudimetroMD,plugin=invoker,service=EJB
MBeanException: null Cause: javax.management.MalformedObjectNameException: 
jboss.mq.destination:service=Queue,name=testQueue" is not a valid ObjectName. 
Unterminated quote pair, missing quote
at 
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:166).

I think that i have done anything wrong, or I am very close to solve this.

PLEASE, can you help me. It's a simple example.

Is possible that I need to config something else?

THANKS-

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: portal-core.sar

2005-04-20 Thread [EMAIL PROTECTED]
"porrael" wrote : 1. how can include the different components from the portlets 
in this? because this way it was to me the only way in that i could deploy this.
  | 

Do you mean how to include your portlets? You should deploy them just like you 
were before.


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - portal-core.sar

2005-04-20 Thread porrael
i hope answer for this question

im download the new version that contains a jboss-portal 2.0 Beta1 and 
jboss_4.0.1sp1 

i see that in this version the file portal-core.sar it comes executed, in the 
last version in that i worked, it placed my portlets within portal-core.sar so 
that they appeared in the portal.

like now portal-core.sar  it comes executed my question is:

1. how can include the different components from the portlets in this? because 
this way it was to me the only way in that i could deploy this.

2. please answer me...i have put three question 
in this forum and no has responded it im sorry for my 
english...i hope understand me

bye


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - change host name

2005-04-20 Thread ju187
Hi:

I am really new to JBoss.  My question is how to change the host name from 
localhost  to a name on the network.  In Tomcat I could change server.xml.  
However, in JBoss I changed every localhost to the name of the machine (i.e. 
tony2k), but brower showed a blank page for http://tony2k:8080.  Could anyone 
help me please?  Thanks

Tony

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: i need calendar portlet

2005-04-20 Thread [EMAIL PROTECTED]
I don't know of such a portlet, and its hard to find compliant and portable 
portlets floating about on the web.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Class Loader Issues

2005-04-20 Thread jameselliot
I am trying to load classes on the fly according to a full Java class name.  I 
have a class loading strategy of:

Get:

  | ClassLoader threadLoader = Thread.currentThread().getContextClassLoader();
  | ClassLoader callLoader = context.getCallingClass().getClassLoader();
  | 

If either class loader is null, return the other one.  Otherwise if one is the 
parent of the other use the child, otherwise try them both.


I am having trouble with the following senario:  All classes are packaged in my 
war file.

I load a class using my loading strategy, which in turn loads another class 
using the same strategy.

On windows this works fine, on Linux I can a ClassNotFoundException when 
loading the second class:


  |  37979 java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.videocoding.vicop.requestQueue.handlers.wap.MediaBurst^M
  |   37980
  |   37981at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:292)
  |   37982at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
  |   37983at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
  |   37984at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  |   37985at 
com.videocoding.vicop.common.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:68)
  | 

>From my logging the class loader used can be seen:


  | 2005-04-20 16:00:12,033 INFO  
[com.videocoding.vicop.common.ClassLoaderUtils] Received ClassLoader 
org.jboss.web.tomcat.tc5.WebCtxLoader$ENCLoader with hashcode 6115379
  | 

Compare this logging to the successful class load:


  | 2005-04-20 16:00:12,017 DEBUG 
[com.videocoding.vicop.common.ClassLoaderUtils] Loading class 
com.videocoding.vicop.triggers.handlers.PlayerPushHandler
  | 2005-04-20 16:00:12,017 INFO  
[com.videocoding.vicop.common.ClassLoaderUtils] No common parents, returning 
threadLoader
  | 2005-04-20 16:00:12,017 INFO  
[com.videocoding.vicop.common.ClassLoaderUtils] Received ClassLoader 
org.jboss.web.tomcat.tc5.WebCtxLoader$ENCLoader with hashcode 6115379
  | 

It can be seen that the same class loader is being used.  When we look in the 
working directory we see:


  | [root]# pwd
  | 
/opt/jboss-4.0.1sp1/server/default/tmp/deploy/tmp16487vicop.war/WEB-INF/classes
  | [root]# ls com/videocoding/vicop/triggers/handlers/
  | AbstractHandler.class  DefaultHandler.class  PlayerPushHandler.class  
TriggerHandler.class
  | [root]# ls com/videocoding/vicop/requestQueue/handlers/wap/
  | MediaBurst.class  WapPushHandler.class
  | 

so both classes are in the same classpath directory and are using the same 
class loader.

Additionally this all works on Windows.  Windows set up is:

  | java version "1.5.0_02"
  | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
  | Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
  | 
  | 16:22:52,921 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 16:22:52,921 INFO  [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: 
CVSTag=JBoss_4_0_1_SP1 date=200502160314)
  | 

and linux set up is


  | java version "1.5.0_02"
  | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
  | Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
  | 
  | 12:39:06,566 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 12:39:06,567 INFO  [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: 
CVSTag=JBoss_4_0_1_SP1 date=200504161944)
  | 

Any ideas or places to look would be very welcome because I am just about out 
of ideas.

Thank you for your time.

James.


I am sure this will be something daft, but for the life of me I can not work 
out what it is.


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Can't deploy EJB WebService

2005-04-20 Thread scooter4j
I'm trying to deploy an EJB service endpoint webservice; I've followed the 
example shown from the Wiki site 
(http://www.jboss.org/wiki/Wiki.jsp?page=WSServerEJB) line-by-line using my own 
EJB (which is just about as simple as that used in the example).  However, when 
I try to deploy, I'm getting the following error:

07:55:07,419 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.0.0/server/default/deploy/JBossWebServices.ear
07:55:07,689 WARN  [verifier] EJB spec violation:
Bean   : DbConnection
Section: 7.10.1
Warning: The session bean must implement either a remote home and remote, or a 
local home and a local interface.

07:55:07,689 ERROR [MainDeployer] could not create deployment: 
file:/C:/jboss-4.0.0/server/default/tmp/deploy/tmp52230JBossWebServices.ear-contents/JBossWebServices-ejb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:881)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)

I expected that the  tag replaced the need for the  
and  tags.

Anyone have any direction that might help me get this thing deployed?
Scott

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule SQL Failure

2005-04-20 Thread imm102
Hi,

Im trying to set up database authentication following the startguide section 
4.3.2. When accessing my web app i get forwarded to a login.jsp i enter my 
details and i get this error.

anonymous wrote : ERROR [DatabaseServerLoginModule] SQL failure
  | java.sql.SQLException: Table not found: ROLES in statement [select Role, 
RoleGroup from Roles where PrincipalID=?]
  | at org.hsqldb.jdbc.jdbcUtil.throwError(Unknown Source)

My web.xml is as follows


HtmlAdaptor
Will only allow users of role admin to access the web server
/admin.jsp
/device-command.jsp
/device-info.jsp
/device-viewer.jsp
/macro-add.jsp
/macro-addname.jsp
/macro-admin.jsp
/macro-failure.jsp
/macro-process.jsp
/macro-processcomplete.jsp
/macro-processname.jsp
/macro-refresh.jsp
/macro-remove.jsp
/macro-success.jsp
/main.jsp
GET
POST


Admin



FORM

/login.jsp
/login-error.jsp



Admin


My jboss-web.xml looks like:

java:/jaas/UDKServer

And my login-config.xml is:



  

java:/DefaultDS

select passwd from Users where username=?


select userRoles, 'Roles' from UserRoles where 
username=?


  


Ive created the Users and userRoles tables all following the guide. But it 
seems to want to reference another table. 

Can someone help me, ive searched this forum and the guide and can't find what 
im doing wrong.

Cheers
Ian

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Exception while trying to talk Weblogic JMS from JBoss

2005-04-20 Thread chetansanghi
Hi

I have an application running in Jboss which can be configured to run in two 
modes:

1. JMS talking to Weblogic
2. Not using JMS

The application works fine when I am not using JMS. But as soon as I try to 
send a message from my application to a JMS queue on a weblogic server I get 
exceptions related to Secuirty like:

Caused by: java.lang.SecurityException: 
org.jboss.mx.loading.UnifiedClassLoader3 is not trusted, pd: ProtectionDomain  (
file:/C:/cp/ThirdParty/jboss-4.0.1sp1/lib/jboss-jmx.jar )
 [EMAIL PROTECTED]
 
 [EMAIL PROTECTED] (
 (java.util.PropertyPermission java.version read)
 (java.util.PropertyPermission java.vm.name read)
 (java.util.PropertyPermission java.vm.vendor read)
 (java.util.PropertyPermission os.name read)
 (java.util.PropertyPermission java.vendor.url read)
 (java.util.PropertyPermission java.vm.specification.vendor read)
 (java.util.PropertyPermission java.specification.vendor read)
 (java.util.PropertyPermission os.version read)
 (java.util.PropertyPermission java.specification.name read)
 (java.util.PropertyPermission java.class.version read)
 (java.util.PropertyPermission file.separator read)
 (java.util.PropertyPermission java.vm.version read)
 (java.util.PropertyPermission os.arch read)
 (java.util.PropertyPermission java.vm.specification.name read)
 (java.util.PropertyPermission java.vm.specification.version read)
 (java.util.PropertyPermission java.specification.version read)
 (java.util.PropertyPermission java.vendor read)
 (java.util.PropertyPermission path.separator read)
 (java.util.PropertyPermission line.separator read)
 (java.io.FilePermission \C:\cp\ThirdParty\jboss-4.0.1sp1\lib\jboss-jmx.jar 
read)
 (java.net.SocketPermission localhost:1024- listen,resolve)
 (java.lang.RuntimePermission stopThread)
)


at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1373)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:359)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:203)
... 67 more

Does anybody have an idea what might be causing this?

Thanks.

Regards
Chetan

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Deployment issue: Need replacement for URLDeploymentScanner

2005-04-20 Thread coderx
Hello,

I have the following problem deploying our application (EAR) into JBoss. 

Our application is installed on target system as a directory that follows 
standard EAR structure. There are few exceptions that make it impossible using 
out-of-the box URLDeploymentScanner:

1.  EAR directory doesn?t have .EAR extension.
2.  Individual web applications are directories that do not have .WAR 
extension.
3.  EJB modules are directories that do not have .JAR extension.

If I add these extensions to mentioned directories (and update 
META-INF/application.xml), everything works fine. Here I should also mention 
that we do not need hot deployment feature that URLDeploymentScanner provides.


My question is the following. I think we need to develop our own deployment 
MBean, similar to URLDeploymentScanner, which will deploy enterprise 
applications statically listed in some config file (may be inside 
jboss-service.xml). I was wondering if anybody had similar problem, or know of 
similar existing solutions?

All the Best,
Andy


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: i need calendar portlet

2005-04-20 Thread porrael
please answer meim really 
need

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: 615 SQL-server connections

2005-04-20 Thread panuv
Thanks for help

Somehow I was under the impression that if I didn't specify anything, 
a default pool of size 20 would get used, but I guess that's not the case. 

Now I'm looking into two solutions. One is to make the JBOSS automatically 
disconnect idle connections, say after 1 minute.  The other is to use the 
'' -directive. As I understand it, that should 
close 'broken' connections if they exist in the pool. But I'm not sure what a 
'broken connection' means. If a query is going on for a long time, would that 
qualify as a broken connections, and thus be cleaned out by 
check-valid-connection-sql ?

Thanks
-panuv 

 

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Optimizaed loading question

2005-04-20 Thread hmae
To all:
System: JBoss 4.0, EJB 2.0
On a customer's database I was testing out an EJB bean for a view.  I noticed 
that the transaction was timing out because it took too long to get the data 
(there is about 4,000 records for the table).  On the test servers where the 
data is smaller the beans work fine.  I tried using load groups and on-load 
strategies introduced in the Administration document (Chapter 11).  But that 
did not improve performance at all.  
I also tried using normal PreparedStatments instead of EJB and this took too 
long too.

The following is a code snippet from my jbosscmp-jdbc.xml.  Did I miss anything?

   

  basicweb
  
  status
  wireCenter
  utNum
  clliCode
  payback
  histCost
  trackUnit

  
  
  

  ejbSelectGeneric
  
java.lang.String
java.lang.Object[]
  



  on-load
  100
  basicweb

  

In my local test server the server log did indicate that the load group did get 
the primary key fields and the fields defined by the load group.  


Please let me know if I missed anything.

Thank you.

  

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Basic problem with HTTPS

2005-04-20 Thread romm
Hello all...

I am experiencing a similar problem with https...  I have followed the 
documentation for JBoss 4 to enable SSL, and am also not able to establish a 
secure connection with jmx for testing.  Does the keystore have to be named 
"chap8.keystore?

Thanks,


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Could not find jboss-build.properties under j2ee tutoria

2005-04-20 Thread [EMAIL PROTECTED]
I don't know anything about the context of the discussion at that URL.   What 
are you trying to "fix" with the instructions at that URL?  But I do know that 
if you have the service jboss:service=Hypersonic,database=localDB installed 
then you won't be hitting problems of unmet dependencies on it. 



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Why the multiple sql select for findByPrimaryKey JBoss

2005-04-20 Thread hmae
By setting read-ahead strategy to none you default it to the lazy-loading and 
it will do the multiple select statements.  
Try checking Chapter 11 "Optimized Loading" of the Administration document.  
This chapter explains the loading optimization.



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: How to make jboss-build.xml tell jar command to

2005-04-20 Thread laughtonjackson
Once again, answered my own question.
When no one replies, you keep looking.
hope this helps someone alnong the way.


the answer: just add the xml attribute 

compress="false"

so my modified jat tag looks like...

jar compress="false" jarfile="${deploy.dir}/${war.file}" basedir="${war.dir}"



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with '/' in ejb-name

2005-04-20 Thread stundzig
Hi scott,

you are right. I was misled by the comment in the ejb_jar_2_0.dtd:

anonymous wrote : 
  | The name for an entity bean with cmp-version 2.x must conform to the
  | lexical rules for an NMTOKEN. The name for an entity bean with
  | cmp-version 2.x must not be a reserved literal in EJB QL.
  | 

It sounds like that 1.x beans must not conform to the rules for NMTOKEN.

I will change my ejb-names now.

Regards
Steffen...

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Could not find jboss-build.properties under j2ee tutoria

2005-04-20 Thread cehjohnson
anonymous wrote : but I do know that many people make a mistake at that point 
and take out the service internal hypersonic service, causing the dependency to 
break

I wonder if you'd be kind enough to clarify this? I did comment out:

   
  |  localDB
  |  true
  |
  | 

originally as it did not seem to be relevant to the service running on 1701. 
Putting it back in again now, after applying the fix described in my link 
http://tinyurl.com/796dt  causes it to fall over again.

I don't seem to be getting email notifications btw...

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - i need calendar portlet

2005-04-20 Thread porrael
hello.i am again

i need a favor. I am working in a portal and i need with urgency a calendar 
portlet, better if it handles events, thanked for if they send to me a link to 
download or a portletthank you 
so much
rafael

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: how can make jboss-portal internationalization

2005-04-20 Thread radl01
Hi all,

one more question about internationalization. Is it posible to change language 
(resources) for specific login. I mean can JBoss Portal speaks more than one 
language ?

Jan

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: lots of BMP ejbLoad with CMT and commit option B

2005-04-20 Thread anthavio
Oh thanks. I didn't realize that read-only flag could do this. Insane.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Newbie JAVA_HOME problem

2005-04-20 Thread spoons84
Cheers for the quick reply,

Once it has initialised it doesnt I cant type anythingis there a way to 
change the configuration files to point towards the java package?

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - 4.0.2RC1 DLQHandler Sybase

2005-04-20 Thread ehy001
DLQHandler initialization fails on JBoss 4.0.2RC1 when using Sybase as 
datasource for the Persistence Manager because of a NameNotFoundException: 
XAConnectionFactory not bound.

An equally configured jboss 4.0.1 does not fail. By configuration I mean my own 
configuration of course. I have not touched any other files.

In other words. I can initialize the DLQHandler if I go back to 4.0.1 or go 
back to hsql.

I have not tried with other rdbms'es.

I have put TRACE both on the 4.0.1 log and the 4.0.2RC1 log without getting any 
smarter.

So, is this a bug or what? Thought somebody should know...


Regards,
Eigil


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - how to build complete J2EE application with portlet

2005-04-20 Thread ddanaro
Hi,

I want to build a complete application J2EE with Portlet in add to Servlet. 
The file that I mean is the following: 

 application.xml   
 ejbModule.jar 
 warModule.war 

In the warModule.war I want insert for the moment only portlets that references 
ejbModule's EJBs  . 

Suppose that I have build the EJB UserEntity (name, surname, userId); 

What consideration about deployment descriptors there are to have the following 
code in my UserPortlet 


 try {
  UserEntityLocalHome userLocalHome = (UserEntityLocalHome) new 
InitialContext().lookup ("ejb/User");  
 } 
 catch (NamingException ne1) {
  ne1.printStackTrace(); 
 }



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Migrating to JBoss from ATG Dynamo

2005-04-20 Thread nflanders2
Hi,

we are currently working on evaluating a migration strategy from an existing 
webapplication, based on the ATG Dynamo Application Server to JBoss and open 
source frameworks. Our current open source setup for the target architecture is:

- JBoss / Tomcat
- Expresso webapplication framework
- Hibernate persistence framework
- jBpm workflow engine

As the current webapplication makes heavy use of ATG's features, the migration 
will not be an easy plug'n'play project, but appers to me to be more of a 
complex reengineering / redesign project. 

Does anyone else have already some experience with such migration projects?

Any help / comments / suggestions are highly appreciated!

Thank you in advance,
-Mo. 

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - How to write in the ejb-jar.xml file

2005-04-20 Thread mano
Hi,
I packaged an EJB in jar file. This jar contains class files, ejb-jar.xml file 
and jboss.xml file.   I copied the jar file in the deploy directory and JBoss 
deployed my EJB.   But now, I want to change in the ejb-jar.xml file  an 
"env-entry-value" without deploy the jar file. How to do that ? In fact  I want 
to write in the ejb-jar.xml file without re-deploy the jar.

Best regard.

Mano 



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Hibernate 3.0 and the 4.0.1 HARDeployer

2005-04-20 Thread jmorgalis
I think your issue has to do with the fact that HAR deployment does not seem to 
work with Hibernate 3.0.  Try taking that HAR and making it a SAR with a 
jboss-service rather than a hibernate-service.  

It is unlikely, at least last I heard, that a backport of jboss4 to make 
hibernate3 work with the HARDeployer was going to happen.  The SAR seems to 
work as a temporary measure until JBoss 5 comes out.  

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Hibernate 3.0 and the 4.0.1 HARDeployer

2005-04-20 Thread redwave
hi i am also using Hibernate3.0 with JBoss 4.0.1

i have created hibernate.har which has following:
1. hibernate-service.xml->META-INF
2. *.class and *.hbm.xml files which maintain the class hierarchy.
3. hibernate.cfg.xml and hibernate.properties

my hibernate-service.xml contains following:




   jboss.har:service=HARDeployer
   java:/MySqlDS
  java:/HibernateFactory

  org.hibernate.dialect.MySQLDialect

 org.hibernate.cache.TreeCacheProvider  
true



the error when i deploy my *.har file is 

17:08:22,015 INFO  [ServiceConfigurator] Problem configuring service 
jboss.har:service=Hibernate
org.jboss.deployment.DeploymentException: No Attribute found with name: 
TransactionManagerLookupStrategy
at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:263)
at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:164)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
at 
org.jboss.system.ServiceController.install(ServiceController.java:200)
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)


if somebody can help me please send a reply to [EMAIL PROTECTED]

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: using hibernate in jboss-4.0.0

2005-04-20 Thread redwave
hi utkarshpune,

ur problem will be solved when u remove all references to *hbm.xml files from 
hibernate-service.xml and put them in *.har file maintaining the class 
hierarchy.
Atleast this will solve ur current problem but i am not sure that Hibernate 
will still work as i am grappling it with from last 2 days and everytime i 
solve one problem there is another one just round the corner.

bye.
hope it helps u.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - LoginInitialContextFactory does not accept Principal objects

2005-04-20 Thread svandenbussche
Hi,
org.jboss.security.jndi.LoginInitialContextFactory does the following:

Object principal = env.get(Context.SECURITY_PRINCIPAL);
  | String username = principal != null ? principal.toString() : null;

This code assumes the principal is just a String. It does not test to see if 
it's a Principal class implementation.
As a consequence, all principal objects which implement Principal won't work 
because it is not guarateed that their toString() method returns the principal 
name just like the getName() method does.

I'm really happy this "source" is "open".
Best regards.


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - I've a problem When checking for null

2005-04-20 Thread kmatcha
Hi Chiba,

I've a method which is as follows.

public void display(String [] params){
  if(params == null){
   System.out.println("Nothing to display");
  }else{
int k = params.length - 1;
if(k >= 0 )
 do
  System.out.println(params[k]);
 while(--k >= 0);
  }
}


I'am using CtNewMethod.make(src,CtClass) to define this method in the class. 
I'am receiving an exception in the line marked bold. The exception is :


javassist.CannotCompileException: [source error] incompatible array types
at javassist.CtNewMethod.make(CtNewMethod.java:78)
at javassist.CtNewMethod.make(CtNewMethod.java:44)

Can you tell me whats the problem in the code. If there is a way to solve this 
issue. 

Thanks,
Kumar Matcha.



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Bi-directional communication of JCA

2005-04-20 Thread yogs
Hi,

I'm working on inbound communication(synchronous) of JCA 1.5 adapter.  I'm able 
to invoke the j2ee application by EIS system.  Even i'm returning result to EIS 
system from MDB(message endpoint) by connecting(using scoket class) to EIS 
system.

My Question, is it correct place to return value to EIS ?

please suggest me, if there any other ways of returning a value to EIS for 
synchronous communication.

Thanks in advance.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: lots of BMP ejbLoad with CMT and commit option B

2005-04-20 Thread [EMAIL PROTECTED]
Have you tried to search the forum? The question about read-only and ejbLoad 
gets asked very often.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JNDI problem with initial context instantiation

2005-04-20 Thread jjmargon
Hi.
Probably, you don't have in your client the classes needed.
Put, for example, the jbossall-client.jar in the classpath of your client 
application. You can find this jar in the client directory of your jboss server.
Good luck.
Bye

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to specify a manager for an SNMP trap

2005-04-20 Thread hsaha
My requirement is exactly what you understood.
We have numerous SNMP managers which are capable in handling different SNMP 
traps.
We should send only the relevant ones to the specific SNMP manager.

Is there is any other way we can implement this ?

Himadri

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >