[JBoss-user] [EJB 3.0] - Re: hbm2ddl schema export seems to wipe out existing databas

2005-11-28 Thread muhviehstarr
Hi,

if you don't set some settings in persistence.xml the default values from 
jboss-4.0.3\server\all\deploy\ejb3.deployer\META-INF\persistence.properties are 
used. 
default here is: hibernate.hbm2ddl.auto=create-drop
so this should be modified by you or you have to set some specific value in 
your persistence.xml

bye


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: issue for Assignment to Group

2005-11-28 Thread tom_sri74
Hello, 

I gone through some topic as your advice and i implement as below but still it 
is not assign, Could you please let me know what is wrong in my code.


public void assign(Assignable assignable, ExecutionContext executionContext) {
nccExpressionAssignmentHandler assignmentHandler = new 
nccExpressionAssignmentHandler();

IdentitySession session = (IdentitySession) 
assignmentHandler.getExpressionSession();
log.info("* Group Name   --- "+groupName);
Group group = session.getGroupByName(groupName);
log.info("* Group Object for User list  --- "+group);
Set set = group.getUsers();
log.info("* Set Object for User list  --- "+set);
log.info("* Set Object for User list  --- "+set.size());
String strUser[] = new String[set.size()];
Iterator it = set.iterator();
//Set userNames = new HashSet();
ArrayList list = new ArrayList();
int i =0;
while (it.hasNext()){
User user = (User) it.next();
//userNames.add(new PooledActor(user.getName()));
//list.add(new PooledActor(user.getName()));
log.info("***User Get Name in Assignment--- 
"+user.getName());
strUser=  user.getName();
i++;
}
assignable.setPooledActors(strUser);
}

in process design xml file 

  | 
  |
  |operator
  | 
  |   
  | 

Appreciate to solve my issue!.

regards
Srikanth

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: HA of jboss style web service

2005-11-28 Thread upankar
we want to make the web service highly available with a simple load-balancing . 
One way we explored is to use the apache modjk in the front-as suggested in 
jboss docs. But this leads to a single point of failure. What if apache goes 
down ?? 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Modifying ValueObject using valueobject-custom.xdt???

2005-11-28 Thread askesis
I want to modify my valueobjects using the valueobject-custom.xdt merge points. 

Does the JBoss IDE support this? 

I have tried setting the mergeDir of the ejbdoclet-valueobject task to the 
directory of choice, and than adding a file "{0}VO.java" to that directory but 
that had no effect (VO is my valueobject extension, not the default Value, 
tried "{0}Value.java" also).

TIA

Joost


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: best way of acheiving request response format

2005-11-28 Thread rohit_mca2000
one question Mr.genman , What are chancesof a bottleNeck taking place at Jboss 
serve. Lets say at a moment around 200-300 requests come at once , so that 
would mean creation of 200-300 temporary queues, as many connectios and 
sessions. can that lead to a BottleNeck or Memory leackage 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBPM stalls when invoked from a (Tibco) RendezVous callb

2005-11-28 Thread [EMAIL PROTECTED]
If your async callbacks are concurrent, the first thing that comes to mind is 
that database locks are blocking each other, if your isolation level is 
repeatable read or above. I have no experience with RV, tough.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Where is the latest code ?

2005-11-28 Thread sandhuks
Thanks for the reply Koen and now I have the Head code and see the foll:

1. The ContextBuilder is now gone - is this permanent?
2. What I can see as replacement is the JbpmContext and JbpmFacade .

Can you confirm this is the current direction .

I need to implement a WF engine in my app and thought JBPM would be best as one 
of the objectives is to ensure future relevance as this field matures.

Thus the need to accurately base our dev on the real direction of jbpm rather 
than just getting it working now.

Sandhu

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portal goal?

2005-11-28 Thread [EMAIL PROTECTED]
We will probably not bundle any additional portlets aside from those used to 
manage the portal and its components.

Release date for 2.2RC is Dec 7. Final is Late Dec to early Jan... due to 
Holidays.

The marketing team is working on case studies of live portals and enterprise 
clients.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: NAKACK ERROR

2005-11-28 Thread gadha
Hi what is this cluster( I suppose number of jboss instance).And how to 
seperate theses clusters
thanxs

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: processAction in Jboss portals

2005-11-28 Thread udaiibhaskar
Hi bsmithjj and arvind,

Thank for ur help.

bye,
uday.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: best way of acheiving request response format

2005-11-28 Thread rohit_mca2000
hmmm... ok crazytony, and genman for replying. will have to check my 
application under load, lets see wha happens.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: processAction in Jboss portals

2005-11-28 Thread arvind_pv
Hi bsmithjj,

I thank you for giving me valuable suggestion. 

Arvind


  

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Redirection problem (Apache->JBoss) ?

2005-11-28 Thread olegkon
To give you an update:
1) I am not sure why (don't think anything was modified), 
but something has changed: when you do: http://myserver1.com,
it no longer shows the admin page of Tomcat,
but shows page with something "If you see this page you have a problem
with configuration" (Apache sample page).

2) We replaced all "localhost" with the IP address of that virtual server
(it has 2 network cards, 2 IP addresses, etc.) - same result

3) We copied the working version of JBoss and modified its configuration
(mostly port numbers) to be as it was on that instance originally - same result.

4) we looked at Apache's error_log file, here is a fragment of typical
output (within msecs):

