[jboss-user] [JBoss Tools (users)] - How to install Jboss Profiler

2007-06-18 Thread anand7504
Hi friends,

When we tried to download JBoss Profiler we are confused which zip file is to 
be download the CR4 or RC3. We are using Windows 2003; JBoss4.0.5GA and 
jdk1.5.0_7. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055093
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: EAR Deployment, Third-party libraries and Struts

2007-06-18 Thread raorama
The method _jspx_meth_bean_message_0(JspTag, PageContext) in the type 
OrderStatus_jsp is not applicable for the arguments (HtmlTag, PageContext)

Dear friends,
I too got the error message like the above. For me the servlet.jar file in 
web-inf/lib conflicted with the one used by JBoss. When i removed the 
servlet.jar from web-inf/lib it worked fine.

Regards,
Rama.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055094
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam Dependency ?

2007-06-18 Thread trekker880
Hi
is seam totally dependent on the jsf.
Actully i m making an application that uses seam..pageflow .
Is it possible not to use jsf at all still my application runs.
Here i m using the velocity 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055096
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: can JBSEAM-1443 be included in 1.3?

2007-06-18 Thread matt.drees
Rock.
Thank you, sir.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055097
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: entity update without submit

2007-06-18 Thread hispeedsurfer
Thank you pete,

have performed bybassUpdates on cancel-commitLink and wondered about entity 
update anymore.
Now on a:support it work expected.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055098
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Ejb 3s and scheduling with cron expression.

2007-06-18 Thread paradigmza
Thanks, this is perfect. 

Where can I find the documentation for this?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055099
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Properly using a OneToMany relationship using EJB 3.0

2007-06-18 Thread itsme
Hi,

you two different options:

First one is to changed the loading strategy of your relationship by adding the 
appropriate attributes to the annotation i.e.
@OneToMany(fetch = FetchType.EAGER).
This is a standard declaration defined by the spec.

Second one is a little bit tricky because of the knowledge of cursor going to 
be closed. A lazy fetched relationship can be fully loaded by iterating over 
the collection using an iterator of an attached entity. Thus it is enough to 
call the relationships iterator method and the assoziated entities must be 
loaded.

Regards

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055100
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Can't lookup queue/B

2007-06-18 Thread happytour
Greetings,

In a simple piece of code Im doing the following:

InitialContext ctx = new InitialContext();
  | Queue q = (Queue)ctx.lookup (queue/B);

This raises the following exception:

Exception in thread main java.lang.ClassCastException: javax.naming.Reference
  | at 
ro.happytour.happyledger.jms.client.JMSProviderClient.main(JMSProviderClient.java:13)

Looking at the object returned by the lookup, it appears to be of type 
javax.naming.Reference. Could someone please help as I already posted this 
message several time, without any reply ?

Many thanks in advance,

Nicolas

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055101
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Forced login?

2007-06-18 Thread KnisterPeter
Does nobody have an idea why setting login-required=false does not work?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055106
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Jbpm-jpdl-3.2.GA + sql server : Only one process instanc

2007-06-18 Thread mputz
Please have a look at this related JIRA entry, as this might shed some light on 
the usage of constraints:
http://jira.jboss.com/jira/browse/JBPM-913

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055107
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: probleme with

2007-06-18 Thread eagleIT
Ok thanks. But where it can break ??

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055108
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @Predestroy In Stateless Session Bean

2007-06-18 Thread grdzeli_kaci
i could not resolve this problem  yet,
is there any jboss configuration or something like this, which can resolve this 
problem 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055112
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Client accessing EJB3 via RMIoverHTTTP on Port 80

2007-06-18 Thread itsme
Hi folks,

I am trying to figure this out for a month and no success so far. We are having 
a Swing-Client with the need for accessing EJB3 Stateless Session Beans over 
HTTP only on port 80 (because of the use of different firewalls).

Solving the problem to get JNDI-Lookup over HTTP was quiet easy. But all 
delivered poxies trying to connect via socket://${jboss.bind.address}:3878 as 
configured in ejb3.deployer/META-INF/jboss-service.xml.

The use of @RemoteBinding(clientBindUrl=ext-ip:port) is as bad as stated in 
other posts throughout this forum. In fact we need a configuration within a 
configfile (i.e. jboss.xml, jboss-service.xml,etc.).

Could any one push me in the right direction?

Regards Sandor

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055113
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - How to keep user sessions active when restarting the server/

2007-06-18 Thread jbossuser13
We want to update our application running on jboss frequently while users are 
actually online working whith it.

Has anybody out there done this?

I tried to achieve it by subclassing 
org.apache.catalina.session.PersistentManagerBase and 
org.apache.catalina.session.StoreBase to save the objects in the HTTP session 
to a file and implementing org.jboss.ejb3.cache.StatefulCache to save my 
stateful session beans to files.

The problem with this approach is, that when activating the passivated SFSBs 
(which use seam for bijection) in the @PostActivate method the seam-injected 
objects are not available. But in order to restore the state of the bean this 
objects are needed.

Is there a better way?

BTW: We use jboss 4.0.5 GA with myfaces, hibernate and seam.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055114
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: java.lang.ClassCastException: org.hibernate.collection.P

2007-06-18 Thread ricardomarques
I'm using JBoss AS 4.0.5 and JBPM 3.2. The hibernate version, is the one that 
comes with JBoss AS.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055115
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - howto: selectManyMenu and hql with EntityQuery

2007-06-18 Thread thegernot
Hello,
I have used seam gen to generate basic classes for an existing database model. 
Now I try to add a listbox with multiple selection. The backend class is 
extended from EntityQuery.
The problem I have now:
How can I add a multiple selection restriction string for the query?

I have tried with a Long[] but the result is a class cast exception: the 
resulting select is not capable that he should receive a list but expects only 
one variable instead...


  | h:selectManyMenu value=#{parameterList.categoryIds}
  |s:selectItems value=#{paramcategoryList.resultList} var=category 
