[jboss-user] [EJB/JBoss] - Stateful bean with different tx context-urgent

2006-11-07 Thread boobalan_kj
when multible users accessing the application I am getting the following  log 
message...

INFO | jvm 1 | 2006/11/02 13:45:29 | 13:45:29,216 ERROR
[LogInterceptor] TransactionRolledbackLocalException in method: public abstract 
void javax.ejb.EJBLocalObject.remove() throws 
javax.ejb.RemoveException,javax.ejb.EJBException, causedBy:
INFO | jvm 1 | 2006/11/02 13:45:29 | javax.ejb.EJBException:
Application Error: tried to enter Stateful bean with different tx context, 
contextTx: TransactionImpl:XidImpl[FormatId=257,

I am using the REQUIRED transaction attribute and default container 
configurations(STANDARD for CMP2.x).which uses QueuedPessimisticLock..
I am getting lot of ApplicationDeadLockException..I tried to use Instance Per 
policy but that is getting more dirty reads.

how do i get rid of this problem?

Thanks in advance
bala.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984014
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: XML transformer classloader issue

2006-11-07 Thread norsay
solved the problem myself. Instead of rendering the XSLT on server side (EJB - 
located in a JAR within the EAR) I'm doing the transformation in my struts 
action (located in the WAR within the EAR). Ok, it is more a hack than a 
solution, however it's working now :-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Page Parameters

2006-11-07 Thread [EMAIL PROTECTED]
Done in CVS, please test this for me. thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984011
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Problem regarding downloading and installing JBoss IDE 2.0.0

2006-11-07 Thread arya_ashish
Hi,

I am facing problem in downloading and installing JBoss IDE 2.0.0 Beta version 
on Eclipse 3.2.1. I tried the same through 2 different ways.

1) when I tried to download the zip file 'JBossIDE-2.0.0Beta2-All.zip, the 
donwloaded file doesn't open properly with winzip/winrar or other compression 
tools. It seems as if the downloaded file is not properly formated. I tried the 
same activity multiple times.

2) I also tried to use the "install/update" feature of eclipse as mentioned in 
the installation guide. But it seems as if the installation site 
"http://download.jboss.org/jbosside/updates/stable"; has installation for JBoss 
IDE version 1.6 not 2.0.0. Although I could intall properly through this but 
its giving error while running as I am using Eclipse 3.2.1.

Also when I tried to download the file "JBoss 
IDE-2.0.0.Beta2-Bundle-win32.zip", the browser giving me error that it couldn't 
download this file.

Please help me, how can I download and install JBoss IDE 2.0.0 on eclipse 3.2.1?

Thanks and regards,

Ashish

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984010
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Connecting to two JBoss messaging servers causes interfe

2006-11-07 Thread davidrh
Also, we are running 1.0.1.GA on JBoss 4.0.4.GA deployed as 
standalone-messaging.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984009
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Connecting to two JBoss messaging servers causes interferenc

2006-11-07 Thread davidrh
We are having problems getting JBoss to work when we have a connection from the 
one client to two JBoss messaging servers simultaneously.  Everything works 
fine initially, but if one server goes down the client connections to the good 
server are also disconnected.  This situation (i.e. one server going down) is 
the reason why we have multiple connections.

Some background: In our application, we have implemented high availability in 
our messaging client by maintaining a connection to two (or more) JMS servers 
simultaneously.  For dispatching of messages, we try the first JMS server and 
if that doesn't work, we try the second and so on.  For receiving messages, we 
set up a message listener for each queue on all of the JMS servers. For 
receiving and sending, we always use the session that received the message to 
dispatch any subsequent messages.  In this way, we always should have somewhere 
to send messages and each JMS server will always have listeners to receive 
messages.  Any messages sent as part of receiving a message will occur in the 
same JMS transaction and therefore be committed or rolled back as one.

We have ExceptionListeners registered on the connections to handle periodically 
attempting to reconnect to the JMS server that has failed. For sending messages 
we use Spring's JmsTemplate backed by a pool of sessions using Apache commons 
pooling. For receiving messages, we use message listeners.

The problem that we are seeing is reproduced in this post 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=93258 which 
unfortunately has a bit of a vague subject and hasn't attracted any response.  
My apologies for reposting if this lack of response is not caused by the 
subject.

We successfully employ this strategy with Active MQ and Oracle AQ so we think 
that our code is workable.  Is there any inherent reason why you can't have one 
client connecting to two JBoss messaging servers at the same time, without the 
failure of one connection interfering with the other? Is there anything in the 
above approach to availability that would be inherently unsound with JBoss 
Messaging?

Any guidance appreciated.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984008
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Problem with J_security_check

2006-11-07 Thread jaikiran
More details will be required. Please post the contents of the web.xml, 
jboss-web.xml and the url which you are using to access the application. Also 
please obtain the TRACE level logs of the jboss security package as mentioned 
in Q4 at:

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




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984007
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Problems with deleting a process instance of a complex proce

2006-11-07 Thread jits_1998
Hi,

We have a complex process with multiple sub-processes, tasks and multiple child 
tokens in the subprocesses.

We found that GraphSession.deleteProcessInstance() method is unable to delete 
the process instance.
It falls short on following points:
1) It is not deleting the taskinstances, though it creates the query but it is 
never executed.
2) It is not deleting the sub-process and their child tokens, which are not 
refered by "token.getSubProcessInstance".