[error] uriEnv.init() map to invalid worker /jmx-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /web-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /* ajp13:mopppgctxad1:8009
[error] mod_jk child init 1 0
[error] jk2_init() Can't find child 25476 in scoreboard
[error] uriEnv.init() map to invalid worker /jmx-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /web-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /jmx-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /* ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /web-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /* ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /jmx-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /web-console/* 
ajp13:mopppgctxad1:8009
[notice] Apache/2.0.48 (Unix) mod_jk2/2.0.2 configured -- resuming normal 
operations
[error] uriEnv.init() map to invalid worker /* ajp13:mopppgctxad1:8009
[error] mod_jk child init 1 -2


Please advise.

Thank you in advance,
Oleg.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Redirection problem (Apache->JBoss) ?

2005-11-28 Thread olegkon
To give you an update:
1) I am not sure why (don't think anything was modified), 
but something has changed: when you do: http://myserver1.com,
it no longer shows the admin page of Tomcat,
but shows page with something "If you see this page you have a problem
with configuration" (Apache sample page).

2) We replaced all "localhost" with the IP address of that virtual server
(it has 2 network cards, 2 IP addresses, etc.) - same result

3) We copied the working version of JBoss and modified its configuration
(mostly port numbers) to be as it was on that instance originally - same result.

4) we looked at Apache's error_log file, here is a fragment of typical
output (within msecs):

[error] uriEnv.init() map to invalid worker /jmx-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /web-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /* ajp13:mopppgctxad1:8009
[error] mod_jk child init 1 0
[error] jk2_init() Can't find child 25476 in scoreboard
[error] uriEnv.init() map to invalid worker /jmx-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /web-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /jmx-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /* ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /web-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /* ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /jmx-console/* 
ajp13:mopppgctxad1:8009
[error] uriEnv.init() map to invalid worker /web-console/* 
ajp13:mopppgctxad1:8009
[notice] Apache/2.0.48 (Unix) mod_jk2/2.0.2 configured -- resuming normal 
operations
[error] uriEnv.init() map to invalid worker /* ajp13:mopppgctxad1:8009
[error] mod_jk child init 1 -2


Please advise.

Thank you in advance,
Oleg.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jms + http + redelivery

2005-11-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
Read the documentation.
That thread is about UIL2 (stateful connection with read timeout), 
your question is about HTTP (stateless with client monitor interceptor)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How do Call EJB on Jboss Server from Tomcat server

2005-11-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
Wrong forum -> HTTPD/Tomcat or EJB

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: No classloader for ManagedConnectionFactory

2005-11-28 Thread [EMAIL PROTECTED]
Read This!
http://wiki.jboss.org/wiki/Wiki.jsp?page=BadPostHijack

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: jdbc with sequoia

2005-11-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
Wrong forum -> CMP

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: ClassNotFoundException when deploying embedded RAR with

2005-11-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
HIJACK

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Problems registering a resource adaper for MDB / EJB3

2005-11-28 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
Wrong forum -> EJB3

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: All Session Values NULL after [detectDuplicateNesting=tr

2005-11-28 Thread lzj0428
By the way, I am using JBoss 3.2.6 and JDK version 1.4.2_06 
please help & good day~
Ivan

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Designing Client/Server interaction

2005-11-28 Thread Ciovo
I'm building an application using ejb3 and jboss 4, and I'm trying to 
understand what is the best way to handle the communication between a remote 
client in java (used by a GUI) and the jboss container. I thought about these 
two modelling solutions, and I'm trying to tell what are the pros and cons (in 
my opinion) :

1) The java client receives entity beans through a session bean, it manages and 
manipulates the objects and then it returns the object to the session bean 
(which merges the detached object).
PROS:
- Easy to develop: the java client uses the entity bean methods
- Objects are distributed
CONS:
- The business logic is in the client
- If the Entity Bean class is changed, the new .class must be copied into the 
client too
- Entity Bean's methods can be used by malicious code without control

2) The java client uses methods that return the object's ID, not the entire 
object. The ID is provided by methods in session beans that implement the 
business logic, and the client has only to call these methods (and catch the 
exceptions)
PROS:
- The business logic is all in server side
- More control, trasparency and security in functionality is provided by the 
session beans to the client
CONS:
- Apparently more laborious development
- Not a distributed object approach (without object benefits and necessity
  to use API)


Are these two scenarios correct?
Are there any other way to organize communication between entity object and 
java client?
Considering security, flexibility, caching systems, and future developments, 
what could be a good scenario?
The scenario I'm modelling is aproximately represented by two hundred entity 
beans.

Where can I find more information and possibly some nontrivial example?


Thanks a lot for your help!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Jboss Hosting Services

2005-11-28 Thread wiley173
Anybody know of a good place to host your j2ee apps. I've been to a couple of 
really crappy places that claim to support jboss...

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
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 send XML Message using JMS

2005-11-28 Thread genman

I would recommend passing XML not as text but use the ObjectMessage format.

Since Xerces (probably what you use) uses serializable org.w3c.dom objects, 
just set the message to use the Document object.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: best way of acheiving request response format

2005-11-28 Thread genman
rohit_mca2000 -

My recommendation is since you (eventually) need to test your application under 
load, you test it and decide if the performance is adequate or not.  Your 
architecture seems correct.

I guess I would take "crazytony"'s advice with a grain of salt, since I know 
selectors don't scale that well, having looked at the code myself.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Min JBoss 4.0.3 config suitable to run JBoss Portal

2005-11-28 Thread [EMAIL PROTECTED]
you can remove the http-invoker

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: TreeCache.callRemoteMethods(): where is the target?

2005-11-28 Thread [EMAIL PROTECTED]
The target is the TreeCache, so if you want to invoke your onw methods, you 
have to create a subclass of TreeCache.
Note that it is probably better to use JGroups or any JBoss Cluster building 
blocks directly, rather than JBossCache, as the callRemoteMethods() methods 
will probably be pulled from TreeCache in the near future, when we refactor the 
ReplicationInterceptor

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: NAKACK ERROR

2005-11-28 Thread [EMAIL PROTECTED]
You probably have 2 clusters running at the same multicast address and 
multicast port, make sure you separate your clusters

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Min JBoss 4.0.3 config suitable to run JBoss Portal

2005-11-28 Thread ScottDawson
I'm interested in this topic so I'd like to get a status.  It looks like the 
Wiki page is "under construction".  Is that correct?

A few observations:
- JMS is easy to remove, just delete the server/[portal]/deploy/jms directory.
- The scheduler service removal is also simple - delete the 
scheduler-service.xml from the deploy directory.  I'm guessing the Scheduler 
Manager service can also be deleted but I haven't tried that yet.
- I think most people will want to keep the management apps
- I can't find any good documentation on removing all EJB support

Regards,
Scott Dawson
Unisys


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Problem with Potal Login

2005-11-28 Thread nataleja
Env:
   OS: RedHat ES 4.0 server
   JBoss version: 4.0.2
   JBoss Portal version: 2.0
   JBoss Portal type: Binaries
   Database: MySQL
   Database version: 5.0.15
   JDBC connector:  Connector/J  3.1.11

Problem:
   When I go to the login page and enter any userID/Password I just go to 
   a blank page at /portal/auth/j_security_check.  

   I was thinking that it was a conection to the DB problem but I can create 
   new users and they show in the DB.

   I did read that there may be some issues with newer versions of MySQL?

Thanks

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Could not register synchronization with JTA TransactionManag

2005-11-28 Thread stevechang
Hello,

I have a session bean, occasionally application generated the following 
message. Then transaction get rollback.  Can anyone help ?

Steve Chang

14:48:48,463 INFO  [STDOUT] org.hibernate.TransactionException: could not 
register synchronization with JTA TransactionM
anagerat 
org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java:135)
at org.hibernate.jdbc.JDBCContext.(JDBCContext.java:58)
at org.hibernate.impl.SessionImpl.(SessionImpl.java:231)
at 
org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:459)
at 
org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:483)
at 
org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:491)
at 
com.nomura.fi.residential.persistent.util.HibernateUtil.openSession(HibernateUtil.java:43)
at 
com.nomura.fi.residential.ratelock.ejb.ProcessSessionBean.updateWebStatus(ProcessSessionBean.java:355)
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:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130
)
at 
org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
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:644)
at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy68.updateWebStatus(Unknown Source)
at 
com.nomura.fi.residential.ratelock.ejb.LydianSessionBean.processDueDiligenceData(LydianSessionBean.java:377)
at 
com.nomura.fi.residential.ratelock.ejb.LydianSessionBean.runLydian(LydianSessionBean.java:128)
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:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

at 
org.jboss.ejb.plugins.StatelessSessionIns

[JBoss-user] [JBoss Portal] - Re: processAction in Jboss portals

2005-11-28 Thread bsmithjj
Hello,

Your portlets should be designed thread safe - like servlets.  So your usage of 
an instance variable, resultsFlag, will only work as long as your portlet 
handles a single request from a single user.  The moment two different users 
use invoke the processAction(), you will have contention issues for the correct 
value of resultsFlag.

Also, notice in your code that you never reset resultsFlag to false, so once it 
gets set to true, it's always true!

Cheers.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - JAAS Form Based Authentication Clarification

2005-11-28 Thread ektasehgal
I am using JBoss 4.0.2 and have configured my web application to use JAAS.
I use FORM based authentication and my security Realm is confgured for 
LdapLoginModule.

When a user accesses my web application, he is directed to a login page ,(that 
uses j_security_check) and after a successful authentication and authorization, 
he is directed to a servlet, that uses a Third party reporting Engine.

My query is :

Is it true that JAAS creates a new Prinicipal Object per HttpRequest? 
If yes, then is there a way to ensure that during a session a new principal 
object is not created in subsequent requests after initial login.

Any help would be appreciated. Thanks and Regards,

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Server socket app with JBoss

2005-11-28 Thread sigrney
I am developing a socket app that needs to listen on a configurable port, write 
some things to the database, log, etc. Is it possible to run this app in JBoss? 
I would like to take adavantage of EJB, data source pooling, logging, etc. but 
I don't know how to package the application, which is right now just a console 
based simple socket server. It does not have web or EJB components. 

Can this be done as an MBean? I have neve deployed an MBean before with JBoss, 
just WAR for web app, EAR for web app with EJB, and commom EJB's as JAR.

Thanks in advance!!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Accessing an external directory for a webapp

2005-11-28 Thread jreader
Update:  I was able to get it "working" by doing the following two things.

Copied JBOSS_HOME>/server/default/deploy/jbossweb-tomcat50.sar/web.xml to  
/server//conf/web.xml

And added a Context entry to jbossweb-tomcat50.sar/server.xml

I would like to be able to do this within the META-INF\context.xml from the war 
itself to provide as much mobility as possible for the servlet.  Simply moving 
the context from server.xml to context.xml doesn't work.  Instead it redirects 
all requests to that app to the external directory.  

As of now, I am wondering if this is a bug in tomcat and not a configuration 
error.  The Host and Context handling in both tomcat and jboss-tomcat are a 
huge mess.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: admin CMS

2005-11-28 Thread pedrosacosta
I have another question:

I've build my portlet, and i want to have access to her through Permissions 
management graphical interface, to give permission to her and to the users. 
What i've to do, to make this? i only have to define my security tags in my 
file jboss-portlet.xml?

And, in my java file on my portlet, how do i get a list of the users 
registrated. I'm confused about knowing what i have to code to get all the 
registrated users. Well, i say all the users, but it's ok if i get one user. 
The only demand, is that i do with java code, and not any trick with jsp (if 
it's possible).

Thanks

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - admin CMS

2005-11-28 Thread pedrosacosta
Is it possible to deploy my portlets and configure the layout of the portlet 
through admin CMS?

What is the objective of admin CMS? What advantage admin CMS offer to us?

Thanks

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: java.net.SocketException during heavy load

2005-11-28 Thread nitesh
I'm getting similar problem under heavy load on Tomcat with JBoss AS 4.0.2

The client gets the following error:
"EXCEPTION : java.net.SocketException: Too many open files"

I'm not getting this problem with stand-alone Tomcat, only with Tomcat running 
under JBoss. Is there a known solution? 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Problems registering a resource adaper for MDB / EJB3

2005-11-28 Thread cleonhar
Hi,

i try to use SwiftMQ with JBoss 4.0.3SP1. I am using EJB3. To register the 
resource adapter I tried the following files:

ejb-jar.xml:


  | 
  | http://java.sun.com/xml/ns/j2ee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  |  http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";
  |  version="2.1">
  | 
  |
  | 
  |   
  |  StatisticMessageReveiverService
  |  
de.mobileview.mmstat.services.StatisticMessageReveiverService
  |  javax.jms.MessageListener
  | Container
  |  
  | 
  |
Destination
  |
testqueue
  | 
  | 
  |
ConnectionFactoryName
  |
ConnectionFactory
  | 
  | 
  |
props
  |
  |   key1=value1
  |   key2=value2
  |   key3=value3
  |
  | 
  | 
  |   
  | 
  |
  | 
  |
  | 
  |   
  |  
  | StatisticMessageReveiverService
  | *
  |  
  |  Required
  |   
  |
  | 
  | 
  | 
  | 

jboss.xml:


  | 
  | http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";>
  | 
  | 
  |
  |   
  |  StatisticMessageReveiverService
  |   swiftmq-ivm.rar
  |   
  |
  | 
  | 

[There was a similar example in the CVS of JBOSS.]


But during startup of JBOSS I get the following error message:


  | 2005-11-28 12:18:02,079 DEBUG [org.jboss.ejb3.Ejb3Module] Initialization 
failed jboss.j2ee:service=EJB3,module=mmcore.ejb3
  | org.jboss.xb.binding.JBossXBException: Failed to parse source.
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:138)
  | at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
  | at 
org.jboss.ejb3.Ejb3DescriptorHandler.parseDescriptors(Ejb3DescriptorHandler.java:443)
  | at 
org.jboss.ejb3.Ejb3HandlerFactory$DDFactory.(Ejb3HandlerFactory.java:25)
  | at 
org.jboss.ejb3.Ejb3HandlerFactory.getInstance(Ejb3HandlerFactory.java:58)
  | at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:263)
  | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:251)
  | at org.jboss.ejb3.Ejb3JmxDeployment.create(Ejb3JmxDeployment.java:230)
  | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228)
  | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | 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:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
  | at $Proxy0.create(Unknown Source)
  | at org.jboss.system.ServiceController.create(ServiceController.java:341)
  | at org.jboss.system.ServiceController.create(ServiceController.java:284)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | 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:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy10.create(Unknown Source)
  | at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:208)
  | 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:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server

[JBoss-user] [Installation, Configuration & Deployment] - Re: Standalone Client application

2005-11-28 Thread vanduyns
OK, now my client application run when i launch a Standard Java command like 
this:

java -classpath xxx.jar;myJarFileClient.jar myMainClass

But it seams not possible on Jboss to launch a command  (as Sun J2EE) like this

runclient -client xx.ear

or something that doing the same thing. I prefer to deploy one ear containing 
the jar client instead of deploying ear AND jar client file.

Have you got an other solution ?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - DataSourceBinding JMXInvoker attribute

2005-11-28 Thread mikeg123
Hello,
using JBoss 4.0.2 with http-invoker

I have deployed my own data source for postrgres and when I go to jmx console I 
can see the following service being deployed 
"name=NMS-DS,service=DataSourceBinding" under jboss.jca.
When I click on the service one of the attributes is "JMXInvokerName" that is 
using "jboss:service=invoker,type=jrmp" service.

quesion: is it possible to change this attribute to http-invoker service, 
because I want to disable JMXInvoker?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: how to start the server through jmx-console

2005-11-28 Thread PeterJ
Um, since you need the server to be running to run jmx-console...

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Generate code with AXIS and ANT problem

2005-11-28 Thread mroosendaal
Hi,

I have an ANT task:







 




In the axis lib i have the jars from:
* C:\jboss-4.0.2\server\default\deploy\jboss-ws4ee.sar folder
* and the jboss-jaxrpc.jar from the default\lib folder.
I also have the axis-ant.jar for the ant tasks wsdl2java.

When i run the target i get the following message:
taskdef A class needed by class org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask 
cannot be found: org/apache/axis/utils/DefaultAuthenticator. It's not in any of 
the jar-files but it is in the axis.jar.

When i use that one i get a java.lang.NoClassDefFoundError: 
org/apache/axis/wsdl/toJava/FactoryProperty message

Which jar files do i need to use to make this happen? It seems that the JBoss 
jars are not sufficient enough and are not compatible with the axis-ant.jar.

Hope someone has an idea.

Thanks,
Maarten




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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: best way of acheiving request response format

2005-11-28 Thread crazytony
We're just getting over using Temporary Queues for replies.

We've found that using a Topic with a Selector is much faster and uses MUCH 
less memory. 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Using user-type-mappings for Enums

2005-11-28 Thread ansancle
Im using JBoss 4.0.2, Eclipse 3.1.0, JBoss-IDE 1.5.0.RC1, MySQL 4.1.12, 
mysql-connector-java-3.1.7-bin.jar on Red Hat Enterprise 3 Linux.

I have an entity bean with 2 enumerated types that I want to store in the 
database as integers. I have followed the instructions in the WIki ; 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UserTypeMapping
1. Created mapping classes that implement the Mapper interface
2. Added the following to the jbosscmp-jdbc.xml file : 

   
  | 
  |  
  |com.digitalhome.msg.DHActionType
  |java.lang.Integer
  |com.digitalhome.db.DHActionTypeMapper   
  |  
  |  
  |com.digitalhome.msg.DHMessageType
  |java.lang.Integer
  |com.digitalhome.db.DHMessageTypeMapper  
  
  |   
  | 
  | 
  | 

Here is the code for one of the mapper classes :
/**
  |  * DigitalHome copyright 2005 
  |  * 
  |  * Filename: DHActionTypeMapper.java
  |  * Package : com.digitalhome.db
  |  * Create Date : Nov 18, 2005
  |  * Author  : root
  |  * 
  |  */
  | package com.digitalhome.db;
  | 
  | import org.jboss.ejb.plugins.cmp.jdbc.Mapper;
  | 
  | import com.digitalhome.msg.DHActionType;
  | 
  | /**
  |  * @author root
  |  *
  |  */
  | public class DHActionTypeMapper implements Mapper
  | {
  | 
  | /**
  |  * Constructor
  |  */
  | public DHActionTypeMapper()
  | {
  | super();
  | // TODO Auto-generated constructor stub
  | }
  | 
  | 
  | /**
  |  * This method is called when CMP field is stored.
  |  * @param fieldValue - CMP field value
  |  * @return column value.
  |  */
  | public Object toColumnValue(Object fieldValue)
  | {
  | DHActionType type = (DHActionType)fieldValue;
  | return new Integer(type.getType()); 
  | }
  | 
  | /**
  |  * This method is called when CMP field is loaded.
  |  * @param columnValue - loaded column value.
  |  * @return CMP field value.
  |  */
  | public Object toFieldValue(Object columnValue)
  | {
  |int ordinal = ((Integer)columnValue).intValue();
  |return DHActionType.getActionType(ordinal);
  | }   
  | 
  | }