label=#{category.name}/
  |s:convertEntity /
  | /h:selectManyMenu
  | 

  | @Name(parameterList)
  | public class ParameterList extends EntityQuery {
  |private ListLong categoryIds;
  | 
  |private static final String[] RESTRICTIONS = {
  |   parameter.paramcategory.id in 
elements(#{parameterList.categoryIds}),};
  | 
  |@Override
  |public String getEjbql() {
  |   return select parameter from Parameter parameter;
  |}
  | 
  |@Override
  |public ListString getRestrictions() {
  |   return Arrays.asList(RESTRICTIONS);
  |}
  |
  |... categoryIds getter and setter
  | }
  | 

An additional problem arises with building RESTful URL's: since I have a 
dynamic list of parameters for the GET URL I have not found a solution to add a 
suitable page parameter to page.xml. As a work around I use the JSF POST...
Does anybody know how to add a page parameter that is capable of a selection 
list?

Many thanks,
Gernot


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055116
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - How to get the window name of a portal page??

2007-06-18 Thread littlefish
anyone know that how to get all the window name of a portal page in the 
portlet??

for example: Management Portlet

THX!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055118
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - RMI : Boss Remoting heavy load

2007-06-18 Thread ecatum
Hi,

here the situation : 

- A client make remoting call on a object using rmi via 
org.jboss.remoting.Client and org.jboss.remoting.InvokerLocator.

- On the server side, we use ServerInvocationHandler and implement the method 
invoke(...).

Using jetty, we add on jboss-service.xml this configuration : 


  | server
  |  
  |   mbean code=org.jboss.remoting.transport.Connector
  | name=jboss.remoting:service=Connector,transport=RMI
  | display-name=MySubSys Socket transport Connector
  | attribute name=Configuration
  | config
  | invoker transport=rmi
  | attribute name=registryPort 
isParam=true8053/attribute
  | attribute 
name=serverBindAddress${jboss.bind.address}/attribute
  | attribute 
name=serverBindPort8052/attribute
  | /invoker
  | handlers
  | handler 
subsystem=MYSUBSYScom.subsys.MySubSys/handler
  | /handlers
  | /config
  | /attribute
  | dependsjboss.jca:service=DataSourceBinding,name=subsysDS/depends
  |   /mbean
  | /server
  |  

This part is ok.

But a large number of Clients have to connected on the server. When we made 
some tests, we note that when too much clients are connected, the others 
clients which want to connect them self to the server see their connections 
refused due to open connection limitation.

I wonder to know if there is a way to increase the number of socketConnection, 
socketTimeout, ... for RMI in order to add it on the jboss-service.xml. 

Thanks ;)

Bye.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055120
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: a problem in jboss-4.2.0GA

2007-06-18 Thread tihsho
If you don't hit the bean then you will get a 

javax.naming.NameNotFoundException: CounterBean not bound

exception rather than the attached error message, so the bean is definately 
getting hit before it errors

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055121
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - mapping problems

2007-06-18 Thread jamesjmp
hello,
I´m testing files generated by means of seam-gen. When I run the seam app there 
is this error:

An Error Occurred:
/RstReportList.xhtml @39,62 rendered=#{empty myPOJO.resultList}: Exception 
getting value of property resultList of base of type : action.package.MyPOJO 
_$$_javassist_11

In the log:
Caused by: org.hibernate.hql.ast.QuerySyntaxException: MyPOJO is not mapped 
[select myPOJO from MyPOJO myPOJO]

It seems that there is some configuration problem. The content of the 
persistence.xml file  is the following: (I´m using Sybase and my database  
schema is dbo)

?xml version=1.0 encoding=UTF-8?
  | !-- Persistence deployment descriptor for dev profile --
  | persistence xmlns=http://java.sun.com/xml/ns/persistence; 
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; 
  |  version=1.0
  |  
  |persistence-unit name=ONLINE transaction-type=JTA
  |   providerorg.hibernate.ejb.HibernatePersistence/provider
  |   jta-data-sourcejava:/ONLINEDatasource/jta-data-source
  |   properties
  |  property name=hibernate.hbm2ddl.auto value=update/
  |  property name=hibernate.show_sql value=true/
  |  property name=hibernate.transaction.manager_lookup_class 
value=org.hibernate.transaction.JBossTransactionManagerLookup/
  |  property name=hibernate.dialect 
value=org.hibernate.dialect.SybaseDialect/
  |  property name=hibernate.default_schema value=dbo/
  |  property name=jboss.entity.manager.factory.jndi.name 
value=java:/ONLINEEntityManagerFactory/
  |   /properties
  |/persistence-unit
  | 
  | /persistence
  | 
  | 
  | 

Any idea will be welcomed.
thanks in advance!



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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Error while starting process

2007-06-18 Thread dabd
Hi,

I am using jbpm-jpdl-suite-3.2.GA on Windows and I get the following error 
while starting a very simple process I defined:
Stream error while reading XML: www.w3.org

I don't see anything wrong in the generated form that could cause this error.  
Any hints?

Thanks.


Here is the stack trace:
javax.faces.FacesException: Stream error while reading XML: www.w3.org
  | at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:522)
  | at com.ctc.wstx.sr.WstxStreamReader.next(WstxStreamReader.java:978)
  | at 
org.jbpm.webapp.tag.jbpm.ui.XmlPrinter.encodeBegin(XmlPrinter.java:113)
  | at 
org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:31)
  | at 
org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:58)
  | at org.jbpm.webapp.tag.jbpm.ui.Tab.encodeChildren(Tab.java:112)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
  | at 
org.jbpm.webapp.application.JbpmViewHandler.renderView(JbpmViewHandler.java:58)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
  | 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.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:595)
  | 



And here is the generated form that causes the error:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; 
  | 
  | !-- the DOCTYPE means we are required to use html for a root element --
  | html xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:c=http://java.sun.com/jstl/core;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:tf=http://jbpm.org/jsf/tf;
  |   xmlns:jbpm=http://jbpm.org/jsf;
  | 
  |   ui:component
  | 
  | jbpm:dataform
  | 
  |   f:facet name=header
  | h:outputText value=#{taskName}/
  |   /f:facet
  | 
  |   !-- TASKFORM ROWS --
  |   jbpm:datacell
  | f:facet name=header
  | h:outputText value=observacoes/
  | /f:facet
  |   h:inputText value=#{var['observacoes']} /
  |   /jbpm:datacell
  | 
  |   jbpm:datacell
  | f:facet name=header
  |   h:outputText value=Actions/
  | /f:facet
  | !-- TASKFORM BUTTONS --
  | tf:saveButton value=Save/
  | tf:cancelButton value=Cancel/
  | tf:transitionButton 

[jboss-user] [JBoss jBPM] - Re: Error while starting process

2007-06-18 Thread dabd
Keeping up with the tradition I will answer my own question.

The problem was that I am under a proxy and my browser was not properly 
configured to use it, so the URL with the DTD in the first line of the 
generated form could not be reached.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055125
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - JMS client running in Tomcat

2007-06-18 Thread adoorsarath
sir,

 Does a web application running in  a Tomcat container can consume a 

message from a  remote destination  created using JBossMQ[say it is in a 

different machine] ?

 would you please give some detailed information to quell my ignorance

Would indeed appreciate help on this

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055126
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM JSF Integrartion

2007-06-18 Thread ambika_devi
Hi roccolocko 

Suggest and help me in the code which u have given to me.. 

Hi Ronald

I am using jbpm-jpdl-3.2.GA as my jboss jbpm runtime in eclipse.

I included the eclipse plugins which are inside the 
D:\jbpm-jpdl-3.2.GA\designer\eclipse\plugins into my eclipse.

Then i added task to the start state. In the advanced properties for task, i 
found 
Due Date:
Blocking:
and Generate Form Button.

Clicking on the Generate Form Button i added the variables and i gave a file 
named task.xhtml. once after doing this, i got the forms.xml and the 
task.xhtml inside my process dir.

  | 
  | forms.xml
  | 
  | ?xml version=1.0 encoding=UTF-8?
  | 
  | forms
  |   form task=task form=task.xhtml/
  | /forms
  | 
  | task.xhtml
  | 
  | 
  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; 
  | 
  | !-- the DOCTYPE means we are required to use html for a root element --
  | html xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:c=http://java.sun.com/jstl/core;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:tf=http://jbpm.org/jsf/tf;
  |   xmlns:jbpm=http://jbpm.org/jsf;
  | 
  |   ui:component
  | 
  | jbpm:dataform
  | 
  |   f:facet name=header
  | h:outputText value=#{taskName}/
  |   /f:facet
  | 
  |   !-- TASKFORM ROWS --
  |   jbpm:datacell
  | f:facet name=header
  | h:outputText value=name/
  | /f:facet
  |   h:inputText value=#{var['name']} /
  |   /jbpm:datacell
  |   jbpm:datacell
  | f:facet name=header
  | h:outputText value=number/
  | /f:facet
  |   h:inputText value=#{var['number']} /
  |   /jbpm:datacell
  | 
  |   jbpm:datacell
  | f:facet name=header
  |   h:outputText value=Actions/
  | /f:facet
  | !-- TASKFORM BUTTONS --
  | tf:saveButton value=Save/
  | tf:cancelButton value=Cancel/
  | tf:transitionButton transition=to_state value=to_state/
  |   /jbpm:datacell
  | 
  | /jbpm:dataform
  | 
  |   /ui:component
  | 
  | /html
  | 
  | 
  | 

Only by generating form, i couldn't get the variables in the jbpm-console.

If i am giving that variables in default controller only, the variables are 
displayed in the process instance otherwise not.

Then i deployed my process definition in the D:\jbpm-jpdl-3.2.GA\server

It is deployed sucessfully with that variables but i coudn't edit the value of 
the variable (Even if i am giving it in default controller) in Jbpm console.

Help me in the code and suggest which server to use and how to deploy.