Here is an updated version of deleteProcessInstance() that works for us:

  | public void deleteProcessInstance(ProcessInstance processInstance, boolean 
includeTasks, boolean includeJobs) {
  | if (processInstance==null) throw new JbpmException("processInstance 
is null in JbpmSession.deleteProcessInstance()");
  | try {
  |   // find the tokens
  |   Query query = 
session.getNamedQuery("GraphSession.findTokensForProcessInstance");
  |   query.setEntity("processInstance", processInstance);
  |   List tokens = query.list();
  |   
  |   // deleteSubProcesses
  |   Iterator iter = tokens.iterator();
  |   while (iter.hasNext()) {
  | Token token = (Token) iter.next();
  | deleteSubProcesses(token);
  | 
  |   }
  | 
  |   // jobs
  |   if (includeJobs) {
  | query = 
session.getNamedQuery("GraphSession.deleteJobsForProcessInstance");
  | query.setEntity("processInstance", processInstance);
  | query.executeUpdate();
  |   }
  |   
  |   // tasks
  |   if (includeTasks) {
  | query = 
session.getNamedQuery("GraphSession.findTaskInstanceIdsForProcessInstance");
  | query.setEntity("processInstance", processInstance);
  | List taskInstances = query.list();
  | if(taskInstances.size()>0){
  | List taskInstancesId = new ArrayList();
  | for(Object ti: taskInstances)
  | {
  | taskInstancesId.add(((TaskInstance)ti).getId());
  | }
  | query = 
session.getNamedQuery("GraphSession.deleteTaskInstancesById");
  | 
query.setParameterList("taskInstanceIds",taskInstancesId);
  | query.executeUpdate();
  | }
  | 
  | 
  |   }
  |
  |   // delete the logs for all the process instance's tokens
  |   query = session.getNamedQuery("GraphSession.selectLogsForTokens");
  |   query.setParameterList("tokens", tokens);
  |   List logs = query.list();
  |   iter = logs.iterator();
  |   while (iter.hasNext()) {
  | session.delete(iter.next());
  |   }
  |   
  |   iter = tokens.iterator();
  |   while(iter.hasNext()){
  |   Token token = (Token)iter.next();
  |   if(processInstance.getRootToken().getId()!= token.getId())
  |   session.delete(token);
  |   }
  |   
  | 
  | 
  |   // then delete the process instance
  |   session.delete(processInstance);
  |   
  | } catch (Exception e) {
  |   e.printStackTrace(); 
  |   log.error(e);
  |   throw new JbpmException("couldn't delete process instance '" + 
processInstance.getId() + "'", e);
  | } 
  |   }
  | 

The "ProcessSession.findSubprocessByToken" query is as follows:

  |  select pi
  |   from org.jbpm.graph.exe.ProcessInstance as pi
  |   where pi.superProcessToken = :token
  | 

Hope it helps... I have not checked Jira for any such known issues, please let 
me know if I need to raise this ticket.

Regards,
Jitendra

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984006
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Why JAAS authenticate() fails?

2006-11-07 Thread jaikiran
anonymous wrote : Please remember to use the "Code" to wrap

I meant: Please remember to use the "Code" button.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984005
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Why JAAS authenticate() fails?

2006-11-07 Thread jaikiran
anonymous wrote : However the status was 200

Which means the request has succeeded. 

anonymous wrote : Are the values for module-option usersProperties and 
rolesProperties correct?

Looks correct.

anonymous wrote : 
  | I am assuming the root "/" starts at server/default. Is my assumption 
correct? 

The "/" indicates the root of your application. Assuming, your application is 
named myApp.ear then "/authentik/transportation-security-roles.properties" will 
translate into myApp.ear/authentik/transportation-security-roles.properties.

anonymous wrote : Do you know why the authentication fail? 

Please post the contents of your web.xml, jboss-web.xml, the url that you are 
using to try out your usecase and also the TRACE level logs of jboss security 
package.(Please remember to use the "Code" to wrap the contents in a code 
block, while posting these details).



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984004
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Defect in Window of my XDocLet configuration proprties

2006-11-07 Thread dev.reddy
To generate the EJB related classes and descriptors, we need to create some 
XDoclet configurations. With JBoss Eclipse IDE, we need to define several 
XDoclet generation configurations that will be run against the project.

Defect in Window of my XDocLet configuration proprties
Help me!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984003
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Postgres SQL 8.1.4, JBoss 4.0.3SP1 - No ManagedConnectio

2006-11-07 Thread jaikiran
May be this might help:

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



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984002
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Defect in Window of my XDocLet configuration proprties

2006-11-07 Thread jaikiran
This looks like a IDE related issue. Posting it in the JBoss/Eclipse IDE forum 
(http://www.jboss.com/index.html?module=bb&op=viewforum&f=201) will be a better 
option. 



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984001
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Defect in Window of my XDocLet configuration proprties

2006-11-07 Thread dev.reddy
To generate the EJB related classes and descriptors, we need to create some 
XDoclet configurations. With JBoss Eclipse IDE, we need to define several 
XDoclet generation configurations that will be run against the project.

Defect in Window of my XDocLet configuration proprties
Help me!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983999
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - JSR-181 Annotation Based UDDI Registration

2006-11-07 Thread jgilbert
I have been looking at the following wiki entries:

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

And I am wondering if there are any plans to roll this into the product? For 
example, I can envision a deployer that automatically registers services 
annotated with @WebService.

I don't want to duplicate any existing efforts.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983998
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - StackTrace appears stderr when session.processSessionRepl()

2006-11-07 Thread nekop
Hi,

I'm using JBoss AS 4.0.5.GA and setting up Tomcat Cluster Service.

Under high load, org.jboss.cache.lock.TimeoutException occurred at  
session.processSessionRepl(). It's ok, but JBossCacheManager dumps stack trace 
into stderr if there is no tx.

JBossCacheManager is doing:


  |protected void processSessionRepl(ClusteredSession session)
  |{
  |   // If we are using SESSION granularity, we don't want to initiate a TX
  |   // for a single put
  |   boolean notSession = (replicationGranularity_ != 
WebMetaData.REPLICATION_GRANULARITY_SESSION);
  |   boolean doTx = false;
  |   try
  |   {
  |  // We need transaction so all the replication are sent in batch.
  |  // Don't do anything if there is already transaction context
  |  // associated with this thread.
  |  if(notSession && tm.getTransaction() == null)
  | doTx = true;
  | 
  |  if(doTx)
  | tm.begin();
  | 
  |  // Tell the proxy to ignore cache notifications we are about
  |  // to generate for this session. We have to do this
  |  // at this level because we don't want to resume handling
  |  // notifications until any compensating changes resulting
  |  // from a tx rollback are done.
  |  SessionReplicationContext.startCacheActivity();
  | 
  |  session.processSessionRepl();
  |   }
  |   catch (Exception ex)
  |   {
  |  if (log_.isDebugEnabled())
  | log_.debug("processSessionRepl(): failed with exception", ex);
  |  
  |  try
  |  {
  | //if(doTx)
  |// Let's set it no matter what.
  |tm.setRollbackOnly();
  |  }
  |  catch (Exception exn)
  |  {
  | exn.printStackTrace();
  |  }
  |  // We will need to alert Tomcat of this exception.
  |  if (ex instanceof RuntimeException)
  | throw (RuntimeException) ex;
  |  
  |  throw new 
RuntimeException("JBossCacheManager.processSessionRepl(): " +
  | "failed to replicate session.", ex);
  |   }
  |   finally
  |   {
  |  try {
  | if(doTx)
  |endTransaction(session.getId());
  |  }
  |  finally {
  | SessionReplicationContext.finishCacheActivity();
  |  }
  |   }
  |}
  | 

1. The notSession is true and the doTx is false since i'm using SESSION 
granularity. 
2. JBossCacheManager doesn't call tm.begin() but calls tm.setRollbackOnly() 
when TimeoutException occurred.
3.  tm.setRollbackOnly() throws IllegalStateException since there is no tx.
4. JBossCacheManager dumps stack trace into stderr.

Is this expected behavior?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983997
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: UPDATED: SelectItems (the one with the EntityConverter)

2006-11-07 Thread forumer
After I annotated ClientActionBean with:


  | @Local ({ClientAction.class})
  | @LocalBinding (jndiBinding="ClientActionBean/local")
  | 

I am now getting a less "bizarre" error. Hopefully, this gives you more clue.


  | 
  | 20:47:06,837 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.AUTO_SCROLL' found, using default value false
  | 20:47:06,837 DEBUG [SeamVariableResolver] resolving name: client
  | 20:47:06,837 DEBUG [Contexts] found in conversation context: client
  | 20:47:06,837 DEBUG [SeamVariableResolver] resolved name to seam component
  | 20:47:06,837 DEBUG [SeamVariableResolver] resolving name: client
  | 20:47:06,837 DEBUG [Contexts] found in conversation context: client
  | 20:47:06,837 DEBUG [SeamVariableResolver] resolved name to seam component
  | 20:47:06,837 DEBUG [SeamVariableResolver] resolving name: client
  | 20:47:06,837 DEBUG [Contexts] found in conversation context: client
  | 20:47:06,837 DEBUG [SeamVariableResolver] resolved name to seam component
  | 20:47:06,847 DEBUG [SeamVariableResolver] resolving name: clientTypes
  | 20:47:06,847 DEBUG [Component] instantiating Seam component: clientAction
  | 20:47:06,847 DEBUG [Naming] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.j
  | np.interfaces}
  | 20:47:06,857 ERROR [STDERR] Nov 7, 2006 8:47:06 PM 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SEVERE: Error Rendering View[/selectitems.xhtml]
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: clientAction
  | at org.jboss.seam.Component.newInstance(Component.java:735)
  | at org.jboss.seam.Component.newInstance(Component.java:1308)
  | at org.jboss.seam.Component.getInstance(Component.java:1263)
  | at org.jboss.seam.Component.getInstance(Component.java:1246)
  | at 
org.jboss.seam.Component.getInstanceFromFactory(Component.java:1292)
  | at org.jboss.seam.Component.getInstance(Component.java:1260)
  | at org.jboss.seam.Component.getInstance(Component.java:1246)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
  | at 
com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
  | at 
javax.faces.component.UISelectItems.getValue(UISelectItems.java:55)
  | at 
org.apache.myfaces.util.SelectItemsIterator.hasNext(SelectItemsIterator.java:103)
  | at 
org.apache.myfaces.renderkit.RendererUtils.internalGetSelectItemList(RendererUtils.java:485)
  | at 
org.apache.myfaces.renderkit.RendererUtils.getSelectItemList(RendererUtils.java:461)
  | at 
org.apache.myfaces.renderkit.html.HtmlRendererUtils.internalRenderSelect(HtmlRendererUtils.java:272)
  | at 
org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderListbox(HtmlRendererUtils.java:235)
  | at 
org.apache.myfaces.renderkit.html.HtmlListboxRendererBase.encodeEnd(HtmlListboxRendererBase.java:73)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983996
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Apache 2 and Jboss performance tuning

2006-11-07 Thread pawan.kumar
Hi,

Our website is based on the typical architecture in which request is 
intercepted by apache http server 2 and later on passed to JBoss(3.2.6).

Despite our efforts the website runs very slow(responds in 10 seconds for an 
avg page). The methods we employed so far are:-

- We increased JVM heap size by 2 GB
- Introduced pre-compiler for all the existing JSPs, if there are new jsps 
created then those have to be incorporated as well
- Apache thread size increased in httpd.conf (I have not idea about exact 
figure)
- Restarted server m/c on every release
- Maitained memory consumption statistics hourly basis.
- Monitored DB connections
- Maintained response time for prominent JSPs
- Deleted jk2.log under jboss directory, when its size exceeds 2 GB then apache 
log gets increased very fast, so we need to check this as well. After this 
change we observed healthy behavior of application 
-Apache Log level modified 

But the problem still persists. On an avg the no. of concurrent users are not 
more than 100. Can anybody help in identifying more such mesures.

rgds


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983993
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: UPDATED: SelectItems (the one with the EntityConverter)

2006-11-07 Thread forumer
I have posted this in more details at jroller.com as well.

selectItems 1.0rc4 built with JBoss-Seam-1.0.1.GA and deployed on 
JBoss-4.0.4.CR2 is not working! I am getting the following error - a strange 
Statful bean name!

I'd appreciate any help in getting this working.

Thanks


  | javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 
5c4oa3-xkn3ck-eu9347cz-1-eu958wrp-9
  | 

Bean is showing up in JMX console as:


  |   +- jboss-seam-selectitems (class: org.jnp.interfaces.NamingContext)
  |   |   +- ClientActionBean (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- localStatefulProxyFactory (class: 
org.jboss.ejb3.stateful.StatefulLocalProxyFactory)
  |   |   |   +- local (class: java.lang.Object)
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983992
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Sharing an Entity Between JSP's

2006-11-07 Thread johnurban
Are seperated components possible with seam? Old school way is the save the 
person object to the session or store it in a SFSB, then using the JSP's 
usebean, retrieve the data for display. How do you do this in Seam?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983990
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Postgres SQL 8.1.4, JBoss 4.0.3SP1 - No ManagedConnections I

2006-11-07 Thread tim.armandpour
Configuration:
Postgres SQL 8.1.4
JBoss 4.0.3SP1
postgresql-8.1-405.jdbc3.jar

pg-ds.xml:



...
10
100
0



We have the db set to 512 max_connections

We continue to see the No ManagedConnections being thrown every couple of days. 
 blocking-timeout-millis = 3

Our code is closing all Connection objects in our finally {} blocks.

1) Are there other parameters we need to set in order to guard against this 
error?
2) Do others recommend we increase the  value?
3) Is it necessary to close all ResultSet and PreparedStatement statements as 
well in our finally {} blocks of code?

Any help or other insight into this is greatly appreciated.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983991
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS Unknown Destination Error

2006-11-07 Thread danielkalcevich
You're right.  I had not properly removed the OpenJMS libraries from the app 
classpath.  Once I did that, I was able to deliver messages to the queue.  
However, now my listener is not registering.  I am attempting to register my 
Message Listener by setting it to my MessageConsumer; which is set by casting 
my queue from JNDI into a javax.jms.Destination.

Any ideas as to why my listener is not working?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jBPM and tasks

2006-11-07 Thread [EMAIL PROTECTED]
Yes, its possible. jBPM stores process definitions in the database, they do not 
need to be deployed with the application.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983988
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jBPM and tasks

2006-11-07 Thread neoko
This is the coolest!

Finally a question tipical from a beginner. Is it posible to change the xml 
file of the business process without deploying again the entire application or 
the changes have to be made in the file and then pack and re-deploy the 
application?

I am interested in users who can orchestrate their own flow of services in 
their particular order, save this and after, these same users will log in and 
consume these services in the order they were ordered. Is this only a product 
of my mind? B-)

Thanks a lot!!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983986
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Error Parsing: #{memberTypeManager.editMemberType(mt)}

2006-11-07 Thread ccanning
The stack trace is below. I received this exception after I manually upgraded 
to 1.1.0 BETA 1 and followed the booking hotel example. Does anyone know what 
is causing this?

Thanks.

com.sun.facelets.tag.TagAttributeException: /browse_membertypes.xhtml @30,135 
action="#{memberTypeManager.editMemberType(mt)}" Error Parsing: 
#{memberTypeManager.editMemberType(mt)}
at 
com.sun.facelets.tag.TagAttribute.getValueExpression(TagAttribute.java:259)
at 
com.sun.facelets.tag.jsf.ComponentRule$ValueBindingMetadata.applyMetadata(ComponentRule.java:90)
at com.sun.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:36)
at 
com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java:62)
at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:140)
at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
at 
com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
at 
com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
at 
com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
at 
com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
at 
com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
at 
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:510)
at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilte

[jboss-user] [JBossWS] - Re: How do you access UsernameTokens?

2006-11-07 Thread summer.hill
What if I want to do some of my own authorisation processing using the token? I 
would like to access the token from within an EJB interceptor somehow.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983985
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jBPM and tasks