I have breakpoints set in the mapper classes which are never hit, so it appears 
the mapper classes are not being called, and the values in the database for the 
enum columns are not being entered properly, the default of 0 is being entered.

Does anyone have any ideas on what Im doing wrong or missing? 
 Thanks
-Andy





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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: My SQL users not inserting

2005-11-28 Thread masarinm
Hi, 

I had the same issue but I solved the problem by installing an earlier version 
of MySQL (as recommended in the JBoss Portal user guide). For whatever reason, 
this exception occurs with MySQL 5.

Ciao,
Marco

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: ClassNotFoundException when deploying embedded RAR with

2005-11-28 Thread dalvarezpy
Ok, it was not that beatiful, as it turned out that by including the -ds.xml 
file in the EAR file, the deployment stopped the, complaining but it's not 
working yet: the connector (connection factory) is never bound to the JNDI 
name, and nothing works. 

Any ideas, suggestions, etc? 

Thanks again, 

Darío A.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Treecache Lock Error

2005-11-28 Thread alesj
Hi!

Any progress on your side guys?

My: http://jboss.org/index.html?module=bb&op=viewtopic&t=73121
:-(

Rgds, Ales


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - where to find documentation-example.zip

2005-11-28 Thread chaser
Hi, 

I am trying to find the file 'documentation-example.zip' or 
'documentation-example.tar.gz ' on the jboss site. But it seems to be removed. 
I am wondering if anybody body know where I can find one to download or if you 
have one, could you please send me one copy to me? My email is [EMAIL 
PROTECTED] and please put 'jboss example' in the subject.

Thanks a lot!

X.Chen

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ApacheServerTokenNotSet warning from security scan

2005-11-28 Thread jianwu
I face the same problem. But I'm working on TOMCAT. I believe this is a common 
mistake from the IT/security department. It shouldn't be security problem. But 
anyway, as they use some tool to scan,  we have no choice to fix it. 

I have a solution for tomcat. maybe it should be similar for you JBOSS, hope it 
helps you.

modify file: 

$TOMCAT_HOME/conf/server.xml

add following attribute 

server="DUMMY" 

in the "Connector" element.

e.g. 



This is only work on TOMCAT 5.1.26, but not work on TOMCAT 5.0.30.



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - IdentityLock exception with EJB3

2005-11-28 Thread alesj
(this was already added to previous similar thread - which cannot be viewed 
anymore)

I'm using cache with EJB3 (Hibernat3.1). All pojos use 'transactional' cache 
concurrency strategy.

This is the error msg that I get:


  | 15:16:06,359 ERROR [IdentityLock] read lock for /mediumTime could not be 
acquired by Thread[http-0.0.0.0-8080-3,5,jboss] after 0 ms. Locks: Read lock 
owners: {}
  | Write lock owner: GlobalTransaction::15
  | , lock info: write owner=GlobalTransaction::15 (activeReaders=0, 
activeWriter=Thread[http-0.0.0.0-8080-3,5,jboss], waitingReaders=0, 
waitingWriters=0, waitingUpgrader=0)
  | 15:16:06,359 ERROR [IdentityLock] read lock for /mediumTime could not be 
acquired by Thread[http-0.0.0.0-8080-3,5,jboss] after 0 ms. Locks: Read lock 
owners: {}
  | Write lock owner: GlobalTransaction::15
  | , lock info: write owner=GlobalTransaction::15 (activeReaders=0, 
activeWriter=Thread[http-0.0.0.0-8080-3,5,jboss], waitingReaders=0, 
waitingWriters=0, waitingUpgrader=0)
  | 15:16:06,375 ERROR [IdentityLock] read lock for /mediumTime could not be 
acquired by Thread[http-0.0.0.0-8080-3,5,jboss] after 0 ms. Locks: Read lock 
owners: {}
  | Write lock owner: GlobalTransaction::15
  | , lock info: write owner=GlobalTransaction::15 (activeReaders=0, 
activeWriter=Thread[http-0.0.0.0-8080-3,5,jboss], waitingReaders=0, 
waitingWriters=0, waitingUpgrader=0)
  | 

My jboss-service.xml where I declare the cache:

  | 
  | 
  | 
  | 
  | 
  | 
  | jboss:service=Naming
  | jboss:service=TransactionManager
  | org.jboss.cache.JBossTransactionManagerLookup
  | REPEATABLE_READ
  | LOCAL
  | TreeCache-Cluster
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 2
  | 15000
  | 1
  | org.jboss.cache.eviction.LRUPolicy
  | 
  | 
  | 5
  | 
  | 5000
  | 
  | 3600
  | 3600
  | 
  | 
  | 300
  | 0
  | 
  | 
  | 1000
  | 0
  | 
  | 
  | 300
  | 0
  | 
  | 
  | 20
  | 0
  | 
  | 
  | 100
  | 0
  | 
  | 
  | 10
  | 0
  | 
  | 
  | 50
  | 0
  | 
  | 
  | 20
  | 0
  | 600
  | 
  | 
  | 200
  | 0
  | 
  | 
  | 
  | 200
  | 0
  | 
  | 
  | 10
  | 0
  | 
  | 
  | 500
  | 0
  | 
  | 
  | 50
  | 0
  | 
  | 
  | 200
  | 0
  | 
  | 
  | 200
  | 0
  | 
  | 
  | 200
  | 0
  | 86400  
  | 
  | 
  | 200
  | 0
  | 3600 
  | 
  | 
  | 200
  | 0
  | 600
  | 
  | 
  | 
  | 
  | 
  | 

Rgds, Ales


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Alpha 5.0 - Port not found in WSDL

2005-11-28 Thread johnr1111
http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch12.html

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - [AxisServlet] javax.xml.rpc.JAXRPCException: No such operati

2005-11-28 Thread Zhuk
Hello All.

I'm building and deploying ws sample from 
http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-ws4ee-HelloWorld.shtml
  on my JBoss 4.0.3

and I have an error :

15:17:59,156 ERROR [RPCInvocation] javax.xml.rpc.JAXRPCException: No such 
operation 'in0'
javax.xml.rpc.JAXRPCException: No such operation 'in0'
at 
org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:273)
at 
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103)
at 
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
at 
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Unknown Source)
15:17:59,218 ERROR [ServerEngine] Server error: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode: 
 faultString: No such operation 'in0'
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace: javax.xml.rpc.JAXRPCException: 
No such operation 'in0'
at 
org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:273)
at 
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103)
at 
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
at 
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.Appl

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Memory problems starting JBossmq with DB2