Thanks 
Ambika.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055135
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - user's group

2007-06-18 Thread maiky
Hy everybody,

I'm developing a portlet and i want to recover the groups of the user who is 
connect. It is possible ? I read the javadoc at the user's methods but i don't 
see anything to that.


Any solutions ?

Thanks.

PS: Sorry for my bad English.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055136
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Deploy without building archives

2007-06-18 Thread Schludi
Hello,

i am trying to deploy an application without building an archive. 

When I copy a packed WAR-archive to the deploy-directory, the hot deployment 
service is creating a directory tmp/deploy. 

I've deployed a running archive to the deploy directory and copied the created 
TMP-Directory from tmp/deploy to /deploy. That leads to a new deployment of the 
application under the speciefied directory name. 

Now I've stopped JBoss and deleted the WAR-archive from /deploy directory and 
renamed the copied tmp* Directory to the url under which the application should 
be riched. After that i got a hot-deployment error like this: 

13:09:22,453 ERROR [URLDeploymentScanner] Incomplete Deployment listing: 
  | 
  | --- Packages waiting for a deployer --- 
  | [EMAIL PROTECTED] { 
url=file:/C:/server/jboss-4.0.5.GA/server/default/deploy/container/META-INF/MANIFEST.MF
 } 
  |   deployer: null 
  |   status: null 
  |   state: INIT_WAITING_DEPLOYER 
  |   watch: 
file:/C:/server/jboss-4.0.5.GA/server/default/deploy/container/META-INF/MANIFEST.MF
 
  |   altDD: null 
  |   lastDeployed: 1182078562109 
  |   lastModified: 1182078562109 
  |   mbeans: 
  | 
  | [EMAIL PROTECTED] { 
url=file:/C:/server/jboss-4.0.5.GA/server/default/deploy/container/WEB-INF/classes/containerliste/Container.class
 } 
  |   deployer: null 
  |   status: null 
  |   state: INIT_WAITING_DEPLOYER 
  |   watch: 
file:/C:/server/jboss-4.0.5.GA/server/default/deploy/container/WEB-INF/classes/containerliste/Container.class
 
  |   altDD: null 
  |   lastDeployed: 1182078562125 
  |   lastModified: 1182078562109 
  |   mbeans: 
  | 
  | [EMAIL PROTECTED] { 
url=file:/C:/server/jboss-4.0.5.GA/server/default/deploy/container/WEB-INF/classes/containerliste/ContainerBean.class
 } 
  |   deployer: null 
  |   status: null 
  |   state: INIT_WAITING_DEPLOYER 
  |   watch: 
file:/C:/server/jboss-4.0.5.GA/server/default/deploy/container/WEB-INF/classes/containerliste/ContainerBean.class
 
  |   altDD: null 
  |   lastDeployed: 1182078562125 
  |   lastModified: 1182078562125 
  |   mbeans: 
  | 
  | [EMAIL PROTECTED] { 
url=file:/C:/server/jboss-4.0.5.GA/server/default/deploy/container/WEB-INF/classes/containerliste/ContainerSize.class
 } 
  |   deployer: null 
  |   status: null 
  |   state: INIT_WAITING_DEPLOYER 
  |   watch: 
file:/C:/server/jboss-4.0.5.GA/server/default/deploy/container/WEB-INF/classes/containerliste/ContainerSize.class
 
  |   altDD: null 
  |   lastDeployed: 1182078562125 
  |   lastModified: 1182078562125 
  |   mbeans: 
  | 
  | [EMAIL PROTECTED] { ...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055139
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Newbie in jBPM deployment and integration

2007-06-18 Thread jbosslim
I've read the forum and done the example in JbpmGettingStarted.  I've created 
processes and successfully deployed to the jbpm-console.

My problem is, I've an existing web app that runs on JBossAS 4.0.4GA.  I wanted 
to change my current workflow engine to jBPM.

Q1:  What config file, jar or lib (From jBpm) that I need to copy into my 
current existing JBossAS folder?

Q2:  The auto-generated form in the editor produce .xhtml only.  When i rename 
it to .jsp, during runtime, it hits errors.  Can i use JSP?

Q3: In each task, we add variables,  how can we get the value of the variables 
on backend?

Q4: How do we call the backend classes?

Q5: (Stupid Ques.) Is jbpm-console.war, an example or it's a console for jbpm 
to configure the process?

I've done a lot of reading and research, but i still couldn't get the way to 
integrate into my existing jbossAS.  I'm a newbie in Jboss area, just have some 
experience in configuring the jbossAS, no others.

Please help.. thank you very much.. Your help is very much appreciated!







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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055140
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Newbie in jBPM deployment and integration

2007-06-18 Thread jbosslim
Sorry.  More explaination on Q4.

Q4: How do we call the backend classes when a process reaches at another task.  
For example, Task A route to Task B where Task B is going to call 
ABCWebService.callWebService method.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055143
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: probleme with

2007-06-18 Thread [EMAIL PROTECTED]
If you remove /sec/ then the portal has no way to tell that the URL has to be 
secured and forward to https.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055144
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: Unable to set JBoss server from within Eclipse.

2007-06-18 Thread Schludi
Hello i am using Eclipse WTP (Web Toolkit Project) with JBoss 4.0.5.GA, that 
works great. Maybe that would help you? Best regards

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055145
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: user's group

2007-06-18 Thread [EMAIL PROTECTED]
You can't get the roles of a user, you can only check if the user is in a 
specific role.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055146
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: java.lang.VerifyError

2007-06-18 Thread timfox
Ok, so you had the wrong jars on the client classpath.

The correct ones are explicitly mentioned in the userguide 

http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.3.0.GA/html/installation.html#inst.remoteclient

Which I guess you've now read? ;)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055147
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Hi,

I am tracking Seam's CVS. Some changes done very recently (over the weekend or 
Friday 15/06/2007) is creating some weird things.

I see that there is no more SeamExtendedManagedPersistencePhaseListener. I have 
taken that out from my faces-config.xml. I assume that the normal 
SeamPhaseListener will do al of these things automatically. However, since I 
have taken it out I get the following exception:

12:37:09,956 ERROR [SeamPhaseListener] uncaught exception
  | java.lang.NullPointerException
  | at 
org.jboss.seam.persistence.HibernatePersistenceProvider.getVersion(HibernatePersistenceProvider.java:62)
  | at 
org.jboss.seam.contexts.PassivatedEntity.createPassivatedEntity(PassivatedEntity.java:129)
  | at 
org.jboss.seam.contexts.EntityBeanList.clearDirty(EntityBeanList.java:57)
  | at 
org.jboss.seam.contexts.Lifecycle.isAttributeDirty(Lifecycle.java:576)
  | at 
org.jboss.seam.contexts.ServerConversationContext.flush(ServerConversationContext.java:242)
  | at 
org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:478)
  | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:341)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterRender(SeamPhaseListener.java:513)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:230)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:183)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:70)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:64)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:56)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:81)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:56)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:62)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:56)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:47)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:56)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:127)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:853)
  | at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
  | at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1513)
  | at 

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ManagedConnectionFactory is null

2007-06-18 Thread jimmycallaghan
I've seen this error happen before due to a hot-deploy of a -ds.xml file but 
I'm now getting this error without a hot-deploy. If I restart the server, 
everything will be OK for a couple of days, and then we get problems again.

My datasource is configured in a file outside of the EAR and the contents are:
no-tx-datasource
  | jndi-namemessagingplatform_prod_DS/jndi-name
  | 
connection-urljdbc:mysql:/the_ip_of_the_server:3306/database_name/connection-url
  | driver-classcom.mysql.jdbc.Driver/driver-class
  | user-namemyusername/user-name
  | passwordmypassword/password
  | max-pool-size40/max-pool-size
  | 
exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name
  | check-valid-connection-sqlselect 'x'/check-valid-connection-sql
  | 
  | /no-tx-datasource