2006-11-07 Thread [EMAIL PROTECTED]
Yep, Seam lets you use exactly the same method and value bindings inside the 
jBPM process or pageflow definition that you use inside a JSF page. This is 
really cool, if I don't say so myself ;-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983984
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jBPM and tasks

2006-11-07 Thread neoko
Woo! Incredibly fast! Thanks Gavin, i appreciate this reply from the Seam 
developer!

So, another question if possible. How do i refer to the Seam component which 
manages the conversation inside the xml file which describes the business 
process? Is this name the one which is given to the component with the @Name 
annotation?

:)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983983
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: [JDBCExceptionReporter] Table not found in statement ???

2006-11-07 Thread [EMAIL PROTECTED]
Please wait a couple of days and try again with BETA2, James and I really have 
put a lot of work into seam-gen and I promise that the experience will be MUCH 
smoother.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983982
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Mixing @PersistenceContext with Seam Managed Persistence

2006-11-07 Thread [EMAIL PROTECTED]
It is cached in the EM until the transaction commits.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983980
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Page Parameters

2006-11-07 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-473

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Page Parameters

2006-11-07 Thread [EMAIL PROTECTED]
Nice catch, I'll fix it.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983978
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Exception about Seam taglibrary

2006-11-07 Thread [EMAIL PROTECTED]
Anyone ever see this exception about the Seam taglibrary? My application is 
deploying properly, but when I visit it, I'm getting this exception. I am 
deployed in AS 4.0.5 with the EJB3 profile (though I'm sure that has nothing to 
do with it). Having looked at the documentation Chapter 11 for how to deploy 
these applications, I know that all the pieces are in place. Anyone know what 
might be causing this?


anonymous wrote : 
  | 20:52:37,686 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
  | org.apache.jasper.JasperException: The absolute uri: 
http://jboss.com/products/seam/taglib cannot be resolved in either web.xml or 
the jar files deployed with this application
  | at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
  | at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
  | at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
  | at 
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
  | at 
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:147)
  | at 
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
  | at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
  | at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1556)
  | at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
  | at 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
  | at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
  | at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
  | at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | 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:96)
  | 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.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | 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:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | 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(Thread.java:613)
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Exception about Seam taglibrary

2006-11-07 Thread [EMAIL PROTECTED]
Anyone ever see this exception about the Seam taglibrary? My application is 
deploying properly, but when I visit it, I'm getting this exception. I am 
deployed in AS 4.0.5 with the EJB3 profile (though I'm sure that has nothing to 
do with it). Having looked at the documentation Chapter 11 for how to deploy 
these applications, I know that all the pieces are in place. Anyone know what 
might be causing this?


anonymous wrote : 
  | 20:52:37,686 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
  | org.apache.jasper.JasperException: The absolute uri: 
http://jboss.com/products/seam/taglib cannot be resolved in either web.xml or 
the jar files deployed with this application
  | at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
  | at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
  | at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
  | at 
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
  | at 
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:147)
  | at 
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
  | at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
  | at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1556)
  | at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
  | at 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
  | at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
  | at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
  | at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | 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:96)
  | 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.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | 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:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | 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(Thread.java:613)
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983975
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jBPM and tasks

2006-11-07 Thread [EMAIL PROTECTED]
Yes, speaking loosly, a task is a conversation that relates to a business 
process.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983977
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - jBPM and tasks

2006-11-07 Thread neoko
Hi, i'm new to JBoss Seam and have some doubts. I don't understand the concept 
of task inside a business process. Is it like the concept of conversation and 
because of that has its own stateful ejb which manages the conversation?

I am really impressed with this framework! Awesome!

Thanks for your attention.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983974
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Tutorial on JBossIDE EJB3.0 Tools

2006-11-07 Thread defenestrator
I followed the steps up to the deployment portion.  Since JbossIDE 2.0.0.Beta2 
doesn't seem to support deploying the ejb3 project to the server, I manually 
copy the authors-beans.ejb3 and authors.war directly into the deploy directory. 
 But I get the following error on my 4.0.5.GA server below.  Btw, I did change 
@Id (generate = GeneratorType.AUTO) to @Id 
@GeneratedValue(strategy=GenerationType.AUTO) for Article.java and Author.java 
to fix the compilation errors, but I don't think that's the problem here.

17:32:49,924 WARN  [ServiceController] Ignoring request to stop nonexistent 
service: jboss.j2ee:jar=authors-beans.ejb3,name=AuthorsBean,service=EJB3
17:32:49,924 WARN  [ServiceController] Ignoring request to destroy nonexistent 
service: jboss.j2ee:jar=authors-beans.ejb3,name=AuthorsBean,service=EJB3
17:32:49,939 WARN  [ServiceController] Problem starting service 
jboss.j2ee:service=EJB3,module=authors-beans.ejb3
java.lang.RuntimeException: Illegal @PersistenceUnit on private 
javax.persistence.EntityManager org.jboss.ejb3demo.AuthorsBean.manager :There 
is no default persistence unit in this deployment.
at 
org.jboss.injection.PersistenceContextHandler.handleFieldAnnotations(PersistenceContextHandler.java:182)
at 
org.jboss.injection.InjectionUtil.processFieldAnnotations(InjectionUtil.java:136)
at 
org.jboss.injection.InjectionUtil.processAnnotations(InjectionUtil.java:173)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:270)
at 
org.jboss.ejb3.SessionContainer.processMetadata(SessionContainer.java:116)
at 
org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:273)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:322)
at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor10.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor5.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy37.start(Unknown Source)
at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449)
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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at 
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at 
org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at 

[jboss-user] [JBoss jBPM] - Re: Deploying jbpm.war(3.1.3) to jboss as 4.0.5GA

2006-11-07 Thread burrsutter
Answering my own question about the cache issue.  

This in my hibernate.cfg.xml helped out:

 org.hibernate.cache.HashtableCacheProvider   

So simply the removal of Dom4j from the web-inf/lib and adding ehcache1.2 to my 
EAR seemed to sort this out.  

If anyone else is interested in making jBPM work in an EAR along side EJB3 feel 
free to contact me.  I'm trying to use jBPM to "orchestrate" some MDBs on 4.0.4 
and 4.0.5.

[EMAIL PROTECTED]



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983971
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Struts example portlet for 2.4?

2006-11-07 Thread littlefish
Me too, i would like to develop something in JBOss Portal 2.4 with struts 
portlet. is there any sample or tutorial for it? is that we have to refer to 
Struts Bridge only??

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983970
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Problem with J_security_check

2006-11-07 Thread FrezzLee
Hi,
I'm using j_security_check to authenticate my system login and I'm facing a 
problem with the redirection after verifying the user credentials.

When the user enters a valid userid and incorrect password, the system will 
direct to the correct login error page.

When the user enters a valid userid and correct password, the system hangs at 
j_security_check. The displayed URL is something like 
"http://www.test.com/j_security_check";. It fails to direct to the intended 
Login servlet.

May I know where does the problem lies and how I can resolve this?

Thanks and appreciate your comments/advice.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983969
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Javassist user questions] - Re: HotSwapper Exception

2006-11-07 Thread wuyunlong
please help me!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Wrong query generated

2006-11-07 Thread monkeyden
For some reason, the resulting query from this entity has the ACTUAL DB field 
names for a couple of the non-pk fields (see SEQ_NUMBER, LAST_UPDATE).  Can 
anyone give a hint as to what might be the problem?  Thanks.
Query
select streetwatc0_.userKey as userKey1292_, streetwatc0_.locationId as 
locationId1292_, streetwatc0_.areaId as areaId1292_, 
streetwatc0_.addressStandardized as addressS4_1292_, streetwatc0_.SEQ_NUMBER as 
SEQ5_1292_, streetwatc0_.LAST_UPDATE as LAST6_1292_, streetwatc0_.ADDRESS as 
ADDRESS1292_ 
  | from DWL_STREET_WATCH_LIST streetwatc0_ 
  | where streetwatc0_.userKey=?

Client code
Query query = em.createQuery("from StreetWatchEntity where userKey = :userKey");
  | query.setParameter("userKey", userKey);
  | entities = query.getResultList();