2005-11-28 Thread oaadland
For those of you out there unfortunately enough to run DB2 I have the solution 
to this problem.

The solution to the problem as suggested in 
http://jira.jboss.com/jira/browse/JBAS-1891 (and parent) do not work with DB2. 
Setting fetch direction, concurrent read mode or fetch size will not let you 
load the JBoss messaging service with a large number of messages in a single 
queue. 

The proposed solution 
http://jboss.org/index.html?module=bb&op=viewtopic&t=46186 wouldn't work either 
since you still try to load all messages in a destination in a single sql.

In DB2 memory for LOB records are freed only when the statement handle is 
dropped. This meens that you have to split the fetch sequence into several sqls 
where each sql only return a smaller amount of messages (In my case less than 
1600 messages).

However it is an obscure workaround for this problem. Setting the patch2=50 in 
your db2cli.ini solves these issues. By setting this you tell DB2 to free 
memory after each fetch. This file really is an ODBC config file. Go figure.

Se 
http://publib.boulder.ibm.com/infocenter/db2help/index.jsp?topic=/com.ibm.db2.udb.doc/ad/c0007882.htm
 for further explanation on this and other obscure settings. I hope no one else 
have to use as much time as me on this issue.

Oystein

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: How to use TreeCache inside JBoss

2005-11-28 Thread [EMAIL PROTECTED]
Since this is the integration tests, it is located under jboss-4.0 tree. You 
will need to download the jboss AS source tree under testsuite.