Can anyone think of any reasons why this error might just start happening?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055149
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: user's group

2007-06-18 Thread bvogt
I've posted a solution, please take a look at:
http://jira.jboss.org/jira/browse/JBPORTAL-1293

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055150
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: MySQL Cluster (ndb) supported?

2007-06-18 Thread timfox
I have never used MySQL cluster, but if it is accessed using the normal JDBC 
API then JBoss Messaging won't think of it any differently than any other JDBC 
implementation - JBM will be completely unaware it is talking to MySQL 
cluster.

If MySQL starts failing then sounds like a bug or misconfiguration on the MySQL 
end.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055151
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Mysterious Exception

2007-06-18 Thread dkane
QPool.Char wrote : You were totally right my build script did not package 
all of the .class files. I m sorry for stealing your time i will look at 
the easy things first when i face the next problem. :)


Could you please tell a bit more about that ? 
Having the same problem. The exception is 

 javax.persistence.PersistenceException: [PersistenceUnit: telePUnit] class or 
package not found
  | 
  | .
  | 
  | Caused by: java.lang.ClassNotFoundException: com.track.AutoCMP 
  | 

The AutoCMP.class is packaged. Breaking my head during the whole day, please 
help, what's wrong ?  

Thank you !

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055154
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Binding Manager

2007-06-18 Thread sradford
Hi,

In the sample binding manager config file: 
docs/examples/binding-manager/sample-bindings.xml the sections for the 
JMSProviderLoader don't change the jnp.discoveryPort (it is always 1102). Is 
this correct?

Thanks, 

Sean


  |   service-config 
name=jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider
  |  
delegateClass=org.jboss.services.binding.AttributeMappingDelegate
  |  !-- 
  |   MAKE SURE java.naming.provider.url 
  |   PORT IS SAME AS HA-JNDI ABOVE !!!
  |  --
  |  delegate-config
  | attribute name=Properties![CDATA[
  | 
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | 
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | 
java.naming.provider.url=${jboss.bind.address:localhost}:1100
  | jnp.disableDiscovery=false
  | jnp.partitionName=${jboss.partition.name:DefaultPartition}
  | jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
  | jnp.discoveryPort=1102
  | jnp.discoveryTTL=16
  | jnp.discoveryTimeout=5000
  | jnp.maxRetries=1
  |]]
  |/attribute
  | /delegate-config
  | !-- NOTE: YOU MUST ADD THIS ELEMENT, BUT THE VALUE DOESN'T MATTER
  |  BE SURE THE CORRECT VALUE IS IN java.naming.provider.url ABOVE 
--
  | binding port=1100/
  |   /service-config
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055155
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam remoting and security problem

2007-06-18 Thread Stateless Bean
Hi,
I have problem with seam remoting.
My app works fine on FF, but on IE,Avant Browser and Opera 9x, first time when 
user login and change somethinkg using ajax remoting, user is logouted from 
page and redirected to main page and User not logged in exception is thrown.

Second try do login and change ajax everythink now works fine. Can anyone tell 
me what is going on?

Here is my configuration:
components.xml

anonymous wrote : 
  | ?xml version=1.0 encoding=UTF-8?
  | components xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:security=http://jboss.com/products/seam/security;
  | xmlns:drools=http://jboss.com/products/seam/drools;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=
  | http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-1.1.xsd 
  |  http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.1.xsd
  |  http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-1.1.xsd
  |  http://jboss.com/products/seam/drools 
http://jboss.com/products/seam/drools-1.1.xsd;
  | 
  | core:init jndi-pattern=Universum/#{ejbName}/local debug=false/  
  |  
  | core:manager conversation-timeout=12 
  |   concurrent-request-timeout=500
  |   conversation-id-parameter=cid
  |   conversation-is-long-running-parameter=clr/
  | 
  | core:dispatcher/
  | 
  |   false
  |   2
  |   1
  |  
  | 
  | security:identity authenticate-method=#{authenticator.authenticate}/
  | 
  | drools:rule-base name=securityRules
  |drools:rule-files/META-INF/security-rules.drl/drools:rule-files
  |/drools:rule-base
  | 
  | component name=em auto-create=true 
class=org.jboss.seam.core.ManagedPersistenceContext
  | java:/sguEntityManagerFactory
  |   
  | 
  | core:locale-selector cookie-enabled=true/ 
  | 
  | 

pages.xml

  | !DOCTYPE pages PUBLIC
  |   -//JBoss/Seam Pages Configuration DTD 1.2//EN
  |   http://jboss.com/products/seam/pages-1.2.dtd;
  | 
  | pages
  | page view-id=/blc.xhtml action=#{engineControler.calcUserPoints} /
  | 
  | page view-id=/pages/*
  | restrict#{s:hasRole('user')}/restrict  
  | navigation from-action=#{gameAction.logout}
  | redirect view-id=/Universum.xhtml/
  | /navigation
  | 
  | 

web.xml

  | ?xml version=1.0 encoding=UTF-8?
  | web-app version=2.4 
  |  xmlns=http://java.sun.com/xml/ns/j2ee;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
  |  
  | 
  | listener
  | listener-classorg.jboss.seam.servlet.SeamListener/listener-class
  | /listener
  | 
  | listener
  | 
listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class
  | /listener
  | 
  | context-param
  | param-namejavax.faces.STATE_SAVING_METHOD/param-name
  | param-valueclient/param-value
  | /context-param
  | 
  | context-param
  | param-namefacelets.DEVELOPMENT/param-name
  | param-valuetrue/param-value
  | /context-param
  | 
  | context-param
  | param-namejavax.faces.DEFAULT_SUFFIX/param-name
  | param-value.xhtml/param-value
  | /context-param
  | 
  | filter
  | filter-nameSeam Exception Filter/filter-name
  | 
filter-classorg.jboss.seam.servlet.SeamExceptionFilter/filter-class
  | /filter
  | 
  | filter
  | filter-nameSeam Redirect Filter/filter-name
  | 
filter-classorg.jboss.seam.servlet.SeamRedirectFilter/filter-class
  | /filter
  | 
  | filter-mapping
  | filter-nameSeam Exception Filter/filter-name
  | url-pattern*.seam/url-pattern
  | /filter-mapping
  | 
  | filter-mapping
  | filter-nameSeam Redirect Filter/filter-name
  | url-pattern*.seam/url-pattern
  | /filter-mapping
  | 
  | servlet
  | servlet-nameSeam Resource Servlet/servlet-name
  | 
servlet-classorg.jboss.seam.servlet.ResourceServlet/servlet-class
  | /servlet
  | 
  | servlet-mapping
  | servlet-nameSeam Resource Servlet/servlet-name
  | url-pattern/seam/resource/*/url-pattern
  | /servlet-mapping
  | 
  | servlet
  | servlet-nameFaces Servlet/servlet-name
  | servlet-classjavax.faces.webapp.FacesServlet/servlet-class
  | load-on-startup1/load-on-startup
  | /servlet
  | 
  | servlet-mapping
  | servlet-nameFaces Servlet/servlet-name
  | 

[jboss-user] [JBossWS] - call .net webservice from jboss

2007-06-18 Thread poyge394
Hi,
how can i call a .net webservice from jboss 4.2.0GA, can sombody help me with 
the steps and some code.
thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055158
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SeamPDF and generating tables fails after some iteration

2007-06-18 Thread baz
We are now using facelets 1.1.13Alpha from June,17.

The above error is gone with this version.
Now we are evaluating this release in deep.:-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055160
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam remoting and security problem

2007-06-18 Thread Stateless Bean
I use Seam 1.2.1 GA

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055161
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: user's group

2007-06-18 Thread maiky
anonymous wrote : You can't get the roles of a user, you can only check if the 
user is in a specific role.

What must I do to check the role ?

Thanks

PS: Sorry for my bad English

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055162
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Mysterious Exception