Entity
package com.company.project.entity;
  | 
  | import java.util.Date;
  | 
  | import javax.persistence.Column;
  | import javax.persistence.Entity;
  | import javax.persistence.Id;
  | import javax.persistence.IdClass;
  | import javax.persistence.NamedQuery;
  | import javax.persistence.Table;
  | 
  | import org.jboss.seam.annotations.Name;
  | 
  | @NamedQuery(
  | name="orderedStreets",
  | query="from StreetWatchEntity order by seqNumber"
  | )
  | 
  | @Entity
  | @Name("streetWatchEntity")
  | @Table(name = "STREET_WATCH_LIST")
  | @IdClass(StreetWatchPK.class)
  | public class StreetWatchEntity implements java.io.Serializable {
  | private static final long serialVersionUID = 4855048029589330487L;
  | 
  | public StreetWatchEntity(){}
  | 
  | public StreetWatchEntity(Long userKey, Long locationId, String address, 
String addressStandardized, Date lastUpdate, Long seqNumber, Long areaId) {
  | this.userKey = userKey;
  | this.locationId = locationId;
  | this.address = address;
  | this.addressStandardized = addressStandardized;
  | this.lastUpdate = lastUpdate;
  | this.seqNumber = seqNumber;
  | this.areaId = areaId;
  | }
  | 
  | /**
  |  * Retrieves the UserKey from the entity
  |  */
  | @Id
  | @Column(name = "USER_KEY", length = 22, nullable = false)
  | public Long getUserKey() {
  | return this.userKey;
  | }
  | 
  | /**
  |  * Sets the UserKey of the entity
  |  */
  | public void setUserKey(Long userKey) {
  | this.userKey = userKey;
  | }
  | 
  | /**
  |  * Retrieves the LocationId from the entity
  |  */
  | @Id
  | @Column(name = "LOCATION_ID", length = 19, nullable = false)
  | public Long getLocationId() {
  | return this.locationId;
  | }
  | 
  | /**
  |  * Sets the LocationId of the entity
  |  */
  | public void setLocationId(Long locationId) {
  | this.locationId = locationId;
  | }
  | 
  | /**
  |  * Retrieves the AddressStandardized from the entity
  |  */
  | @Id
  | @Column(name = "ADDRESS_STANDARDIZED", length = 128, nullable = false)
  | public String getAddressStandardized() {
  | return this.addressStandardized;
  | }
  | 
  | /**
  |  * Sets the AddressStandardized of the entity
  |  */
  | public void setAddressStandardized(String addressStandardized) {
  | this.addressStandardized = addressStandardized;
  | }
  | 
  | /**
  |  * Retrieves the AreaId from the entity
  |  */
  | @Id
  | @Column(name = "AREA_ID", length = 22, nullable = false)
  | public Long getAreaId() {
  | return this.areaId;
  | }
  | 
  | /**
  |  * Sets the AreaId of the entity
  |  */
  | public void setAreaId(Long areaId) {
  | this.areaId = areaId;
  | }
  | 
  | /**
  |  * Retrieves the Address from the entity
  |  */
  | @Column(name = "ADDRESS", length = 128, nullable = true)
  | public String getAddress() {
  | return this.address;
  | }
  | 
  | /**
  |  * Sets the Address of the entity
  |  */
  | public void setAddress(String address) {
  | this.address = address;
  | }
  | 
  | /**
  |  * Retrieves the LastUpdate from the entity
  |  */
  | @Column(name = "LAST_UPDATE", length = 7, nullable = true)
  | public Date getLastUpdate() {
  | return this.lastUpdate;
  | }
  | 
  | /**
  |  * Sets the LastUpdate of the entity
  |  */
  | public void setLastUpdate(Date lastUpdate) {
  | this.lastUpdate = lastUpdate;
  | }
  | 
  | /**
  |  * Retrieves the SeqNumber from the entity
  |  */
  | @Column(name = "SEQ_NUMBER", length = 22, nullable = false)
  | public Long getSeqNumber() {
  | return this.seqNumber;
  | }
  | 
  | /**
  |  * Sets the SeqNumber of the entity
  |  */
  | public void setSeqNumber(Long seqNumber) {
  | this.seqNumber = seqNumber;
  | }
  | 
  | 

[jboss-user] [Installation, Configuration & Deployment] - JBoss configuration to use the same classloader for ear file

2006-11-07 Thread jbossuser1000
Hello,

I have a java class "A" written and deployed as a testA.war file and the class 
"B" is deployed in an testB.ear file. Class "A" extends class "B". Everything 
compiles fine. But when deployed in jBoss, a factory class in testB.ear file 
tries to load class "A"  using Class.forName(). But somehow, class A couldn't 
be loaded.

Is there a configuration in jBoss that  can be used to have both TestA.war file 
and testB.ear file use the same classloader? OR what is the best solution for 
this?

The testB.ear is something that I can not modify and I need to write a subclass 
by extending a class inside the ear file.

Thanks much.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983966
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Starting a pageflow using s:link with no action binding...

2006-11-07 Thread shea.phillips
Hello,

I am wondering if it is possible to initiate a pageflow simply using s:link and 
providing  only a pageflow name and a propagation attribute( ie. no action 
binding).

The doco indicates shows the example below:

anonymous wrote : If the link begins a conversation, you can even specify a 
pageflow to be used:
  | 
  | 

I want to do the same, but without the action=... bit.  

I currently am experimenting using the following :

Dummy Flow

With the following pageflow:


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | ...
  | 

The error I am getting when clicking the s:link-generate link is:

javax.servlet.ServletException: pageflow has not yet started
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
  | 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
  | 

Any thoughts appreciated.

Shea.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983965
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Create multiple web services with same SLSB ejb

2006-11-07 Thread fcheng
Hi,

I am using JBoss 4.0.4GA with EJB3 and JBoss WS 1.0.3GA.  How do I use one SLSB 
bean (EJB3.0) to create multiple web services that each web service references 
to different service so that when a certain web service is called, it loads the 
desired service?  Is it feasible?  If yes, I am new to WS, can anyone show me 
the example?

Thanks in advance.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983963
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - No error messages.... no reciever counts.

2006-11-07 Thread hensley
I am having a production issue trying to get an MDB to register itself as a 
reciever for a particualr Queue.  in the jmx-console it always shows the 
reciever count as zero and the message count is quickly approaching 10,000.  I 
am using the jdbc persistence manager on Oracle.  The exact same configuration 
works on a windows machine but not on a sun Solaris environment, same jdk 
version number 1.4.2_08.  Below is also the entries from ejb-jar.xml and the 
jboss.xml.  Any advice or idea where to look is greatly appreciated.  There is 
not thing in the log file in the form of an error.

--- ejb-jar.xml -

  | TransactionImportServiceMDB
  | 
com._360commerce.commerceservices.transaction.ejb.TransactionImportServiceBean
  | Container
  | 
  | javax.jms.Queue
  | 
  | 
  | ejb/TransactionService
  | Session
  | 
com._360commerce.commerceservices.transaction.ejb.TransactionServiceHome
  | 
com._360commerce.commerceservices.transaction.ejb.TransactionServiceRemote
  | TransactionServiceSB
  | 
  | 
  | ejb/ParameterService
  | Session
  | 
com._360commerce.commerceservices.parameter.ejb.ParameterServiceHome
  | 
com._360commerce.commerceservices.parameter.ejb.ParameterServiceRemote
  | ParameterServiceSB
  | 
  | 
  | ejb/Workflow
  | Session
  | 
com._360commerce.commerceservices.workflow.ejb.WorkflowServiceHome
  | 
com._360commerce.commerceservices.workflow.ejb.WorkflowServiceRemote
  | WorkflowServiceSB
  | 
  | 
  | ejb/FileTransferService
  | Session
  | 
com._360commerce.commerceservices.filetransfer.ejb.FileTransferServiceHome
  | 
com._360commerce.commerceservices.filetransfer.ejb.FileTransferServiceRemote
  | FileTransferServiceSB
  | 
  | 
--- jboss.xml ---

  | 
  | TransactionImportServiceMDB
  | Standard Message Driven 
Bean
  | queue/POSLog
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983964
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Jems installer download error

2006-11-07 Thread etornick
I bet you are right. It is probably webstart. 
I was using the Beta3 as you said.
I will download the installer jar instead.
thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983962
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Webservices client and Dynamic Invocation Interface.

2006-11-07 Thread anand_anan2k
Hello,

I used Dynamic Invocation Interface (DII) in web services client. 

Configuration Details:

1. JBOSS portal 2.4: using this portal, i'm performing web services invocation. 
The web services is running in another machine using webobjects framework.

2. Please refer the below client code i used, 

  URL url =  new URL(urlstr);
  
  String ns= 
"http://vg0601f-dhcp147.apple.com:/cgi-bin/WebObjects/ProvisioningWebServices.woa/ws/ProvisioningWS";;
  QName  qname = new QName(ns, "ProvisioningWS");
  
  QName  port  = new QName(ns, "ProvisioningWS");
  
  QName  operation = new QName(ns,"selectAuthorizedItemsForMerlin");
  
 
  ServiceFactory factory = ServiceFactory.newInstance();
 
  Serviceservice = factory.createService(url, qname);
 
  Call   call= service.createCall(port, operation);
  System.out.println("After gettting the call "+call);  
 
  Object o = call.invoke(new Object[] {argument});
  


I got the o/p until "After gettting the call" and call object also is not null. 
But while executing the invoke method  call.invoke(new Object[] {argument}) , 
i'm getting the below error:

15:27:33,586 ERROR [STDERR] java.lang.ClassCastException: 
org.jboss.ws.soap.SOAPMessageImpl
15:27:33,589 ERROR [STDERR] at 
com.sun.xml.rpc.client.dii.CallInvokerImpl._postSendingHook(CallInvokerImpl.java:305)
15:27:33,589 ERROR [STDERR] at 
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324)
15:27:33,589 ERROR [STDERR] at 
com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:103)
15:27:33,590 ERROR [STDERR] at 
com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)
15:27:33,590 ERROR [STDERR] at 
org.jboss.rpc.WSClient.WSClient.getWSOutput(WSClient.java:39)
15:27:33,590 ERROR [STDERR] at 
org.jboss.porlet.iproject.iprojectportlet.doView(iprojectportlet.java:25)
15:27:33,590 ERROR [STDERR] at 
javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
15:27:33,590 ERROR [STDERR] at 
javax.portlet.GenericPortlet.render(GenericPortlet.java:407)



PLease help me to resolve this issue. 

Thanks,
Elangovan

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983953
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: MS SQL Server Default Datasource Config

2006-11-07 Thread matt.hibb
It would appear that moving to the jtds drivers has solved the problem, no idea 
why.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983957
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Custom principal class

2006-11-07 Thread nipunbatra
Hi 

Thanks for your reponse, defining module option as such has not helped 
useFirstPass

Still I am not able to get my custom defined principal.

Is it compulsory to use UsernamePasswordLoginModule, I think there shd be a way 
to achive this.

Following is my Principal class and LoginModileClass
[
package com.coremetrics.sso.principal;


import java.io.Serializable;
import java.util.TimeZone;

import org.jboss.security.SimplePrincipal;



public class MyPrincipal extends SimplePrincipal implements Serializable {

//private static final long serialVersionUID = 8601244958865076474L;

/**
 * @serial
 */
private String name;



private String userPassword;

private String locale;

private TimeZone timeZone;

private String userName;

private int verticalId;

private String userEmail;

private String homePageURL;

private String clientName;

public String getHomePageURL() {
return homePageURL;
}

public void setHomePageURL(String homePageURL) {
this.homePageURL = homePageURL;
}

public String getClientName() {
return clientName;
}

public void setClientName(String clientName) {
this.clientName = clientName;
}

public String getUserEmail() {
return userEmail;
}

public void setUserEmail(String userEmail) {
this.userEmail = userEmail;
}

public int getVerticalId() {
return verticalId;
}

public void setVerticalId(int verticalId) {
this.verticalId = verticalId;
}

/**
 * Create a SamplePrincipal with a Sample username.
 * 
 * 
 * 
 * @param name
 *the Sample username for this user.
 * 
 * @exception NullPointerException
 *if the name is null.
 */

public MyPrincipal(String userName) {
super(userName);

this.name = userName;
//this.clientID = clientid;

}

/**
 * Return the Sample username for this SamplePrincipal.
 * 
 * 
 * 
 * @return the Sample username for this SamplePrincipal
 */
public String getName() {
return name;
}

/**
 * Return a string representation of this SamplePrincipal.
 * 
 * 
 * 
 * @return a string representation of this SamplePrincipal.
 */
public String toString(){
return ("MyPrincipal:  " + name );  

}

/**
 * Compares the specified Object with this SamplePrincipal
 * for equality. Returns true if the given object is also a
 * SamplePrincipal and the two SamplePrincipals have the same
 * username.
 * 
 * 
 * 
 * @param o
 *Object to be compared for equality with this
 *SamplePrincipal.
 * 
 * @return true if the specified Object is equal equal to this
 * SamplePrincipal.
 */
public boolean equals(Object o) {
if (o == null)
return false;

if (this == o)
return true;

if (!(o instanceof SimplePrincipal))
return false;
SimplePrincipal that = (SimplePrincipal) o;

if (this.getName().equals(that.getName())
&& this.getName().equals(that.getName()))
return true;
return false;
}

/**
 * Return a hash code for this SamplePrincipal.
 * 
 * 
 * 
 * @return a hash code for this SamplePrincipal.
 */
public int hashCode() {
return name.hashCode();
}


public String getLocale() {
return locale;
}

public void setLocale(String locale) {
this.locale = locale;
}

public TimeZone getTimeZone() {
return timeZone;
}

public void setTimeZone(TimeZone timeSZone) {
this.timeZone = timeSZone;
}

public String getUserPassword() {
return userPassword;
}

public void setUserPassword(String userPassword) {
this.userPassword = userPassword;
}

public String getUserName() {
return userName;
}

public void setUserName(String userName) {
this.userName = userName;
}
}
]