-Ben

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Catching a timeout exception when using CMT

2005-11-28 Thread DeanoUK
Notes: I'm using CMT on JBoss 3.2.3

I'm trying to think of a way to somehow catch a timeout exception. It happens 
rarely and we can easily increase the timeout time to avoid it, but it has got 
me thinking of how to catch a timeout exception so that we can respond to the 
exception in a more constructive way (as opposed to just an exception in the 
log).

Adrian suggest the following code in the Wiki:

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

However I think I'm correct in thinking that though the code at the bottom 
would help (via the finally block), this is purely for BMT.

Can anyone suggest anything?

Thanks.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Problem while generating mapping in Hibernate from DB2

2005-11-28 Thread sumeshsadau
Hi ,

I dont know whether this is the right forum to post this but i am taking my 
chance.Anyway here it is 
i am struggling to generate hibernate mapping files ( reverse engineering from 
DB2 database 8.1 or 7 tried using both ) i always end up with the following 
errors. 

I am using JBOSS IDE with eclipse version 3.1.1 and hibernate 3(downloaded with 
JBOSS server jboss-4.0.3SP1)

getting the following error 

1) WARN main net.sf.ehcache.config.Configurator - No configuration found. 
Configuring ehcache from ehcache-failsafe.xml found in the classpath: 
bundleresource://131/ehcache-failsafe.xml

I doubt whether the package is now valid for hibernate 3 
since i have read that it is org.hibernate 
but since the IDE is looking for this ... i am not sure what to change and where


2) WARN Worker-3 org.hibernate.connection.DriverManagerConnectionProvider - 
problem closing pooled connection

COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] CLI0116E  Invalid transaction 
state. SQLSTATE=25000
at 
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExceptionGenerator.java:183)
at 
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(SQLExceptionGenerator.java:440)
at COM.ibm.db2.jdbc.app.DB2Connection.close2(DB2Connection.java:846)
at COM.ibm.db2.jdbc.app.DB2Connection.close(DB2Connection.java:812)
at 
org.hibernate.connection.DriverManagerConnectionProvider.close(DriverManagerConnectionProvider.java:152)
at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$1.execute(Unknown
 Source)
at 
org.hibernate.console.execution.DefaultExecutionContext.execute(Unknown Source)
at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(Unknown
 Source)