2007-06-18 Thread dkane
Notable addition : 
when I remove @Entity annotation from CMP class which is the root cause of 
exception, this class is not ClassNotFound anymore. But another packaged 
class, still with @Entity annotation, takes this place in exception report. 

So, the problem is definitely related to entity beans and their persistence, 
not to absence of class file in my case. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055164
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: mapping problems

2007-06-18 Thread jamesjmp
I´ve realised that seam-gen hasn´t  created a hibernate.cfg.xml. I´ve done it 
but the same error goes on. I´m not sure if that hibernate.cfg file is being 
readed. 
I have started with a database, and with seam-gen I´ve generated the pojos and 
views. The error happens when invoking the view because the pojos are not 
properly mapped.
Any config suggestions?
thank you!

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Context an Deployment of uncompiled apps (only dir)

2007-06-18 Thread Schludi
Hello! 

I am trying to deploy an old Tomcat application to JBoss and have some 
problems. 

The first problem is, that i have no archives but an directory which needs to 
be copied. That leads to a hot deployment error - is the /deploy dir only 
accepting compiled archives?

The second problem is, that i have to set the context like it was in Tomcat. 
How can i do like this: (the file was in conf/catalina):

?xml version='1.0' encoding='utf-8'?
  | Context 
docBase=D:\dev\workspace\FAQ-DB-Backend\target\bbraun-faq-db-backend 
path=/faqdb workDir=work\Catalina\localhost\faqdb reloadable=true
  | Resource name=jdbc/FAQ_DB type=javax.sql.DataSource/
  | ResourceParams name=jdbc/FAQ_DB
  |   parameter
  | nameusername/name
  | valueuser/value
  |   /parameter
  |   parameter
  | namepassword/name
  | valuepass/value
  |   /parameter
  |   parameter
  | nameurl/name
  | 
valuejdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor/value
  |   /parameter
  |   parameter
  | namedriverClassName/name
  | valuecom.microsoft.jdbc.sqlserver.SQLServerDriver/value
  |   /parameter
  |   parameter
  | namemaxWait/name
  | value5000/value
  |   /parameter
  |   parameter
  | namemaxActive/name
  | value4/value
  |   /parameter
  |   parameter
  | namemaxIdle/name
  | value2/value
  |   /parameter
  | /ResourceParams   
  | /Context

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055166
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam namespaces.

2007-06-18 Thread Phantom
Please help me! I don't have much time and resources for experiment and in 
documentation I didn't find the answer to my question...

In components.xml we can define XML namespaces in the header. Is it correct, 
that Jboss Seam looking for components only in this namespaces?

My problem is: I have several subprojects on my Jboss AS instance. In each 
subproject I have separate WAR and, for example, such Entity component as 
user. Can I use namespaces for components division to separate projects? Now 
I should make some differences in names, for example: in first project user 
components called as pr1user, in second pr2user and so on. 

Thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055167
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Errors happen when replacing the jsf implementation in jboss

2007-06-18 Thread dxxvi
I replaced the jsf implementation (jsf-api.jar and jsf-impl.jar in the 
jboss-4.2.0.GA/server/default/deploy/jboss-web.deployer/jsf-libs directory) 
with the ones from JSF RI 1.2_04-b16-p02. What did JBoss do with these files? 
Anything magic?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055169
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: import org.jboss.mq.server.jmx.Queue

2007-06-18 Thread milind.uc
Anyone know how to acesses the datasource connection remotely I am getting the 
problem with getBinaryStream I kept the  
use-java-contextfalse/use-java-context in my datasource file

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055171
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - LazyInitializationException

2007-06-18 Thread ricardomarques
Hi guys, while getting the comments for a task instance using the command 
interface, i'm having this exception:


  | 12:19:00,265 ERROR [LazyInitializationException] failed to lazily 
initialize a collection of role: org.jbpm.taskmgmt.exe.TaskInstance.comments, 
no session or session was closed
  | org.hibernate.LazyInitializationException: failed to lazily initialize a 
collection of role: org.jbpm.taskmgmt.exe.TaskInstance.comments, no session or 
session was closed
  | at 
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
  | at 
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
  | at 
org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:97)
  | at 
org.hibernate.collection.PersistentList.size(PersistentList.java:91)
  | at com.pep.workflow.console.beans.Task.fetchComments(Task.java:189)
  | at com.pep.workflow.console.beans.Task.initialize(Task.java:240)
  | 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.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at javax.faces.component.UIData.broadcast(UIData.java:513)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | 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:147)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 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:595)
  | 
  | 

I've have read some other post's regarding this issue but still have some 
question, i'm complitely newbie in hibernate, and I trying to figure out the 
best way to solve this.

I'm wandering if the best approach is to write my hibernate query?


thanks

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

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

[jboss-user] [JBoss Portal] - Re: user's group

2007-06-18 Thread [EMAIL PROTECTED]

Use:
isUserInRole(String toto)

See the portlet spec

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055173
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss.NET] - Re: DataSource to MySQL with Axis2 and JBoss

2007-06-18 Thread ciaciapek
I am not sure if that will solve Your problem but since you are trying to 
access the datasource configured inside JBoss from bundled Tomcat context You 
have to configure datasource as:

use-java-contextfalse/use-java-context

so if You haven't yet added this line to your mysql-ds.xml file, do so and give 
it a shot.

i hope it helps

b.r.
ciapek

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055178
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: instances problem

2007-06-18 Thread habicht
are there any other suggestions what could be wrong? if it's not the config 
what else could cause that problem?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055185
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Question: Can static parameters be used in *.page.xml?

2007-06-18 Thread anescu
Yes, here it is:

It is a Seam generated application, with some modifications, so we have 
AbcList  AbcEdit for some of the entities.

It was required that the AbcList be ordered when you open the page by the first 
column.

So I have 3 way to open AbcList:
1) From the menu (s:link)
2) From the AbcEdit screen, by clicking the back button (also s:link)
3) From the AbcEdit screen, by clicking the delete button (which is a 
h:commandButton), this returns to the AbcList by using a navigation rule 
defined in AbcEdit.page.xml

In cases 1)  2) I can add this:
f:param name=order value=name asc/
And it works fine.
For 3) I tried to use the same but it is ignored. Then I placed the parameter 
in the AbcEdit.page.xml as in the first post, with the static value and it 
doesn't work. So I defined a Java bean with an attribute to keep the defeult 
order and now it works. But, as I said, it is so damn complicated to do. 

Since there is no alternative I'll guess we'll stick with this solution.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055188
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Question: Can static parameters be used in *.page.xml?

2007-06-18 Thread anescu
[EMAIL PROTECTED] wrote : You can, using value=#{'foo'} but please promise 
me you will not append the name asc to a database query!


Hei, tnx

Well, I guess it is used in a hibernate query. It is used to order the list of 
objects by the first column. But this is what the generated pages do anyway, 
only that they do it only when you click on the column headers:


h:column
  | f:facet name=header
  | s:link styleClass=columnHeader
  |  value=Name #{abcList.order=='name 
asc' ? messages.down : ( abcList.order=='name desc' ? messages.up : '' )}
  | f:param name=order value=#{abcList.order=='name 
asc' ? 'name desc' : 'name asc'}/
  | /s:link
  | /f:facet
  | #{abc.name}
  | /h:column

We just need a default order when the page is loaded the first time.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055191
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: instances problem

2007-06-18 Thread habicht
do you mean supported-modes or security constraints or is there another tag 
that isn't in my xml-files

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055192
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Question: Can static parameters be used in *.page.xml?

2007-06-18 Thread petemuir
The reason that you can't easily provide static parameters to pages.xml is that 
it is not normally a good design choice.

If you are using seam-gen/seam application framework then you would be much 
better off using an EntityQuery and components.xml to specify the default 
order.  This also gets around the problem of ql injection christian discusses.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055194
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Help with MDB + Seam + jBPM - transaction issue?

2007-06-18 Thread bsmithjj
OK - will check this too - thanks!