[
package com.coremetrics.sso.module;

import java.security.MessageDig

[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1

2006-11-07 Thread bpatters
"bpatters" wrote : Just verified the exception occurs with the regular facelet 
view handler, must be something wrong with my setup.

I figured it out. in my tag file I had:

  | 
  | roomEditPanel
  |components/roomEditPanel.xhtml>
  | 

Notice the extra > at the end of the source value. That was messing it up.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983959
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - SOAP 1.2 WSDL

2006-11-07 Thread zarzar
Hi,

I'm having problems building a web service using a WSDL with a SOAP 1.2 
binding. (The WSDL is given at the bottom.) The web service works fine when 
using the SOAP 1.1 binding. Problems arise only when changing to SOAP 1.2. I'm 
using JBoss version 4.0.5.GA and generating code from WSDL using wstools. There 
are problems at both the client- and server- side. 

On the client-side, the code doesn't complain about the SOAP 1.2 WSDL, but 
sends the SOAP message using the SOAP 1.1 namespace.

On the server-side, I get a NullPointerException when I deploy the web service 
war file. The stack trace is given below.

Is there a SOAP 1.2 setting to turn on that I'm missing?

Thanks,
Zar



=
Server-side stack trace 

java.lang.NullPointerException
at java.net.URI$Parser.parse(URI.java:3010)
at java.net.URI.(URI.java:578)
at org.jboss.ws.deployment.AbstractMetaDataBuilder.getUriScheme(Abstract
MetaDataBuilder.java:277)
at org.jboss.ws.deployment.AbstractMetaDataBuilder.replaceAddressLocatio
n(AbstractMetaDataBuilder.java:166)
at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR
109ServerMetaDataBuilder.java:210)
at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpoin
tDeployer.java:78)
at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt
erceptor.java:80)
at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(Deployer
InterceptorJSE.java:74)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy39.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:610)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:225)

===
WSDL


  | http://schemas.xmlsoap.org/wsdl/";
  |   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  |   xmlns:tns="http://www.example.com/Example";
  |   xmlns:xmime="http://www.w3.org/2005/05/xmlmime";
  |   targetNamespace="http://www.example.com/Example";
  |   name="Example"
  |   >
  | 
  |   
  | http://www.w3.org/2001/XMLSchema";
  |   targetNamespace="http://www.example.com/Example";
  |   elementFormDefault="qualified"
  |   >
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  | http://schemas.xmlsoap.org/soap/http"/>
  | 
  |   http://www.example.com/Example/Echo"/>
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
 

[jboss-user] [Security & JAAS/JBoss] - Re: Custom principal class

2006-11-07 Thread [EMAIL PROTECTED]
Nipun-

Try to see if you can extend the UsernamePasswordLoginModule that Anil 
suggested that will let you hook in your custom Principal...


or look at its code and see what its doing to hook in a custom Principal and 
perform that in your login module.


Thanks
Sohil

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983961
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: JNDI Security?

2006-11-07 Thread PeterJ
"kaloisi" wrote : Is that the only way? Or the Easiest Way?

Neither.  It is The Only Way I Know How.  Others who are smarter than I am 
might have other, betters ways of doing it.

As far as disabling jnp, I saw this comment in 
server/default/conf/jboss-service.xml:

  
  |   1099

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Any tutorial for EJB 3.0 project on 2.0 IDE?

2006-11-07 Thread ypan99
I only see some tutorial for 1.5 IDE which doesn't apply at all on EJB 3.0.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: The value of seam cannot be acquired with JSF.

2006-11-07 Thread sbryzak2
Besides a small section in the remoting chapter of the documentation, there's 
not really much else that can be said about debugging without getting overly 
verbose.  In general, being able to see the xml request/response packets should 
go a long way toward solving any remoting issues.  I can only suggest that 
having access to a good Javascript debugger is essential (I use Venkman, the 
Firefox one) as most issues seem to be client-side.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983952
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1

2006-11-07 Thread bpatters
Just verified the exception occurs with the regular facelet view handler, must 
be something wrong with my setup.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983951
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Urgent Help requested ...support for enums..update jboss

2006-11-07 Thread joshua_hj
Hi,

I was trying to develop a parlay X web service, the MultimediaMessaging one. I 
have managed to generate all java classes from the wsdl and xsd files provided 
by the specification. Allthough, i am having a problem with enumerations. I 
have a type, named "MessagePriority" (see below) that is mapped into a java 
enum file "MessagePriority" (see below) . JBoss complains about the Enumeration 
type at deploy time. When i remove the references to that type it works fine.

Does the generated code below is supported by JBossWS?
Can i use enumeration at all?

PS: Can you explain better how did you managed to get your enums work

Best Regards Joshua


 
  | 
  | EXCEPTION
  | 
  | 23:31:27,785 ERROR [MainDeployer] Could not create deployment: 
file:/C:/Java/jboss-4.0.5.GA/server/all/deploy/MultimediaMessaging.war
  | org.jboss.ws.WSException: JAX-RPC Enumeration type did not conform to 
expectations
  | at 
org.jboss.ws.tools.schema.SchemaTypeCreator.handleJAXRPCEnumeration(SchemaTypeCreator.java:374)
  | at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:317)
  | at 
org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:273)
  | at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:132)
  | at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:127)
  | at 
org.jboss.ws.tools.schema.SchemaTypeCreator.createFieldParticle(SchemaTypeCreator.java:607)
  | at 
org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:592)
  | 
  | ##
  | ##
  | 
  | SCHEMA
  | 
  | 
  |   
  |  
  |  
  |  
  |  
  |   
  | 
  | 
  | 
  | ##
  | ##
  | 
  | JAVA
  | 
  | @XmlEnum
  | public enum MessagePriority {
  | 
  | @XmlEnumValue("Default")
  | DEFAULT("Default"),
  | @XmlEnumValue("High")
  | HIGH("High"),
  | @XmlEnumValue("Low")
  | LOW("Low"),
  | @XmlEnumValue("Normal")
  | NORMAL("Normal");
  | private final String value;
  | 
  | MessagePriority(String v) {
  | value = v;
  | }
  | 
  | public String value() {
  | return value;
  | }
  | 
  | public static MessagePriority fromValue(String v) {
  | for (MessagePriority c: MessagePriority.values()) {
  | if (c.value.equals(v)) {
  | return c;
  | }
  | }
  | throw new IllegalArgumentException(v.toString());
  | }
  | 
  | }
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983950
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1

2006-11-07 Thread bpatters
"[EMAIL PROTECTED]" wrote : "bpatters" wrote : I found out last night that when 
using the SeamFaceletViewHandler that any new Facelet tags I create (using 
xhtml files) I use receive JNDI lookup failures. 
  |   | 
  |   | It's trying to find 
  |   | {approot}/WEB-INF/components/mycomponent.xhtml 
  |   | 
  |   | where approot is my war's view root and components/mycomponent.xhtml is 
the tag source file I declared in my my.taglib.xml file.
  |   | 
  |   | Anyone else seen this issue?
  |   | 
  | 
  | Can you give some more detail like a stack trace?  I'm failing to see how 
the SeamFaceletViewHandler might affect JNDI lookups, but maybe I overlooked 
something.
  | 
  | Stan


2006-11-07 17:26:34,453 ERROR [STDERR] Nov 7, 2006 5:26:34 PM 
com.sun.facelets.impl.DefaultFaceletFactory createFacelet
  | WARNING: /WEB-INF/components/roomEditPanel.xhtml> not found at 
jndi:/localhost/view/WEB-INF/components/roomEditPanel.xhtml>
  | 2006-11-07 17:26:34,453 ERROR [STDERR] Nov 7, 2006 5:26:34 PM 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SEVERE: Error Rendering View[/users/forms/managehomes.xhtml]
  | com.sun.facelets.tag.TagException: /users/forms/managehomes.xhtml @192,44 
 Facelet Not Found: 
jndi:/localhost/view/WEB-INF/components/roomEditPanel.xhtml>
  | at com.sun.facelets.tag.UserTagHandler.apply(UserTagHandler.java:83)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
  | at 
com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
  | at 
com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
  | at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
  | at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
  | at 
com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
  | at 
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:510)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:197)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.Bas

[jboss-user] [EJB 3.0] - Re: Hibernate JACC in the embedded container

2006-11-07 Thread bdecoste

  | 
  |   
  |  
  |   
  |
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983946
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Hibernate JACC in the embedded container

2006-11-07 Thread bdecoste
Try this instead:


  
 
  
   


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983945
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Jems installer download error

2006-11-07 Thread [EMAIL PROTECTED]
Can't reproduce this error. I assume webstart client gives you download error. 
Can you provide more details? 

- are you trying to use installer 1.2.0.BETA3?
- can you web start any other applications

There is a simple workaround you can use. Just download installer jar and 
install in offline mode. You don't need to use webstart.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983943
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Is there an equivalent of @RemoteBindings in jboss.xml

2006-11-07 Thread sbivol
Ok, I just tried it on 4.0.5.GA. I have the following:

- a stateless bean with following remote bindings annotations:
@RemoteBindings({
@RemoteBinding(clientBindUrl="sslsocket://0.0.0.0:3843", 
jndiBinding="TestService/remotessl"),
@RemoteBinding(jndiBinding="TestService/remote")
})

- the ssl-service.xml and a keystore packaged within the ejb jar (exactly as 
shown in the SSL tuturial); the ejb-jar is packaged in an ear

- a service client that uses TestService/remotessl jndi name; it works; the 
clien console tells me it uses port 3843. If using TestService/remote; the 
client console tells me that that port 3873 (default Remote EJB3 Invoker port)

I then enable the Binding Service Manager in jboss-service.xml and point it to 
sample-bindings.xml file in the jboss/server/default/conf folder where the only 
thing I override is the port for the ssl invoker defined in the ssl-service.xml 
as follows:

  | 
  | 
  |
  | 
  |   
  | 
  |sslsocket://${jboss.bind.address}:3833
  | 
  |  
  |   
  |  
  |
  | 
  | 
  | 