at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(Unknown
 Source)
at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(Unknown
 Source)
at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(Unknown
 Source)
at 
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


here is my config file 

  
COM.ibm.db2.jdbc.app.DB2Driver
password
jdbc:db2:SEDB_L
db2admin
db2gsadm
org.hibernate.dialect.DB2Dialect
true



Any help in this regard is really appreciated.

Thanks in Advance
Sumesh

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Varargs Injection Unsupported ?

2005-11-28 Thread gedl
"chiba" wrote : Hmm... Java 5 has not been fully supported.  But I will add 
this to my Todo list.
  | 

Ok, thank you very much. In the meanwhile I'm using the typical array of 
objects as a turnaround.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Bug in Annotation (Take 2) ?

2005-11-28 Thread gedl
"chiba" wrote : I think the exception was thrown because the @pacote.Anotacao 
interface is not accessible from your code using Javassist.  Can you check your 
code?
  | 

Hello, Chiba.

Indeed my pacote.Anotacao is not accessible from my code using Javassist. 
However since its available from "regular" java code, I'd like to know the 
differences between "regular" java accessibility and "via javassist" 
accessibility.

Thank you once again.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: java.lang.IllegalStateException: Failed to find method f

2005-11-28 Thread jbossalexandre
I solved it. I use Maven and the jboss.jar in the maven repository was 
different from the jboss.jar in the server, so I just updated my local maven 
repository.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: IdentityLock exception while using JBossCache and Hibern

2005-11-28 Thread jaikiran
Thanks Manik. That answers my question.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - $Proxy1.create(Unknown Source) java.lang.NullPointerExceptio

2005-11-28 Thread jbossalexandre
I am testing my LocalBean. I can get the home, but when I call create on it I 
get the following exception(I tested the home and it is not null):
any help welcome.

java.lang.NullPointerException
at 
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
at $Proxy1.create(Unknown Source)
at MyTestBeanTest.setUp(MyTestBeanTest.java:51)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at 
org.codehaus.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:246)
at 
org.codehaus.surefire.battery.JUnitBattery.execute(JUnitBattery.java:220)
at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:204)
at org.codehaus.surefire.Surefire.run(Surefire.java:153)
at org.codehaus.surefire.Surefire.run(Surefire.java:77)
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:585)
at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:303)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
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:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Strange Behaviour - starting JBiss 4.0.1 with CRON

2005-11-28 Thread scheffmike
Hi guys,

when (re)starting JBoss with CRON (ever morning 07:00 h), the deployed 
application behaves strange (HTTP 500 errors, to save is impossible, etc.). 
After manually restart all things are working fine. Does this problem hangs on 
CRON behaviour? Any ideas or hints are really appreciated :-).

I didn't find any topics related to this. So please excuse when I posted this 
topic twice.

With best regards
Mike


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - TreeCache.callRemoteMethods(): where is the target?

2005-11-28 Thread gfzhang
Hi,

How to specify the target that the callRemoteMethods() will invoke onto?

thanks

guofeng


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Must include type attribute for handler deployment mess

2005-11-28 Thread [EMAIL PROTECTED]
Have you looked at the samples that are attached to the wiki?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: problem with XSD_DATE, Jboss is not able to transfer an

2005-11-28 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | I need to set the configuration information in JBoss Server to use the 
apache's serializers.
  | 

This can't be done because we don't support thirdparty 
serializer/derserializers with our stack.

On whether the encoding for zime zone can/should be configurable I'd need to do 
a little research. Maybe you don't want to use xsd:date at all.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EJB dependency : NoClassDefFoundError

2005-11-28 Thread bgonline
Hello,

I have an EJB that makes reference to a Class packaged in a commons.jar package.
I have put this commons package at the root of the ejb-jar file, and I have 
referenced it in my META-INF/MANIFEST.MF file as :

  | Class-Path:  commons-1.0.jar
  | 
But when I start JBoss, and that it tries to deploy my EJB, I have a 
NoClassDefFoundError. If I put my package in the lib directory of my AS, it 
works.

How have I got to do ?

Thanks in advance.
_ _ _ _
bgOnline

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: HA of jboss style web service

2005-11-28 Thread [EMAIL PROTECTED]
Service endpoints are stateless and most likely beeing accessed over HTTP 
transport. What is your specific issue with load balancing the endpoint?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: IdentityLock exception while using JBossCache and Hibern

2005-11-28 Thread [EMAIL PROTECTED]
yes, in that it may mean that hung threads could attempt to wait for locks for 
quite a long time (effectively hanging your app) waiting for a lock if you are 
in a deadlock condition.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: DBScheduleProvider

2005-11-28 Thread [EMAIL PROTECTED]
wake up when (or every when?)???

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: How to hide an element in WSDL ? please help.

2005-11-28 Thread [EMAIL PROTECTED]
You need to change the complex type definition in the wsdl contained schema and 
remove the property mappings for that you don't want in jaxrpc-mapping.xml

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Alpha 5.0 - Port not found in WSDL

2005-11-28 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | Deployment FAILED reason: Cannot find port in wsdl: HelloPort

What ports do you have in the wsdl?



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Server-side validation of non-nillable elements

2005-11-28 Thread [EMAIL PROTECTED]
Neil, the very fundamental problem with the Axis based stack is that it does 
not even look at the schema, let alone the nillable attribute on individual 
elements. This is one of the main motivations to implement our own stack.

This problem will be addressed in jbossws-1.0 which is nearly production ready. 
Please have a look at 

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=64321

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Web Service Deployment: NullPointerException

2005-11-28 Thread [EMAIL PROTECTED]
Did you not get an error log on deployment?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Web Service Deployment: NullPointerException

2005-11-28 Thread [EMAIL PROTECTED]
The  is invalid

 
  | http://speck.net.au/wsdl
  | speck-webservices
  | 

it should be something like this


  | http://java.sun.com/xml/ns/j2ee";
  |   xmlns:impl="http://test.jboss.org/ws4eesimple";
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd";
  |   version="1.1">
  | 
  |   
  | 
HelloWsService
  | WEB-INF/wsdl/HelloService.wsdl
  | WEB-INF/jaxrpc-mapping.xml
  | 
  |   ValidURL
  |   impl:ValidURLPort
  |   
org.jboss.test.webservice.ws4eesimple.HelloWs
  |   
  | HelloJavaBean
  |   
  | 
  |   
  | 
  | 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EMAIL PROTECTED] - JBoss Training Specialist - Bangalore, India

2005-11-28 Thread satyamoorthys
Is Teaching Technology your passion and dream??
If Yes, here is the golden opportunity to be an Open Source Ambassador!

JBoss Training Specialist!

Job: Provide trainings to customers and students on JBoss technology and JEMS 
suite of products

These trainings are very very technical and in-depth and are both onsite at 
customer premises and public class in various cities.
 

Experience:

-  Minimum of 5 years of Industry experience (more the better!)
-  Minimum of 4 years in JEE development
-  Excellent understanding of JEE technology
-  Excellent Oral and written communication skills
-  Ability to speak good accent free English
-  Prior training experience
-  Working knowledge of application servers 
-  Knowledge of JBoss is a Plus!