Brad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055196
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Interceptor without transaction participation

2007-06-18 Thread CarstenRudat
Hi all,

I'd like to have some kind of interceptor around a sessionbean-method that 
clears (set to null) entity properties. I need this feature to have some 
NO_READ access control on property level.

My first approach was to write a simple ejb-interceptor but it takes part in 
the sessionbean-method transaction and so the entity's properties was set to 
null on the database, too.

Is there a way to do such datastructure manipulation with my entity beans 
without having the database changed? Do I have to write an JBoss interceptor?

Thanks for help.

Carsten

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055197
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Properly using a OneToMany relationship using EJB 3.0

2007-06-18 Thread [EMAIL PROTECTED]
Problem with that second solution is that it leads to the N+1 problem.

There is a third solution - use LEFT JOIN FETCH.

If you have a collection that is configure for lazy loading, you can execute a 
JPQL query that left join fetches the collection you want to eagerly load.  
There is plenty of info on the net about left join fetches if you want to learn 
more.

All of these solutions mentioned in this thread are not hibernate specific.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055198
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: instances problem

2007-06-18 Thread [EMAIL PROTECTED]
The security constraint, on the portal you defined:

  |  security-constraint
  | policy-permission
  |unchecked/
  |action-namepersonalizerecursive/action-name
  | /policy-permission
  |  /security-constraint
  | 
You should have something like:

  |  security-constraint
  | policy-permission
  |unchecked/
  |  action-namepersonalizerecursive/action-name
  |  action-nameviewrecursive/action-name
  | /policy-permission
  |  /security-constraint
  | 

That's not related to your error. But i wonder how you got to that point.

Also you did not answer about the errors in the log file

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055199
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - JBossIDE and XDoclet

2007-06-18 Thread kmalinow
Hi,

I've already installed JBoss IDE for Eclipse, ver. 2.0.0.Beta2
I have some problem with XDoclet there. In fact there's XDoclet ver 2.0.x, but 
IDE expects XDoclet ver. 1.2.1

In this case I can't use that to generate some EJB interfaces.

Can someone help me?

Thanks,
Krzysztof

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055200
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Help with MDB + Seam + jBPM - transaction issue?

2007-06-18 Thread bsmithjj
Due to firewall issues, I use the Seam nightly builds for testing 'what's in 
CVS.'  The last build available at 
http://cruisecontrol.jboss.com/cc/artifacts/jboss-seam-builds is dated 
jboss-seam-CVS.20070614.zip (as of this morning 20070618).  Any chance a 
nightly build made after your commits to CVS will be made available soon?

Thanks,
Brad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055201
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Dependency ?

2007-06-18 Thread [EMAIL PROTECTED]
It really wouldn't be practical to not use JSF with Seam.  I know I've seen 
articles about using velocity with JSF, so you might want to give that route a 
look.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055206
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Dependency ?

2007-06-18 Thread [EMAIL PROTECTED]
It really wouldn't be practical to not use JSF with Seam.  I know I've seen 
articles about using velocity with JSF, so you might want to give that route a 
look.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055206
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Dependency ?

2007-06-18 Thread [EMAIL PROTECTED]
It really wouldn't be practical to not use JSF with Seam.  I know I've seen 
articles about using velocity with JSF, so you might want to give that route a 
look.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055207
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - where to find errata for Seam book

2007-06-18 Thread baz
Hello,
I have not found an errata page for this grandious well written book yet.
http://www.michaelyuan.com/blog/seam-next-gen-web-framework/
Does one exist?
In particular Chapter 11.1.3 Use Extended EL in Data Table was discussed more 
than once in this forum. I can't remember the correct thread but Christian 
Bauer has stated that extended EL can not be used as described in the mentioned 
chapter.  
So an errata page is very usefull.
BTW: I do not have an safari account. What state has the book in the safari 
area. Are these tiny little qirks already corrected there?  

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055208
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Multiple instances

2007-06-18 Thread gregamb
Hey there,

i'm running multiple instances of JBoss using binding manager (default conf 
file). I have on some computers problems, that that the last instance doesn't 
start on the port it should. For example, SSL port starts on 8643, but it 
should on 8443, and ajp port starts on 8609 but it should on 8009. The config 
files are set correctly.

Does anyone have any idea? i check all the ports running on the computer but it 
seems that nothing is running on them.

cheers.

Grrega

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055209
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: Deploy without building archives

2007-06-18 Thread Schludi
Okay i have forgotten to add the extension application.war to the directory

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055210
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - SLSB in Mbean

2007-06-18 Thread MurphyRic
Hi All,

I'm using MBeans to call a Stateless SessionBean in my application.
Below is how I declared the MBean in the JBoss-service.xml file.
I'm using Jboss-4.0.2, JDK 1.5.
--- JBoss-service.xml 

mbean code=com.myapp.services.PlatformManagerJMXService 
name=com.myapp.services:name=PlatformManagerJMXService
  | dependsjboss.j2ee:module=my-ejb.jar,service=EjbModule/depends
  |   /mbean
  | 


Problem:
The jboss-service.xml file gets loaded, when Jboss starts..., it throws the 
below Exception and this is due to looking-up the SLSBean in the JNDI before it 
actually loads.
---error
Caused by: javax.naming.CommunicationException: Receive timed out [Root 
exception is java.net.Socket
TimeoutException: Receive timed out]
-

I tried with the below code also in the Jboss-service.xml file and still 
getting the same Timed out exception. I expected this should actually load 
the MBean after the Naming service is started. 

Anything wrong in the below?

 JBoss-service.xml 
mbean code=com.myapp.services.PlatformManagerJMXService 
name=com.myapp.services:name=PlatformManagerJMXService
  | attribute name=JndiNameejb/MyPlatformManager/attribute
  | dependsjboss:service=Naming/depends
  | /mbean
 JBoss-service.xml 


I request you to please help me resolve this problem

Thanks and Regards


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055214
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - embedded-ejb missing

2007-06-18 Thread fady.matar
The embedded-ejb directory is missing from CVS. I cannot get to compile seam 
from CVS

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055215
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: embedded-ejb missing

2007-06-18 Thread petemuir
do a cleanall, CVS is compiling fine

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055217
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Ending a process instance and all its sub-process instance.

2007-06-18 Thread vineeth.varghese
Hi Folks,

I tried searching for any existing queries on this issue but couldn't find any, 
so posting this.

I have an application that runs with 2 process definition lets say main process 
'A' and sub-process 'B'. When process 'A' starts, based on some runtime info 
one or more instances of sub-process 'B' will be spawned. So at any point in 
time I will have an instance of process 'A' and 0-n process 'B'. Each of the 
process definition includes task assignments. 

A timer exists in process 'A' to check if the token/task/process is inactive 
for some X days. If it is found to be inactive, then the required action is to 
end the token of process 'A' and tokens of sub-process 'B'. Is there any 
obvious ways to achieve this is jbpm rather than querying all this from the db 
and programmatically doing this?.

I would also like to know how to end just a subset of the number of process 'B' 
tokens.

Thanks in advance for your help.
Vineeth.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055219
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: embedded-ejb missing

2007-06-18 Thread fady.matar
I did a cleanall but still this is referenced from the build.xml line 884 in 
the copylib folder, and the readme.txt is missing, actually the whole directory 
is missing from the repository and the the cleanall target did not create this 
directory.


  | copy file=embedded-ejb/readme.txt todir=${dist.dir}/embedded-ejb /
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055221
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Configuring JBoss with Eclipse/Exadel

2007-06-18 Thread dabd
Hi,

I would like to debug my jbpm project, but for that I need to have JBoss 
configured inside Eclipse.  After searching for JBossIDE, I found that it is 
being replaced by Exadel Studio.

With Exadel Studio I am having problems adding the JBoss Server that is 
included in jbpm-jpdl-suite-3.2.GA.