If I run the ssl client now, I get a org.jboss.remoting.CannotConnectException, 
but the console tells me the client still tries to connect to 3843, as opposed 
to the override port 3833.

I suspect the service is now available over SSL at the new port, but client 
does not understand that it has to connect to that new port.

Would deploying the ssl-service.xml in the default/conf folder work?

Regards
Sergiu

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983942
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - ClassLoaderRepository

2006-11-07 Thread editha
I get the HierachicalClassLoaderRepository3 of a .war via its mbean Objectname. 
I would like to add to this repository an instance of (my own) URLClassLoader 
implementation, because I want this .war to use this classloader instance. 
The Problem is that I only see a registerClassLoader() method that requires a 
UnifiedClassLoader. 
Is there a way to add a non-UnifiedClassLoader to this repository?

I tried to solve this task my creating my own BasicLoaderRepository and adding 
my classloader instance. 
The call
(LoaderRepository)mbeanserver.getClassLoaderRepository()).getLoaders();
returns my classloader instance, but it is not used for loading the .war file. 
Is there maybe a way to attach the classloader instance to the .war? 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983941
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Restful web service with JBoss WS ?

2006-11-07 Thread zeOliverFT
Hi,

I have read that with JAX-WS 2.0, you can publish easily a Resftul web service.

Does Jboss WS support this feature ?

"Will Java EE 5 bring REST to Java?": 
http://blog.noelios.com/2006/05/24/will-java-ee-5-bring-rest-to-java/

"Publishing a RESTful Web Service with JAX-WS"
http://weblogs.java.net/blog/kohlert/archive/2006/01/publishing_a_re.html

Thanks.

Olivier


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983940
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Error: Unable to initialize TldLocationsCache

2006-11-07 Thread khanrahan
I was having this same issue until I discovered that one of my third party jars 
was corrupt.  When I would make a request that included a custom tag in the 
response (the first time the custom tag was accessed) all of my jars were being 
searched/scanned until the tag library was found.  

Once I fixed the corrupt jar, this issue went away.  I tested all of my jars, 
by trying to unjar them, via jar xvf *

I hope this helps.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983937
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Synchronization Problem JMS Queue/Topic

2006-11-07 Thread genman
In terms of design: I don't think it's wise to browse messages, then use them, 
then attempt to remove them. What happens if you fail to remove them?

It'd be wise to use transactions, and for that I recommend using MDB.

I don't really understand the high-level reason for what you are doing.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983939
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: MalformedURLException on Tomcat-test

2006-11-07 Thread WoodyWoodpecker
Is there a solution right now?
I've got the same problem with the JBoss 4.0.4

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983935
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Multiple JVMs

2006-11-07 Thread kanthonym
I am fairly new to JBOSS,

We are setting up a production environment for our application. One issue we 
are faced with is the need to run multiple instances of the application on 
multiple Linux server boxes.

Are we best off to have multiple installs of the JBOSS on each server or run 
multiple JVMs within a single server instance per production server?

Where would we best find infomration on the ins' and out's of this type of 
configuration?

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983938
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS Unknown Destination Error

2006-11-07 Thread genman
Which JMS vendor are you using? You can't mix JBoss and EXOLAB JMS together.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983936
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManger-per-user-session...

2006-11-07 Thread iradix
I think you're biggest problem is you haven't gotten your head wrapped around 
the conversational model yet.  It definitely takes time and I'd recommend that 
the first thing you do is at least skim through the Seam reference 
documentation in it's entirety.

That being said, I'll try to explain as best I can.

anonymous wrote : I don't understand this part at all. I know that if I stick 
the edited activity back into the users collection of activites and have the 
correct cascade type, that when I save the updated user, it will save the 
updated activity as well.

Where you're going wrong here is you don't need to stick the activity back into 
the list if it's already there.  If you are using a conversationally scoped EM 
(which is what my suggestions are based on) then there will only be one version 
of each activity per conversation, whether that activity was retrieved through 
user.getActivities or through SELECT.  That's how an EntityManager works 
and it's important to understand that.  So rather than the view that you 
provided, what I'm talking about is the edit view where you will have values 
bound like:


  | Name: 
  | 

When the update data model phase happens the name would be updated on the one 
and only version of the selected Activity, which is managed by your 
conversation scoped EM, and when the transaction is commited it will be 
updated.  After that anytime you access user.getActivities() you will see the 
updated activity and it will be reflected in the database.  Does that make more 
sense?

anonymous wrote : I guess that's what I'm saying. I'm not sure I'd call it 
spanning more than one conversation. In reality, user is a session scoped bean 
representing the currently logged in user.

Well, since a session may contain many conversations, then your User object at 
least has the capability of spanning more than one and that should be factored 
in.  Again, this seems to be an issue with your understanding of how 
conversations, and more specifically conversation scoped EMs work.  You cannot 
use the @PersistenceContext annotation to specify a conversation scoped EM.  It 
needs to be injected using the @In annotation, and if you've configured that 
correctly (see the docs on how) Seam will magically make sure that the same EM 
gets injected into every bean within the same conversation.


As far as persistence units are concerned, I've never had the need to deal with 
more than one on a project, but I'd imagine if I did I could create 2 Seam 
managed EMs, one for each persistence context and then your example would 
become:


 
  | @In(create="true")
  | EntityManager manager1;
  | 
  | @In(create="true")
  | EntityManager manager2;
  | 

Where manager1 and manager2 are both properly configured, conversation scoped 
EMs.

Make more sense?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983934
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - When is Seam 1.1 scheduled to come out of Beta?

2006-11-07 Thread ngeadah
Hey Gavin,

When do you expect Seam 1.1 to come out of Beta (and into GA?).  Thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983927
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - how to ? entitymanager refresh gets a dirty read

2006-11-07 Thread fbadt
how can I make Entity Manager get a dirty read from the db?  not get a dirty 
read from the db?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983928
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: JNDI Security?

2006-11-07 Thread kaloisi

Is that the only way? Or the Easiest Way?

Do you know how to disable the RMI / jnp protocals?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManger-per-user-session...

2006-11-07 Thread bkyrlach
Before I argue with you I want to point out that I like your solution. My 
argument is just me trying to understand more of what you're saying.

"iradix" wrote : With a proper cascade on the activities list stored within the 
user, you should be able to just bind the values that are editable via the 
value attribute of each JSF component. 

I don't understand this part at all. I know that if I stick the edited activity 
back into the users collection of activites and have the correct cascade type, 
that when I save the updated user, it will save the updated activity as well. 
However, this has two problems with it.

#1: Iterating through the users activities to find the one who's id matches the 
activity that's being edited is painful and can consume a lot of resources. If 
the users collection of activities is 3000 elements big, for example, I'd 
imagine that this method would take a long time to return.