In this exciting position, the Training specialist will: 

-  Become certified in the JBoss product suite
-  Work with other JBoss Training Specialists across the company to 
work on the training material and 
-  Provide both onsite and public trainings to customers in India and 
all over APAC

 
This job may require travel both within India and over APAC countries.

 Rush your resumes to [EMAIL PROTECTED]


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Generating WSDL on the fly in JBoss-WS

2005-11-28 Thread [EMAIL PROTECTED]
Have a look at


  | 
  | ${jboss.bind.address}
  | 8443
  | 8080
  | true
  | 

in

server\default\deploy\jboss-ws4ee.sar\META-INF\jboss-service.xml

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EMAIL PROTECTED] - Java EE Specialist - Bangalore, India!

2005-11-28 Thread satyamoorthys
Do you have the Passion of a Geek in you?
  | 
  | Would you like to work on Open Source and get paid for it?
  | 
  | Do you have what it takes to rub shoulders with the Geniuses?
  | 
  | Do you have what it take to lead a balanced life ? between work and play?
  | 
  | Do you think you are a Java EE Expert?
  | 
  | Do you think you can be part of Standards committees?
  | 
  | If so, here is a lifetime opportunity to work right from India!
  | 
  | JBoss is inviting those motivated, talented Java EE professionals to join 
the JBoss India Operations as Java EE Specialists!
  | 
  | In this exciting position, the specialist will: 
  | - Become certified in the JBoss product suite
  |   | - Provide Support to JBoss Subscribers (Customer)
  |   | - Add value to the overall JBoss Support model
  |   | 
  |   | - Contribute code to the core JBoss Product suite 
  |   | 
  |   | - Develop software programs to help resolve customer technical issues
  |   | - Generate solutions to frequently asked questions
  |   | - Create effective patches to address and fix defects
  |   | - You will be required to work in shift schedules (while India is 
awake!) to become part of JBoss 24x7 Support model
  | 
  | Required Skills and Experience: 
  | - Minimum 5 years of professional software work experience 
  | - Minimum 4 years of software development experience using Java and all 
major areas of Java EE is required 
  | - Should be very well versed in all areas of Java EE
  | - JBoss experience is much preferred
  | - Strong analytical and troubleshooting skills
  | - Outstanding customer service focus and skills
  | - Passion for Open Source development
  | - Ability to work independently and as a team player
  | - Strong Written and Oral communication skills
  | - Bachelors Degree in Computer Science or related 
  | 
  | Added Advantage:
  | 
  | If you have looked into JBoss code base, understand the Java EE 
specifications, worked on application server internals, you stand a better 
chance!
  | 
  | Rush your resume to [EMAIL PROTECTED]
  | PS: If you think J2EE is just JSP and Servlets, please refrain from 
applying!
  | 
  | 
  | 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: trouble with deserialization of arrays

2005-11-28 Thread [EMAIL PROTECTED]
anonymous wrote : client seems to use SOAP encoding arrays

AKAICS, the client is not using soap encoding. That the message does not 
conform to the wsdl contained schema is probably a bug.

Can you show us the service endpoint interface (SEI)?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: DBScheduleProvider

2005-11-28 Thread richiewalsh
Hi Guys,
I know that this is an old thread but I am asking the same quesiton. In fact 
the documentation on scheduling in general is minimal. 

I also want to write a schedulable service that can be woken up by an external 
program by creating a notification event rather then waiting for the 
schedulable service to wake up at specific intervals. Anyone done anything like 
this.

thanks,
Richie.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Portlet selective security

2005-11-28 Thread frantuma
Hi,

I am struggling to get security applied to my jboss-deployed portlets; as far 
as I understand what needs to be done according to jboss portal spec and forums 
is summarized below. I hope the summary could help others with their similar 
issues

-

Jboss specific security handling:

1) edit jboss-portlet.xml adding a security tag like:


  |
  |   
  |  write
  |  Writing permission
  |  read
  |   
  |   
  |  read
  |  Reading permission
  |   
  |
  |
  |   
  |   
  |  /
  |  
  | read
  | Authenticated
  |  
  |  
  | write
  | Authenticated
  |  
  |   
  |
  | 

2) check security in the portlet by using jboss-specific 

JBossRenderRequest.hasPermission("write")

or

JBossActionRequest.hasPermission("write")

in any of processAction, render, etc, casting RenderRequest/ActionRequest or 
using a jboss implementation of the Portlet interface.
--
I have tried that but for some reason JBossActionRequest.hasPermission("write") 
ALWAYS returns true (actually providing whatever string as argument I get true 
as well: JBossActionRequest.hasPermission("notExistiongRole")).

Any idea of what I am doing wrong?

I have seen a couple of topics with similar problems but with no reply.

Browsing the forum I have noticed that some people suggest that the tag 
 child of  is mandatory. Is that true? what is 
the meaning of the tag?

To have it working is it mandatory to extend JBossPortlet and use its 
renderMethod(JBossActionRequest,JBossActionResponse) or is it possible to 
normally extend GenericPortlet and cast the request?

Is any further step needed?

--
--

JSR168 compliant security handling:

Another chance, I believe,  would be to use not jboss specific code inside the 
portlet using

isUserInRole(String)


reading forums and spec it seems like that you must add


  |   Authenticated
  | 

to your portlet.xml

and define  entries in the application web.xml

in topic http://www.jboss.com/index.html?module=bb&op=viewtopic&t=61109 though 
it seems that version 4.01 had a bug in isUserInRole() fixed in 4.02beta
--
I am using 4.02 but I cannot get isUserInRole to work. any idea?

is this approach used and suggested by jboss portal team?

--
--

A related topic and newbie question regards having security handled either by 
the portal or anyway by deployment descriptors or whatever, not be forced to 
have security code inside the portlet.

I have succeded implementing security for all my portal (jboss default portal) 
by editing 