I pointed the directory C:\jbpm-jpdl-3.2.GA\server as the Application Server 
Directory in the Servers View in eclipse but it complains that 
javax.servelt.jar is missing.

Any hints?

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055222
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Embedded Jboss Settings for 1.3.0.Alpha

2007-06-18 Thread [EMAIL PROTECTED]
This might help: 

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



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055223
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Configuring JBoss with Eclipse/Exadel

2007-06-18 Thread fady.matar
It works fine for me, I'm not having that problem at all. Can you elaborate 
more on this?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055227
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: embedded-ejb missing

2007-06-18 Thread petemuir
The directory is supposed missing.  Looks like the dist target got broken - 
we'll get that fixed.  BUT you can compile seam (build taget) fine.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055228
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: embedded-ejb missing

2007-06-18 Thread fady.matar
Is this directory the same as before? Any changes got in there? that's true the 
build target works fine but I was trying to generate a distribution. Thanks for 
the help

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055231
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Usage of pooledTaskInstanceList

2007-06-18 Thread campi
Thanks for the advise, it's worked fine.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055234
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Why is jboss closing my connection?

2007-06-18 Thread [EMAIL PROTECTED]
teknokrat wrote : Ok, thanks. Is there a way to switch this off on a per 
connection factory level? I would like to get the benefits of the checking for 
database connections but not on my own session based connections.
  | 

As per the docs:
debug=false in jbossjca-service.xml

But then avoiding connection leakage becomes your problem. :-)

As stated many times in this forum. Holding one connection per ejb instance
is an anti-pattern and a totally inefficient use of resources.

The connections are already pooled (and cached at the transaction level)
by JCA which leads to a much more efficient use of resources.


  | // CMT Required Transaction
  | public void doSomething()
  | {
  |ConnectionFactory cf = ...
  |Connection c1 = cf.getConnection(); // Handle
  |Connection real2 = c.getRealConnection(); // Real
  | 
  |Connection c2 = cf.getConnection(); // Handle
  |Connection real2 = c.getRealConnection(); // Real
  |
  | assert c1 != c2; // Handles are not the same instance
  | assert real1 == real2; // But you always use the same real/underlying 
connection in the same transaction
  | }
  | 

teknokrat wrote : 
  | Also, just out of curiosity, what is the heuristic that jboss uses to 
decide that a connection has been checked out of the pool long enough and needs 
closing?
  | 

In a transaction - the end of the transaction
Otherwise the end of request (EJB method/Web invocation)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055235
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: embedded-ejb missing

2007-06-18 Thread petemuir
Sorry, I meant to write, the directory is supposed to be missing - it was 
deleted on purpose as its no longer needed.  Just edit your build.xml and 
remove that line.  I can't fix it just now as I have a load of local edit to 
build.xml

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055236
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: embedded-ejb missing

2007-06-18 Thread fady.matar
That's what I thought, it's being replaced by the bootstrap directory right? 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055238
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Configuring JBoss with Eclipse/Exadel

2007-06-18 Thread dabd
fady.matar wrote : It works fine for me, I'm not having that problem at all. 
Can you elaborate more on this?

Out of despair I copied the jars from 
C:\jbpm-jpdl-3.2.GA\server\server\jbpm\lib  to 
C:\jbpm-jpdl-3.2.GA\server\server\default (This is the directory that eclipse 
complained that didn't have the javax.servlet.jar)
and I managed to add JBoss 4.04 to the Servers View.

Now I get the following error when starting the server from Eclipse.

14:56:43,515 INFO  [Server] Starting JBoss (MX MicroKernel)...
14:56:43,515 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: 
CVSTag=JBoss_4_0_4_GA date=200605151000)
14:56:43,531 INFO  [Server] Home Dir: C:\jbpm-jpdl-3.2.GA\server
14:56:43,531 INFO  [Server] Home URL: file:/C:/jbpm-jpdl-3.2.GA/server/
14:56:43,531 INFO  [Server] Patch URL: null
14:56:43,531 INFO  [Server] Server Name: default
14:56:43,531 INFO  [Server] Server Home Dir: 
C:\jbpm-jpdl-3.2.GA\server\server\default
14:56:43,531 INFO  [Server] Server Home URL: 
file:/C:/jbpm-jpdl-3.2.GA/server/server/default/
14:56:43,531 INFO  [Server] Server Log Dir: 
C:\jbpm-jpdl-3.2.GA\server\server\default\log
14:56:43,531 INFO  [Server] Server Temp Dir: 
C:\jbpm-jpdl-3.2.GA\server\server\default\tmp
14:56:43,531 INFO  [Server] Root Deployment Filename: jboss-service.xml
14:56:44,046 INFO  [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
14:56:44,046 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_06-b05,Sun Microsystems Inc.
14:56:44,046 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
14:56:44,390 INFO  [Server] Core system initialized
Failed to boot JBoss:
org.jboss.deployment.DeploymentException: url 
file:/C:/jbpm-jpdl-3.2.GA/server/server/default/conf/jboss-service.xml could 
not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:770)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
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(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 $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:464)
at java.lang.Thread.run(Unknown Source)
14:56:44,421 INFO  [Server] Runtime shutdown hook called, forceHalt: true
14:56:44,421 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
14:56:44,421 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055240
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS client running in Tomcat

2007-06-18 Thread [EMAIL PROTECTED]
Yes, and detailed information is in the docs.

Undetailed version
1) Add jbossall-client.jar to Tomcat classpath or WEB-INF/lib
2) Configure your initial context to point at the JMS server
3) Lookup the jms connection factory
Standalone Tomcat is just another client like a simple java program.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055241
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: Can't lookup queue/B

2007-06-18 Thread [EMAIL PROTECTED]
I already moved this question to the jndi forum once!!!

JNDI Lookup problems are not JMS questions.
See the FAQ linked at the the top of that forum on how to debug the problem and 
the most
common problems with JNDI (in this case missing classes from your classpath).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055244
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Configuring JBoss with Eclipse/Exadel

2007-06-18 Thread fady.matar
Save your time this hassle an re-install the distribution and don't mess with 
the server libraries, future versions of the console will handle later versions 
of JBoss AS

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055245
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: DurableSubscriber

2007-06-18 Thread [EMAIL PROTECTED]
jp_ammu wrote : 
  | Even if able to configure the MDB succesfully, i still have 
DurableSubscriber() with same subscription name. My application( after restart) 
will get the duplicate subscription name exception and can't proceed further. 

 Restarting an MDB will close the previous connection so the client 
id/subscritpion name
will not be a duplicate. The MDB uses only one connection with many sessions.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055247
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - remote client cannot connect: detected failure on control co

2007-06-18 Thread bartvh
I have a remote client connecting to a clustered jboss-messaging server, using 
jboss 4.2.0. The JBM version is 1.3.0.GA. Because of some experimentation I 
frequently had restarted my client application. After a number of restarts, I 
get into a situation where the client is unable to reconnect to the JMS server. 
6:02:28,612 WARN  [BisocketServerInvoker] [EMAIL PROTECTED]: detected failure 
on control connection Thread[control: 
Socket[addr=/127.1.0.1,port=3652,localport=34297],5,jboss]: requesting new 
control connection

The client is retrying to connect to the server in case of failures. At everty 
retry this message is printed out. Restarting the client does not help to fix 
the problem, but restarting the server does.

Note: this might be a pure remoting issue, but I'm not sure, so this is posted 
in the jbm forum.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055249
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Configuring JBoss with Eclipse/Exadel

2007-06-18 Thread dabd
fady.matar wrote : Save your time this hassle an re-install the distribution 
and don't mess with the server libraries, future versions of the console will 
handle later versions of JBoss AS

Are you using jbpm-jpdl-3.2.GA ?

In the Servers View did you specify the JBoss AS Directory as 
C:\jbpm-jpdl-3.2.GA\server ?

Thanks


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055250
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam 1.3alpha with Glassfish

2007-06-18 Thread trouby
Hey,