#2: The activity that's being injected doesn't come from the collection of the 
users activities. This is from following the booking example, where you have to 
have a list marked as @DataModel in order to have s:link be able to pull out 
individual activities to edit. Here's an example to illustrate...


  | @DataModel
  | List activities;
  | 
  | public void getActivitiesForUser()
  | {
  | activities = em.createQuery("from Activity a where a.user = :user 
order by a.name").setParameter("user", user).getResultList();
  | }
  | 

and in the view...


  |  
  | 
  |   Name
  |   #{tmp.name}
  | 
  | 
  |   Date
  |   #{tmp.date}
  | 
  | 
  |   Edit
  |   
  | 
  |   
  | 

"iradix" wrote : After they are validated and the model is updated (i.e. new 
values are set on each appropriate activity) saving the user at the end of the 
transaction will update the DB representation of whatever activities have 
changed.  There should be no merging necessary  as long as your conversation is 
long running because they are the same objects from page to page.  What could 
be easier than that?

That's assuming that the user is being managed by the conversations 
entitymanager. Otherwise, I have to merge user at the start of the 
editActivity. Again, more code...


  | @In(required=false)
  | User user;
  | 
  | @Begin
  | public String preEditActivity()
  | {
  | user = em.merge(user);
  | this.activity = tmp;
  | return "/activity/edit.xhtml";
  | }
  | 

"iradix" wrote : If what you're saying about the UserActions SLSB is that you 
have a User spanning more than one conversation, try this:
  | 
  | 
  |   | @In(create = true)
  |   | private EntityManager em;
  |   | 
  |   | private String userId;
  |   | 
  |   | public void setUser(User user){
  |   |   this.userId = user.getId();
  |   | }
  |   | 
  |   | public User getUser(){
  |   |   return em.find(User.class, userId);
  |   | }
  |   | 
  | 

I guess that's what I'm saying. I'm not sure I'd call it spanning more than one 
conversation. In reality, user is a session scoped bean representing the 
currently logged in user. In user actions, the user logs in thusly...


  | @In(required=false)
  | @Out(required=false)
  | private User user;
  | 
  | @In(required=false)
  | private User newUser;
  | 
  | public String login()
  | {
  | User temp = (User)manager.createQuery(
  | "from User u where u.username = :username and u.password = 
:password").setParameter(
  | "username", user.getUsername()).setParameter("password", 
user.getPassword()).getSingleResult();
  | if (temp != null)
  | {
  | user=temp;
  | return "/activity/viewer.xhtml";   
  | }
  | facesMessages.add("This user does not exist in our database.");
  | return Outcome.REDISPLAY;
  | }
  | 

Because this happens in userActions, activityActions extended entitymanager 
says that the user I inject from the session context is not attached. Of 
course, it is correct, because that entitymanager wasn't the one that pulled 
the user from the database.

"iradix" wrote : Seam will make sure the appropriate conversation scoped em is 
injected into your SLSB on each call so you'll get the same User object every 
time, as long as you are within the same conversation.  No merging necessary.  
You can even inject it into other beans using @In(value="#{userActions.user}")

I don't understand... how does it know which persistence unit that this EM 
should be tied to? What if in my conversation scoped activityActions I inject 
two persistenceContexts thusly...


  |   @PersistenceContext(unitName="db1")
  |   EntityManager manager1;
  | 
  |   @PersistenceContext(unitName="db2")
  |   E

[jboss-user] [JBoss Seam] - Re: [JDBCExceptionReporter] Table not found in statement ???

2006-11-07 Thread abchilla
oh i see,

i was really frustrated all the day over because of this was happening. Thank 
you for your reply. So i guess i will need to wait a little bit. I already was 
trying to figure out working with Spring. Can someone point me to a place where 
i can really figure out about those frameworks and which framework to choose. 

thanx in advance.

asad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983931
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBoss jBPM 3.1 Data Model Wiki

2006-11-07 Thread kbarfield
"jblas" wrote : We have a datamodel, what if we want a web-based app that 
configures jBPM process by itself. But it does not want to to do it with xml 
files.  The app needs  to reconfigure its processes by code. It's posible ? I 
think it is posible. What there is a reference or guide to do it ?
  |   If it is not possible. Can web create a jBPM console with limited options 
?
  | 
  | I need to design a web-based app, with users who need to change process in 
runtime.
  | 
  | regards

Yes, it is possible.  The web app would need to change the process 
programatically and save it.   The tutorials in the docs show how to create and 
save a process programatically.  

http://docs.jboss.com/jbpm/v3/userguide/tutorial.html#helloworldexample

The issue you are going to run into is how to represent this in the web app UI. 
 There is nothing in jBPM that would prevent you from doing what you describe.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983933
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Custom principal class

2006-11-07 Thread [EMAIL PROTECTED]
Try using  the following option on your login module:

password-stacking=useFirstPass

Is your login module the only LM in your application policy?  

I think on our end, we will have to create a test case for this scenario and 
see  if there are any issues.




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983926
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: jboss-4.0.4.GA with Tomacat 5.5 JSTL Datasource problem

2006-11-07 Thread srossato
I have inserted the driver also in 
$JBOSS_HOME/server/default/deploy/postgresql-8.0-314.jdbc2.jar and hour works 
all good
I hope that this information is useful
Stefano



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983925
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: org.jboss.util.xml.DOMWriter error

2006-11-07 Thread qiliu
I was able to fix the problem. It was due to the order of libraries being 
called. Sorry and thank you.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983922
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Why JAAS authenticate() fails?

2006-11-07 Thread benccit
Jaikiran,

 Thanks for the response.

 I followed your lead and use the FORM-based authentication.
 However, I can't make the authentication work. Although the username and 
password were transmitted to the server, the error page was displayed. I 
checked the log, it indicated that the username and password were transmitted 
to the server. However the status was 200. It seems that the servlet path is 
wrong. For example, if I secured the webpages under /secret, the servlet path 
become /secret/j_security_check. I guess that is the reason why the 
authentication failed.

How can JBoss server know it has to use special j_security_check?

I have login html code as follows:
  

Username: 
Password: 
  
  
  
  
  

Do you know why the authentication fail?

By the way, in the server/default/conf/login-config.xml, the application-policy 
was defined as follows:


   
  
   /authentik/transportation-security-users.properties
   /authentik/transportation-security-roles.properties
  
   


Are the values for module-option usersProperties and rolesProperties correct? I 
am assuming the root "/" starts at server/default. Is my assumption correct?

Thanks,

Bensen

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983924
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JBoss 4.0.5 EJB3 Deploy need server restart ?

2006-11-07 Thread fbadt
I have to restart the 4.0.4 to do a redeploy at all.  Hot redeploy fails... is 
this related?  Have you been able to hot redeploy in 4.0.4 ? 4.0.5? at all?  
how about in netbeans (6.0 daily)?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983921
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Mixing @PersistenceContext with Seam Managed Persistence

2006-11-07 Thread emsa
Ok, but I'd like to understand why. I have no second-level cache and when I 
writing through the @PersistenceContext the data ends up in the database, no 
explicit flush().

So why is the data not fetched using the Seam Managed Persistence? 
Where is the data cashed? 
And why does flush() help?
Would putting the different Beans in diffrent deployments change anything?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983917
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Writting ejb3 session bean + howto session bean lookup?

2006-11-07 Thread fbadt
There is a web service (stateless session bean with annotations) that needs to 
call another session bean with annotations.

1. do ejb3 session beans need to have local/remote interfaces like ejb1.4?
2. how can sessionbean1 lookup sessionbean2?  The below code results in an 
exception that sessionbean2 is not registered.  The logs and JMX console say 
that sessionbean2 was published with name=sessionbean2   This is jboss 4.0.4


  | try {
  | context = new InitialContext();
  | retVal = (sessionbean2LocalInterface)
  | context.lookup("sessionbean2");
  | } catch (NamingException e) {
  | e.printStackTrace();
  | throw new RuntimeException(e);
  | }
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983920
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - MS SQL Server Default Datasource Config

2006-11-07 Thread matt.hibb
I am having trouble setting up ms sql server as a datasource for JBoss.

I copied the /docs/examples/jca/mssql-ds.xml and placed in the 
deploy dir.


  | 
  |   
  | DefaultDS
  | jdbc:sqlserver://SERVER-NAME\SQLExpress
  | 
com.microsoft.sqlserver.jdbc.SQLServerDriver
  | user
  | password
  | 
  | 
  | 
  | 
  |   
  |   
  |  MS SQLSERVER2000
  |   
  |   
  | 
  | 
  | 

The 1st problem I had was that the original connection url and driver class 
were:
jdbc:microsoft:sqlserver://SERVER-NAME\SQLExpress
  | com.microsoft.jdbc.sqlserver.SQLServerDriver
  | 

But i got class not found for com.microsoft.jdbc.sqlserver.SQLServerDriver. I 
dug around in the jar I downloaded from Microsoft and it didn't contain this, 
but did contain com.microsoft.sqlserver.jdbc.SQLServerDriver (can anyone 
explain this??).

I then changed the driver class to the one that is in the jar I downloaded and 
JBoss complained about the driver class being wrong for this url. So I then 
changed the config again to that shown above.

Now I am getting the stack trace below on starting up JBoss and I haven't a 
clue what it means.

Am I missing a step in configuration?
Are there any changes required in the standardjbosscmp-jdbc.xml?

Can anyone offer any help?

Thanks


  | 20:55:23,375 WARN  [TransactionImpl] XAException: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=server-name/1, BranchQual=, 
localId=1] errorCode=XA_RBROLLBACK
  | org.jboss.resource.connectionmanager.JBossLocalXAException: could not 
commit local tx; - nested throwable: 
(org.jboss.resource.JBossResourceException: SQLException; - nested throwable: 
(com.microsoft.sqlserver.jdbc.SQLServerException: New request is not allowed to 
start because it should come with valid transaction descriptor.))
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.commit(TxConnectionManager.java:912)
  | at 
org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253)
  | at 
org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784)
  | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340)
  | at org.jboss.tm.TxManager.commit(TxManager.java:240)
  | at 
org.jboss.mq.sm.jdbc.JDBCStateManager$JDBCSession.close(JDBCStateManager.java:633)
  | at 
org.jboss.mq.sm.jdbc.JDBCStateManager.initDB(JDBCStateManager.java:485)
  | at 
org.jboss.mq.sm.jdbc.JDBCStateManager.startService(JDBCStateManager.java:393)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke

[jboss-user] [Installation, Configuration & Deployment] - Jems installer download error

2006-11-07 Thread etornick
I try to use the installer  and click on the 'Run Installer' button but I get 
the following error...
I am trying to download jboss 4.05. The same thing happens when I attempt to 
download other versions as well.


An error occurred while launching/running the application.

Title: JEMS Installer 1.2.0.BETA3 Installer
Vendor: JBoss, Inc.
Category: Download Error

Unable to load resource: (http:, 1.5+)
==

I am running xp professional, have Java 5.0 sdk installed.

Thanks in advance for any ideas...

Ed

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983919
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManger-per-user-session...

2006-11-07 Thread iradix
With a proper cascade on the activities list stored within the user, you should 
be able to just bind the values that are editable via the value attribute of 
each JSF component.  After they are validated and the model is updated (i.e. 
new values are set on each appropriate activity) saving the user at the end of 
the transaction will update the DB representation of whatever activities have 
changed.  There should be no merging necessary  as long as your conversation is 
long running because they are the same objects from page to page.  What could 
be easier than that?

If what you're saying about the UserActions SLSB is that you have a User 
spanning more than one conversation, try this:


  | @In(create = true)
  | private EntityManager em;
  | 
  | private String userId;
  | 
  | public void setUser(User user){
  |   this.userId = user.getId();
  | }
  | 
  | public User getUser(){
  |   return em.find(User.class, userId);
  | }
  | 

Seam will make sure the appropriate conversation scoped em is injected into 
your SLSB on each call so you'll get the same User object every time, as long 
as you are within the same conversation.  No merging necessary.  You can even 
inject it into other beans using @In(value="#{userActions.user}")

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983916
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Accessing Servlet Response from within Seam component

2006-11-07 Thread [EMAIL PROTECTED]
"ngeadah" wrote : Is there any way to access the HttpServletResponse within a 
Seam component?  I ask since I need a component that handles downloading files; 
this needs to set the mime type, the header and the outpustream.  I'd hate to 
develop a servlet just for this since I'd really like to use injection and the 
persistence context as part of this component.
  | 
  | Any thoughts?

Avoid using the HttpServletResponse directly if you can.  Use the 
ExternalContext instead.  This should do it:

@In (value="#{facesContext.externalContext}")
private ExternalContext extCtx;
.
.
.
extCtx.setResponseCharacterEncoding("encoding");

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Why findByPrimaryKey issues ?SELECT pkey from TABLE where p

2006-11-07 Thread Anbuselvan
Why findByPrimaryKey issues ?SELECT  pkey from TABLE where pkey=??

We use jboss-4.0.0 in 2 node cluster configuration with  ?Standard CMP 2.x 
EntityBean with cache invalidation?, commit option A.

Whenever our application invokes ?findByPrimaryKey? on CMPs, JBOSS issues 
?SELECT  pkey from TABLE where pkey=??. This ?SELECT? makes sense when entity 
is loaded for first time, I am not sure why ?findByPrimaryKey? issues  ?SELECT  
pkey from TABLE where pkey=?? on subsequent request for the same entity(for 
same primary key) instead of getting it from cache.

We are trying to optimize DB access by cutting down on the number of ?SELECT? 
queries issued. 

Is it possible to avoid the ?SELECT? issued by findByPrimaryKey on subsequent 
invocation on already loaded entity?  If yes, please provide me some pointers 
on how to do this.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983914
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Page Parameters

2006-11-07 Thread iradix
I'm running into another problem.  It seems that the converter specified in 
pages.xml is used to convert from String to Object, but not from Object to 
String.  I don't suppose that's by design?  The method I'm looking at is:

public Map getParameters(String viewId, Set overridden)
  |{
  |   Map parameters = new HashMap();
  |   for ( PageParameter pageParameter: getPage(viewId).pageParameters )
  |   {
  |  if ( !overridden.contains(pageParameter.name) )
  |  {
  | Object value = pageParameter.valueBinding.getValue();
  | if (value!=null)
  | {
  |parameters.put(pageParameter.name, value);
  | }
  |  }
  |   }
  |   return parameters;
  |}

Which seems to just retrieve the value from the page parameter value binding 
without passing it through the converter at all.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983912
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Accessing Servlet Response from within Seam component

2006-11-07 Thread ngeadah
Is there any way to access the HttpServletResponse within a Seam component?  I 
ask since I need a component that handles downloading files; this needs to set 
the mime type, the header and the outpustream.  I'd hate to develop a servlet 
just for this since I'd really like to use injection and the persistence 
context as part of this component.

Any thoughts?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983913
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: JNDI Security?

2006-11-07 Thread PeterJ
If you run JNDI over HTTP you can secure access. Maybe that will work for you.  
See http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e6617

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983911
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Deploy in a clustered environment

2006-11-07 Thread [EMAIL PROTECTED]
Correct... JBoss Messaging 1.0.1 doesn't support clustering yet.

1.2.0.Alpha2 has the support of Clustered Queues and Topics (without HA yet). 
But that's non production ready yet.

We are working on HA and that should be ready by the end of this month.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983910
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManger-per-user-session...

2006-11-07 Thread bkyrlach
(reposted using an updated understanding of code-blocks... :(

Not really. I'm using that now, and I'm still ending up doing merging and funky 
stuff to make everything "Just Work"(tm)(c)(pp). 

Here's some (poorly written, tbh) code to illustrate... 

I have a user... 

  | package sample.model;
  | 
  | import java.io.Serializable;
  | import java.util.List;
  | 
  | import javax.persistence.Entity;
  | import javax.persistence.FetchType;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.Id;
  | import javax.persistence.ManyToOne;
  | import javax.persistence.OneToMany;
  | import javax.persistence.OrderBy;
  | import javax.persistence.Version;
  | 
  | import org.hibernate.annotations.IndexColumn;
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Role;
  | import org.jboss.seam.annotations.Scope;
  | 
  | @Entity
  | @Name("user")
  | @Scope(ScopeType.SESSION)
  | @Role(name="newUser", scope=ScopeType.EVENT) 
  | public class User implements Serializable
  | {
  | private Long id;
  | private Long version;
  | private Long index;
  | private String username;
  | private String password;
  | private List activities;
  | private Team team;
  | 
  | public User(Long id, Long version, Long index, String username, String 
password, List activities, Team team)
  | {
  | this.id = id;
  | this.version = version;
  | this.index = index;
  | this.username = username;
  | this.password = password;
  | this.activities = activities;
  | this.team = team;
  | }
  | 
  | public User() {}
  | 
  | @Id @GeneratedValue
  | public Long getId()
  | {
  | return id;
  | }
  | public void setId(Long id)
  | {
  | this.id = id;
  | }
  | 
  | @Version
  | public Long getVersion()
  | {
  | return version;
  | }
  | public void setVersion(Long version)
  | {
  | this.version = version;
  | }
  | 
  | public Long getIndex()
  | {
  | return index;
  | }
  | public void setIndex(Long index)
  | {
  | this.index = index;
  | }
  | 
  | @OneToMany(fetch=FetchType.EAGER, mappedBy="user")
  | @OrderBy("name")
  | @IndexColumn(name="id")
  | public List getActivities()
  | {
  | return activities;
  | }
  | public void setActivities(List activities)
  | {
  | this.activities = activities;
  | }
  | 
  | public String getPassword()
  | {
  | return password;
  | }
  | public void setPassword(String password)
  | {
  | this.password = password;
  | }
  | 
  | public String getUsername()
  | {
  | return username;
  | }
  | public void setUsername(String username)
  | {
  | this.username = username;
  | }
  | 
  | @ManyToOne
  | public Team getTeam()
  | {
  | return team;
  | }
  | public void setTeam(Team team)
  | {
  | this.team = team;
  | }
  | 
  | public String toString()
  | {
  | return this.getClass().getName() + "@" + (id == null ? "null" : id);
  | }
  | 
  | public boolean equals(Object o)
  | {
  | if(o.getClass().equals(this.getClass()))
  | {
  | return (o.toString().equals(this.toString()));
  | }
  | return false;
  | }
  | 
  | public int hashCode()
  | {
  | return this.toString().hashCode();
  | }
  | }
  | 
And an activity... 


  | package sample.model;
  | 
  | import java.io.Serializable;
  | import java.util.Date;
  | 
  | import javax.persistence.Entity;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.Id;
  | import javax.persistence.JoinColumn;
  | import javax.persistence.ManyToOne;
  | import javax.persistence.Version;
  | 
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Role;
  | import org.jboss.seam.annotations.Scope;
  | 
  | import sample.general.CausesRefresh;
  | 
  | @Entity
  | @Name("activity")
  | @Scope(ScopeType.CONVERSATION)
  | @CausesRefresh(objectsToRefresh="user")
  | public class Activity implements Serializable
  | {
  | private Long id;
  | private String name;
  | private User user;
  | private Date date;
  | private Long version;
  | private Long index;
  | 
  | public Activity(Long id, Long index, String name, User user, Date date, 
Long version)
  | {
  | // TODO Auto-generated constructor stub
  | this.name = name;
  | this.user = user;
  | this.date = date;
  | this.version = version;
  | }
  | 
  | public Activity() {}
  | 
  | @Id @GeneratedValue
  | public Long getI

[jboss-user] [Remoting] - Re: Procedure to cleanly remove the listener?

2006-11-07 Thread [EMAIL PROTECTED]
Sounds like you are talking about use of 
Client.addConnectionListener(ConnectionListener listener, int pingPeriod).  Fom 
looking at latest remoting code base, after the connection notifier is fired so 
that all the ConnectionListeners are notified, the connection notifier is 
stopped, so should not receive any further notifications.  Also, if call 
Client.removeConnectionListener(ConnectionListener listener) and is the only 
registered listener, will then also stop the connection notifier.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983908
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging randomly implodes

2006-11-07 Thread [EMAIL PROTECTED]
In your try... catch do something like this:

try
{
}
catch (JMSException e)
{
e.getLinkedException().printStackTrace();
e.printStackTrace();
}

That will give you more clue about what's going on with that exception.

I will see the possibility of calling initCause(cause) on future releases.



Also.. if you have you log4j setting in your client, these exceptions are being 
sent to the log output.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983905
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - JNDI Security?

2006-11-07 Thread kaloisi

Is there a way to force authentication for all JNDI access? I'm having trouble 
finding documentation on this subject. 

It looks like the LoginInitialContextFactory accepts a user/password but  
NamingContextFactory doesn't. 

So is there a way to disable NamingContextFactory?  

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983898
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Webstart & SSO, a viable scheme?

2006-11-07 Thread iori
Hi,

We are currently planning an authentication/authorization scheme on a system 
involving a Java Webstart application workstation doing mainly presentation and 
configuration, delegating the demanding memory & CPU intensive calculation 
tasks and the persisting of the configuration settings to stateless session 
beans running on a JBoss cluster.

JAAS approach with ClientLoginModule seems like the obvious choice on the Java 
application client side and checking the credentials from Ldap on the serer 
side, but there is one problem: Client login and role info would already be 
needed when parsing the JNLP file for the webstart application, because the 
workstation software is contructed from different set of pluggable modules 
based on user profiles.

To avoid double sing-on, we thought we had to do the login with a separate 
servlet against Ldap and pass the user credentials to the webstart application 
by giving them as properties in the gererated JNLP file. I did not like this, 
giving the user's plain text password in the JNLP file is out of the question.

So what I was thinking was that the login servlet would do the login against 
our existing external LDAP server (using the LdapLoginModule), generate a 
temporary password, store it in the user DB with other user session information 
and put this temporary password in the JNLP file as a property. Then the 
Webstart app would use the userid and this temporary password as user 
credentials with the ClientLoginModule when making EJB calls to the JBoss 
cluster. The EJBs would be configured in other security domain than the login 
servlet configured to do the authentication and authorization using 
DatabaseServerLoginModule against the user DB containing the userid and the 
temporary password (if login was successful and the session is still valid).

If the session gets invalidated, the Webstart app would still have to ask the 
user for the real password to make a new session using the login servlet and 
start using the new returned temporary password bound to the new session when 
communicating with the EJBs (thus two JAAS login contexts on the client side).

Now this is not exactly how things are done in the manual, so I would like to 
ask if anyone sees any obvious security holes or problems with this kind of 
scheme? An comments would be appreciated as I'm not exacly a network security 
wizard.


Ilkka

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983900
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Jboss Messaging randomly implodes

2006-11-07 Thread nbreau
We're running Jboss messaging as a standalone app with JBoss application server 
(latest release of both) with a load of anywhere around 100-300 messages per 
second. I was wondering if someone could tell me what the issue could be, I'm 
not getting any hints of the following stack trace.  Once the error occurs I 
need to restart my application in order to be able to start publsihing to JBoss 
again.  Once the error starts occuring this stack trace gets printed on every 
attempt to send a message.

I'm not seeing any errors in the jboss logs.


Stack trace:

Error publishing to topic : org.jboss.jms.util.MessagingJMSException: Caught 
exception
org.jboss.jms.util.MessagingJMSException: Caught exception
at 
org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:99)
at 
org.jboss.jms.client.delegate.ClientSessionDelegate$send_N3028277934545793941.invokeNext(ClientSessionDelegate$send_N3028277934545793941.java)
at 
org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at 
org.jboss.jms.client.delegate.ClientSessionDelegate$send_N3028277934545793941.invokeNext(ClientSessionDelegate$send_N3028277934545793941.java)
at 
org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java)
at 
org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:253)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130)
at 
org.jboss.jms.client.delegate.ClientProducerDelegate$send_396159801771796.invokeNext(ClientProducerDelegate$send_396159801771796.java)
at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:182)
at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at 
org.jboss.jms.client.delegate.ClientProducerDelegate$send_396159801771796.invokeNext(ClientProducerDelegate$send_396159801771796.java)
at 
org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
at 
org.jboss.jms.client.delegate.ClientProducerDelegate$send_396159801771796.invokeNext(ClientProducerDelegate$send_396159801771796.java)
at 
org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at 
org.jboss.jms.client.delegate.ClientProducerDelegate$send_396159801771796.invokeNext(ClientProducerDelegate$send_396159801771796.java)
at 
org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)
at 
org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:172)
at 
org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:220)
at 
org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:147)
at 
org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:138)
at 
com.mycom.sphere.postcrawler.services.mq.LinkDiscoveryMQProducer.publish(LinkDiscoveryMQProducer.java:50)
at 
...

any help would be appreciated.
Nick.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983899
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: auto redeploy dynamic mbean on JBoss restart

2006-11-07 Thread cnsxxx09
Hi,

The Wiki just describes what I did in option 2. - or suggests a new syntax 
which is to wrap my value in option 1. with a [value] XML tag.

Neither of which work.

Chris






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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983892
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   4   >