portal-server.war/WEB-INF/web.xml changing

   
  |   
  |  Authenticated
  |  
  |  /auth/*
  |   
  |   
  |  Authenticated
  |   
  |

into

   
  |   
  |  Authenticated
  |  
  |  /*
  |   
  |   
  |  Authenticated
  |   
  |

which allows me to protect access to ALL resources mapped to /portal/*  urls.

One thing I still don't understand is how to selectively provide security to 
portlets inside a portal in this way.

Let's say I specify a /auth/* (the default) in 
web.xml of portal-server;

in this case all resources under auth/ will be authenticated. But reading spec, 
docs and forums, it seems like that the only way to map an url to a porlet is 
by using 

.../portal/index.html?...etc..

This obviously makes impossible to have portlets selectively authenticated 
through the standard security mechanism.

a) Is there a way to achieve selective portlet authentication through jboss 
portal security?

b) Is there instead any other way to achieve portlet authentication through 
some mechanism that allows security definition at deploy time, thus avoiding 
wirting ANY java code inside the portlet.

This would be helpful to mantain portlets non specific to a deployment 
environment, I believe, but I am sorry if the question is wrong because I am 
yet confused about this.


Thanks

Francesco

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: processAction in Jboss portals

2005-11-28 Thread arvind_pv
Hi,

I'm also a newbie to the Portal Specification, please check the code given 
below.


  | public class SearchPortlet extends GenericPortlet {
  | private boolean resultsFlag = false;
  | public static final String VIEW_RESULT = "/jsp/Results.jsp";
  | public static final String VIEW_JSP = "/jsp/SearchView.jsp"; 
  | public void init(PortletConfig portletConfig) throws 
UnavailableException, PortletException { 
  | super.init(portletConfig); 
  | } 
  | 
  | protected void doView(RenderRequest request, RenderResponse 
response)throws PortletException, IOException { 
  | response.setContentType(request.getResponseContentType());  

  | PortletRequestDispatcher portletRequestDispatcher = null;
  | if(resultsFlag) {
  | portletRequestDispatcher = 
context.getRequestDispatcher(VIEW_RESULT);
  | } else {
  | portletRequestDispatcher = 
context.getRequestDispatcher(VIEW_JSP);
  | }
  | portletRequestDispatcher.include(request, response); 
  | } 
  | 
  | public void processAction(ActionRequest request, ActionResponse 
esponse)  throws PortletException, java.io.IOException { 
  | String keyword=request.getParameter("keyword"); 
  | String category=request.getParameter("category"); 
  | String location=request.getParameter("location"); 
  | SearchBO keyCateLoc=new SearchBO(); 
  | boolean yes=keyCateLoc.searchKCLBo(keyword, category, 
location); 
  | resultsFlag = yes;
  | } 
  | } 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: How to refer Images outside JBOSS_HOME?

2005-11-28 Thread smyogesh
Hi Daniel,
Thanks for your reply.
I read some of the XML files in the "conf" directory of JBOSS and came to know 
that I have to modify the jboss-service.xml file for "Hot Deployment", and then 
I did it.

Modify the following tag in the jboss-service.xml file:
attribute name="URLs" with the following value
 deploy/,file:/var/myapp/


I had "images.war" under "/var/myapp". First, JBOSS searches for .war and .ear 
files under the usual "deploy" directory and if "images.war" is not available, 
then it will search the "/var/myapp" directory. And it found out the images.war 
under "/var/myapp".

Now, my problem is fixed.

Thanks,
smyogesh.

Reference:
http://www.jboss.org/wiki/Wiki.jsp?page=ConfiguringTheDeploymentScannerInConfjbossSystem.xml

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Connections behind a Firewall

2005-11-28 Thread Rolo05
Hi all,

Between my JBoss server and the database there is a FW that is configured for 
disconnect connections after a certain period of time.

The problem is that my datasource pool is not aware of this disconnection and 
those connections in the pool not used after this period of time stand in a 
semi-dead state. The does not work properly but JBOSS give them to the client 
with the subsequent error.

I have put the "valid-connection-checker-name" label on my descriptor, to check 
first the connection but I'm not sure (web-console don't show it to me) if 
after knowing the connection is invalid, it destroyes it and creates a new one 
or discards it a choose other (The last won't solve my problem)

Thanks in advance

Rolo


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Deploy Performance under JBoss 4.0.3SP1

2005-11-28 Thread roberto
Jboss 3.2.7 is faster than JBoss 4.0.3SP1.

Under Jboss 3.2.7 i deploy my app in 21 min
Under Jboss 4.0.3SP1 i deploy the same app in 24 min.

I have an expanded ear that contains
compressed EJB Jar and a expanded WAR

Bye and Thank You


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - NAKACK ERROR

2005-11-28 Thread gadha
hI i am getting following error.I have only one jboss server which i am running 
with eclipse
4:19:44,656 WARN  [NAKACK] [arunojha:4090] discarded message from non-member 
10.6.13.30:4280
WARN  [NAKACK] (additional data: 16 bytes)] discarded message from non-member 
10.6.13.30:4266 (additional data: 15 bytes)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - processAction in Jboss portals

2005-11-28 Thread udaiibhaskar
hi,

i am a newbie to portals, and i have a problem in processAction() method

--
package com.mhd.cda.iu;

import java.io.IOException;
import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import javax.portlet.GenericPortlet;
import javax.portlet.PortletConfig;
import javax.portlet.PortletException;
import javax.portlet.PortletRequestDispatcher;
import javax.portlet.PortletURL;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import javax.portlet.UnavailableException;

public class SearchPortlet extends GenericPortlet {
public static final String VIEW_JSP = "/jsp/SearchView.jsp";
public void init(PortletConfig portletConfig) throws 
UnavailableException, 

PortletException {
super.init(portletConfig);
}

protected void doView(RenderRequest request, RenderResponse 
response)throws PortletException, IOException {
response.setContentType(request.getResponseContentType());
PortletURL url = response.createActionURL();
System.out.println("123445." + url);
PortletRequestDispatcher rd = 
getPortletContext().getRequestDispatcher(VIEW_JSP);
rd.include(request, response);
}

public void processAction(ActionRequest request, ActionResponse 
 esponse)
throws PortletException, java.io.IOException {
String keyword=request.getParameter("keyword");
String category=request.getParameter("category");
String location=request.getParameter("location");
SearchBO keyCateLoc=new SearchBO(); 
boolean yes=keyCateLoc.searchKCLBo(keyword, category, location);
}
} 

--
in the above program the processAction method is getting some values from 
SearchView.jsp now this values are passed to myBO object (or class) which will 
return boolean value, so if it is true then i should navigate the portlet to 
Results.jsp (How can i navigate to Results.jsp)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - How can I use xpath with dom4j under JBoss?

2005-11-28 Thread lovejesus

the problem is--
i want to use xpath api of dom4j,but the dom4j.jar under jboss4.0.3sp1 doesn't 
contain the xpath interface! i 'v been struggling for hours before i realize 
this,so i replaced dom4j.jar with the newest dom4j.jar in two places separately.

But -- still it doesn't help ,because i have no means to let know jboss know 
where to locate the jaxen.jar which is needed when calling xpath api.
the error stack is :

java.lang.NoClassDefFoundError: org/jaxen/JaxenException
at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
at org.dom4j.tree.AbstractNode.valueOf(AbstractNode.java:189)
at 
cn.ios.issa.web.struts.action.NewslistAction.readPreference(NewslistAction.java:168)
at 
cn.ios.issa.web.struts.action.NewslistAction.getMyNews(NewslistAction.java:155)
at cn.ios.issa.web.struts.action.NewslistAction.execute(NewslistAction.java:127)
..





so my question is , how can i let the jaxen.jar in jboss get to work,it is 
under the directory : %JBOSS_HOME%\server\all\deploy\ejb3.deployer

i 'v tried to put the jaxen.jar under %JBOSS_HOME%\server\all\lib and 
%JBOSS_HOME%\lib and my own ear ,sadly ,that still doesn't change anything.

responing would be much appreciated.thanks

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user