Just wanted to inform that Seam 1.3Alpha does not work with Glassfish running 
under Linux.

I did some tests, it works fine with win32 GF distribution,

not sure what could result such a difference,

here are some info:

1) Tested against Linux RH Enterprise 4/Gentoo with JDK1.5/1.6 - did not work
2) Tested against win32 XP/2003 - with JDK1.6 - works fine
all tests were done against GF V2 B51


When I say 'did not work' I mean that no action gets invoked and no jsf 
components get rendered,
(Couldnt see any exception though)

Everthing works fine if I replace seam's jars with version 1.2.x.

n.b - also tried to download latest version(06-18-07) from CVS

Thanks,

Asaf.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055251
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Configuring JBoss with Eclipse/Exadel

2007-06-18 Thread fady.matar
you don't even need to specify the JBoss home. It's referenced internally from 
within the project

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055252
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: remote client cannot connect: detected failure on contro

2007-06-18 Thread bartvh
I want to add that when is problem occurs, shutting down the server hangs. I 
did a stack trace dump and it shows:
JBoss Shutdown Hook daemon prio=1 tid=0x08abc388 nid=0x2d94 waiting for 
monitor entry [0x85adb000..0x85adf030]
  | at 
org.jboss.remoting.ServerInvoker.removeCallbackHandler(ServerInvoker.java:1671)
  | - waiting to lock 0x911bbb28 (a java.util.HashMap)
  | at 
org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1341)
  | at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker.handleInternalInvocation(BisocketServerInvoker.java:552)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:721)
  | at 
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
  | at org.jboss.remoting.Client.invoke(Client.java:1550)
  | at org.jboss.remoting.Client.invoke(Client.java:530)
  | at org.jboss.remoting.Client.removeListener(Client.java:1043)
  | at 
org.jboss.jms.client.remoting.JMSRemotingConnection.stop(JMSRemotingConnection.java:297)
  | at 
org.jboss.jms.client.container.ConnectionAspect.handleClose(ConnectionAspect.java:181)
  | 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.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
  | at 
org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
  | at 
org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:91)
  | at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  | at 
org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
  | at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
  | at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  | at 
org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
  | at 
org.jboss.jms.client.delegate.ClientConnectionDelegate.close(ClientConnectionDelegate.java)
  | at 
org.jboss.jms.client.JBossConnection.close(JBossConnection.java:132)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:944)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.stopService(JMSContainerInvoker.java:863)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
and
WorkerThread#2[127.1.0.1:48325] prio=1 tid=0x080e0e10 nid=0xb97 in 
Object.wait() [0x82ada000..0x82adaeb0]
  | at java.lang.Object.wait(Native Method)
  | - waiting on 0x94f79fa0 (a java.util.HashSet)
  | at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.init(BisocketClientInvoker.java:206)
  | - locked 0x94f79fa0 (a java.util.HashSet)
  | at 
org.jboss.remoting.transport.bisocket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:44)
  | 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.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:419)
  | at 
org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:320)
  | - locked 0x90b20338 (a java.lang.Object)
  | at org.jboss.remoting.Client.connect(Client.java:441)
  | at 
org.jboss.remoting.callback.ServerInvokerCallbackHandler.init(ServerInvokerCallbackHandler.java:167)
  | at 
org.jboss.remoting.callback.ServerInvokerCallbackHandler.init(ServerInvokerCallbackHandler.java:139)
  | at 
org.jboss.remoting.ServerInvoker.getCallbackHandler(ServerInvoker.java:1655)
  | - locked 0x911bbb28 (a java.util.HashMap)
  | at 

[jboss-user] [JBoss Seam] - Re: where to find errata for Seam book

2007-06-18 Thread john135
I am also looking for such pages. I once confused but later realized that in 
several places in th book default component scopes are described incorrectly. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055254
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Configuring JBoss with Eclipse/Exadel

2007-06-18 Thread dabd
fady.matar wrote : you don't even need to specify the JBoss home. It's 
referenced internally from within the project

But isn't it necessary to start the server from Eclipse to be able to debug 
your code with breakpoints, etc.?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055255
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Listening Database Failover

2007-06-18 Thread [EMAIL PROTECTED]
Interesting, there is a configuration property that lets you decide how the
URL is selected, i.e. how it fails over. But it is not properly configured or 
documented.
http://jira.jboss.com/jira/browse/JBAS-4490

Absent this configuration it uses the default
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory$URLSelector
which does NOT the hook you are looking for.

I guess you could override this strategy 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/connector/src/main/org/jboss/resource/adapter/jdbc/URLSelectorStrategy.java?view=markup
to emit some form of notification when a new url is chosen. 

But where you would emit that notification to is a different question?
ManagedConnectionFactorys are just stateless javabeans. 
They don't have references into the JMX system or any other part of JBoss.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055258
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Usage of pooledTaskInstanceList

2007-06-18 Thread campi
I have an another question concerning TaskInstance.

I am using Jbpm variable to stock an id so I can retrieve information from my 
database when I list the taskInstance that I need. 
I wanted to known how I could load  the current taskInstance that is associated 
to this id (that i get from the database).

This will be very helpful,
Thanks in advance.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055260
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Reverse engineering - Could not obtain connection metada

2007-06-18 Thread dfwsteele
Has anyone been able to solve this issue? I am running into the same problem. I 
am working with Oracle 10g, eclipse 3.2, and IDE 1.6

When I try connecting to an Oracle database to do reverse engineeering I get 
the following error:

org.hibernate.exception.GenericJDBCException: Getting database metadata
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
  | at 
org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getMetaData(JDBCMetaDataDialect.java:61)
  | at 
org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:70)
  | at 
org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:404)
  | at 
org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:68)
  | at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$1.execute(LazyDatabaseSchemaWorkbenchAdapter.java:76)
  | at 
org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
  | at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:67)
  | at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:36)
  | at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:28)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:69)
  | at 
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:207)
  | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
  | Caused by: java.sql.SQLException: invalid arguments in call
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
  | at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:236)
  | at 
oracle.jdbc.driver.PhysicalConnection.init(PhysicalConnection.java:494)
  | at oracle.jdbc.driver.T4CConnection.init(T4CConnection.java:165)
  | at 
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
  | at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:816)
  | at 
org.hibernate.console.FakeDelegatingDriver.connect(FakeDelegatingDriver.java:23)
  | at java.sql.DriverManager.getConnection(Unknown Source)
  | at java.sql.DriverManager.getConnection(Unknown Source)
  | at 
org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
  | at 
org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getConnection(JDBCMetaDataDialect.java:294)
  | at 
org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getMetaData(JDBCMetaDataDialect.java:58)
  | ... 11 more


Here is my hibernate.cfg.xml:

?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE hibernate-configuration PUBLIC
  | -//Hibernate/Hibernate Configuration DTD 3.0//EN
  | 
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
  | hibernate-configuration
  | session-factory
  | property 
name=hibernate.connection.driver_classoracle.jdbc.OracleDriver/property
  | property name=hibernate.connection.passwordx/property
  | property 
name=hibernate.connection.urljdbc:oracle:thin:@nwusa-ars1048.nwusa.local:1521:veria/property
  | property name=hibernate.connection.usernameveria/property
  | property 
name=hibernate.dialectorg.hibernate.dialect.OracleDialect/property
  | property name=hibernate.default_schemaveria/property
  | property name=show_sqltrue/property
  | /session-factory
  | /hibernate-configuration
Any help would be greatly appreciated.

- Aaron

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055263
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: JMS ConnectionFactory not bound exception: Help need....

2007-06-18 Thread mpogra
any help? Please

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055264
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: 1.3.0 Temporary Destination - Full security

2007-06-18 Thread sergeypk
I have created a JIRA issue (http://jira.jboss.com/jira/browse/JBMESSAGING-993) 
for the first problem you describe (temporary destinations should not be bound 
to JNDI). As I investigate the other problems you mentioned I will create more 
issues if needed.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055266
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >