[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBOSS IDE 2.0 beta 2 Eclipse 3.2.1 - Hangs

2006-11-12 Thread merawalaid
i am having sililar problems with this setup. I am using JBoss IDE 2beta and 
Eclipse 3.2.1 from the bundle from this site. I can't create Debug profile for 
JBoss servers (JBoss 3.x,4.x etc). As a result i can't start the server to 
debug my servelets...

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

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


[jboss-user] [JBoss Seam] - Re: Beta 2: exception resolving EL expression

2006-11-12 Thread rlhr
Done.
http://jira.jboss.org/jira/browse/JBSEAM-494

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

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


[jboss-user] [JBoss Seam] - Abstract components, EL and auto-instantiation

2006-11-12 Thread jtucker
I have an abstract User class and subclasses for different types of users in 
the system. 

I would like Seam to manage a currentUser component which I put into session 
context after login. I would ideally annotate the abstract User class with 
@Name(currentUser) so whatever User subclass was being used could still be 
bijected this way.

I want to test the existence of the currentUser in EL with #{empty currentUser} 
but SeamVariableResolver always tries to create it - resulting in an 
InstantiationException due to the User class being abstract.

So effectively what I want is the ability to reference the EL variable without 
the SeamVariableResolver trying to auto-instantiate it.

Or am I missing an obvious alternative?


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

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


[jboss-user] [JBoss Seam] - Re: BETA2 Seam-gen explode/undeploy problem

2006-11-12 Thread mygol
i can't use wtp project from seam-gen.who can show me.thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Abstract components, EL and auto-instantiation

2006-11-12 Thread petemuir
I would suggest using a manager component:

@Name(currentUser)
  | @Scope(SESSION)
  | @Stateful
  | public class CurrentUserManagerBean implements CurrentUserManager {
  | 
  |private User currentUser;
  | 
  |@Create
  |public void create() {
  |   // Initialise the user e.g. get username from JAAS, load user from 
Persistence Context
  |   currentUser = ...;
  |}
  | 
  |@Unwrap
  |public User unwrap() {
  |   return currentUser;
  |}
  | 
  | }

Alternatively you could make the manager stateful and do all the work in 
@Unwrap,

@Name(currentUser)
  | @Stateless
  | public class CurrentUserManagerBean implements CurrentUserManager {
  |  
  |@Unwrap
  |public User unwrap() {
  |// Initialise the user e.g. get username from JAAS, load user from 
Persistence Context
  |   User currentUser = em.find(User.class, username);
  |   return currentUser;
  |}
  | 
  | }


or implement a @Factory manager pattern.


@Name(currentUserManager)
  | @Stateless
  | public class CurrentUserManagerBean implements CurrentUserManager {
  |  
  |@Factory(currentUser)
  |public User unwrap() {
  |// Initialise the user e.g. get username from JAAS, load user from 
Persistence Context
  |   User currentUser = em.find(User.class, username);
  |   return currentUser;
  |}
  | 
  | }

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

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


[jboss-user] [JBoss Portal] - Re: How to access the Portlet Properties?

2006-11-12 Thread bdaw
I think you talk about preferences and you use them in the same way that 
portlet specification desrcibes in PLT.14 chapter.

You set preferences on portlet (portlet.xml), portlet instance 
(portlet-instances.xml) or user (API) level but it's still the same set of 
preferences.

PortletPreferences prefs = request.getPreferences();

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

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


[jboss-user] [JBossWS] - Re: How do I disable HTTP chunking?

2006-11-12 Thread maeste
You have to disable it client side setting Connection=close in http header.

  | HttpURLConnection conn = (HttpURLConnection)endpoint.openConnection();
  | [...]
  | conn.setRequestProperty(Connection,close);
  | [...]
  | 

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Implementing our own Client side interceptors

2006-11-12 Thread Anvar
Following is my understading.
They need to be AOP interceptors (implement org.jboss.aop.advice.Interceptor). 
Also, an AOP configuration file that specifies the AOP  bindings must be 
available in the client classpath.

Please correct me if my undersanding is wrong.

Thanks.

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

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


[jboss-user] [EJB/JBoss] - Re:

2006-11-12 Thread m-krausse
Maybe it has something to do which an issue described here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases

During installation process you can Enable Deployment isolation/ call by value. 
What does this mean?

I do not understand this.

Greetings
Michael

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

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


[jboss-user] [JBoss Portal] - Integrating existing Struts based application within the Por

2006-11-12 Thread girishramagiri
Hi,

The need is to integrate the existing Struts based application within the 
portlets.

However I have observed couple of things:

1. From the jsps within the portlet, I cannot redirect using a relative URL 
(ex: //MainMenuLogonAction.do). The server throws invalid path requested error. 
Instead if I use http://localhost:8080//MainMenuLogonAction.do, it redirects. 
But in this case if I need to pass parameters say 
http://localhost:8080//MainMenuLogonAction.do?param1=Aparam2=B.. the 
server throws problem accessing absolute path error.

2. The links  form actions always open a new window which should actually open 
in the same portlet. 

There seems to be a clash between the PortletContext  ServletContext  
StrutsContext.

Kindly let me know how you resolved these issues.

Note:
1. I am using JBoss Portal 2.4
2. The war deployed is a single war comprising of the existing Struts based 
application and the Portal framework code.

Many thanks in advance.
Girish

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

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


[jboss-user] [JBoss Portal] - Re: Integrating existing Struts based application within the

2006-11-12 Thread girishramagiri
Please note that the URLs mentioned got misinterpreted, they should have been:
/applicationname/MainMenuLogonAction.do

http://localhost:8080/applicationname/MainMenuLogonAction.do

http://localhost:8080/applicationname/MainMenuLogonAction.do?param1=Aparam2=B..

Thanks  Regards,
Girish



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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Implementing our own Client side interceptors

2006-11-12 Thread azhurakousky
You can use any AOP framework (i.e., AspectJ etc). What I was trying to say, 
there is no JBoss provided Client Container(Proxy) with a configurable 
interceptor stack, something you see in JBoss EJB implementation where you have 
concepts like Client Side and Server Side with coresponding configurations 
and interceptor stack. 

For everything else you are correct.

Regards

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

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


[jboss-user] [JBoss Seam] - Re: Abstract components, EL and auto-instantiation

2006-11-12 Thread jtucker
Nice suggestion Pete. Looks like it'll work great.

Thanks.

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

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


[jboss-user] [Clustering/JBoss] - Other than HA-RMI proxies

2006-11-12 Thread Anvar
In JBoss clustering, if I want to use other than HA-RMI proxies with EJBs, is 
there any feasability.
Does jboss provide only HA-RMI proxies to be used with EJBs.

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Invalid invocation of local interface - seam registratio

2006-11-12 Thread maek1975
I have now re-installed JBoss using the installer and selected ejb3-profile. 
But the error still appears.

[2006-11-12 15:46:45,828 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] 
Servlet.service() for servlet jsp threw exception
javax.faces.el.EvaluationException: Cannot get value for expression 
'#{messageList.rowCount==0}'
at 
org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402)
at 
org.jboss.seam.actionparam.ActionParamValueBinding.getValue(ActionParamValueBinding.java:83)
at 
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1075)
at 
javax.faces.webapp.UIComponentTag.isSuppressed(UIComponentTag.java:884)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:313)
at org.apache.jsp.test_jsp._jspx_meth_h_outputText_0(test_jsp.java:174)
at org.apache.jsp.test_jsp._jspx_meth_f_view_0(test_jsp.java:132)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:96)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at 
org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.extremecomponents.table.filter.AbstractExportFilter.doFilter(AbstractExportFilter.java:49)
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)
Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: messageManager
at org.jboss.seam.Component.newInstance(Component.java:1578)
at org.jboss.seam.Component.getInstance(Component.java:1492)
at 

[jboss-user] [Management, JMX/JBoss] - JBOSS XMBean

2006-11-12 Thread Anvar
Does JBOSS XMBean  seperates management implementation from service POJO 
implementation.
If so, can you please throw some light on this.

Thanks
Javeed

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

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


[jboss-user] [Management, JMX/JBoss] - Re: JBOSS XMBean

2006-11-12 Thread Anvar
Anvar wrote : Does JBOSS XMBean  seperates management implementation from 
service POJO implementation.
  | If so, can you please throw some light on this.
  | 
  | Thanks

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: No JSP Page and HTML Page under JBossIDE-Web Components

2006-11-12 Thread aditya2507
This issue is still existing... :(

I just installed Jboss-IDE 1.6 and I am facing the same problem.

Any pointers on how to go about it?

--

AK

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: What is to be downloaded?

2006-11-12 Thread DickP
JBossIDE-Core.  I noticed that this includes large sets of standard eclipse 
plugins (emf, wst, xsd).  I already have all these dependancies as part of my 
custom Callisto download.  Is it possible to provide a core download excluding 
any dependancies?  

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

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


[jboss-user] [EJB/JBoss] - Creating client EJB proxies

2006-11-12 Thread Anvar
Does JBOSS uses a proxy compiler to create client EJB proxies.
If so, explanation will be more useful.

Thanks in advance.

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

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


[jboss-user] [Advanced Documentation] - Re: Cannot find jaxrpc-mapping for type: {http:

2006-11-12 Thread mnsharif
Hi!

I am also facing the same error message but with string as follows:

WARN  [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: 
{http://www.w3.org/2001/XMLSchema}string

... and this warning becomes fatal as it gives the following deployment time 
exception:

org.jboss.ws.WSException: Cannot obtain java/xml type mapping for: 
{http://www.w3.org/2001/XMLSchema}string
  | at 
org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:513)


Has anyone figured out how to solve it???


mnsharif

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

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


[jboss-user] [JBoss Seam] - Re: Abstract components, EL and auto-instantiation

2006-11-12 Thread jtucker
For anyone else reading this - use the @Factory method.

@Unwrap has problems with ClassCastException's since the unwrapped object is a 
different class to the component.

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

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


[jboss-user] [JBossWS] - Re: wscompile - Restricted base='xsd:string' mapping issue

2006-11-12 Thread mnsharif
The bug id pointed by thomas (JBWS-810) refrences JBWS-710 which is listed as 
to be fixed in jboss4.0.4GA.

But, i am still getting this error. Has anyone got a clue whats the status of 
this? Has it been fixed or not?


mnsharif

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

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


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

2006-11-12 Thread Anvar
Under what circumstances will a JMX notification always be emitted.

Thanks.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: What is to be downloaded?

2006-11-12 Thread [EMAIL PROTECTED]
jboss ide 2.x builds/downloads provides this seperation.

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

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


[jboss-user] [JBossWS] - Re: Possible JBoss SwA Bug

2006-11-12 Thread mnsharif
Hi all!


In document/literal web services, wscompile (from JWSDP1.6) generally gives 
error when WSDL has something like

part name = attachmentContents type = xsd:string/

... but wstools stays silent and generates SEI/mappingFile successfully when 
using a similar construct (shown below) for specifying type for an element 
defined in mime:content part=attachmentContents type=text/plain/

message name = attachRequest
  |   part name = parametersAttach element = ns2:paraList2/
  |   part name = attachmentContents type = xsd:string/
  | /message


Are we doing anything wrong here?


Any pointer would be appreciated.
mnsharif


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

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


[jboss-user] [JBossWS] - Re: Possible JBoss SwA Bug

2006-11-12 Thread mnsharif
Hi Tim!


I am also facing a similar problem when deploying a document/literal webservice 
with attachment (starting from WSDL). In my case the attachment happens to be 
text/plain, so my message declaration is as follows:

message name = attachRequest
  |   part name = parametersAttach element = ns2:paraList2/
  |   part name = attachmentContents type = xsd:string/
  | /message

which generates a similar exception as yours:

19:41:55,192 WARN  [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: 
{http://www.w3.org/2001/XMLSchema}string
  | 19:41:55,192 ERROR [MainDeployer] Could not create deployment: 
file:/D:/jboss-4.0.4.GA/server/default/deploy/alhamd.war
  | org.jboss.ws.WSException: Cannot obtain java/xml type mapping for: 
{http://www.w3.org/2001/XMLSchema}string


Does this warning, before deployment commences, suggest something?




regards,
mnsharif

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

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


[jboss-user] [Management, JMX/JBoss] - Re: JBOSS XMBean

2006-11-12 Thread genman
Try to use one and you'll understand.

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

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


[jboss-user] [JCA/JBoss] - Re: DataSource and connection pool

2006-11-12 Thread genman
Check the JMX console. There's an MBean created with this information.

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

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


[jboss-user] [Beginners Corner] - Re: Getting Started Tutorial Needs Updating

2006-11-12 Thread genman
If you could take a moment to explain what needs changing in the example and 
possibly submit a documentation bug, that would be more helpful than stating 
it doesn't work.


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

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


[jboss-user] [JBoss Seam] - How to handle database exceptions

2006-11-12 Thread forumer
Seam 1.0.1.GA with JBoss-4.0.4.CR2

I am getting JDBC exceptions, probably, because of legitimate reason like 
violating a constraint by attempting to delete an entity that belongs to 
another. Ideally, I'd like to show the user an appropriate message to this 
effect. I'd appreciate any advice on this. How can I even infer such a cause 
(for failure to commit) from the exceptions I am seeing below.

Thanks


  | 
  | 09:22:29,980 INFO  [FleetManagerAdminBean] removed User Group=usergroup_id=1
  | name=My Fleet
  | 
  | 09:22:29,980 INFO  [FleetManagerAdminBean] removed User Group=usergroup_id=1
  | name=My Fleet
  | 
  | 09:22:29,990 DEBUG [Naming] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.j
  | np.interfaces}
  | 09:22:29,990 DEBUG [SeamExtendedManagedPersistencePhaseListener] committing 
transaction after phase: INVOKE_APPLICATION(5)
  | 09:22:29,990 DEBUG [Naming] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.j
  | np.interfaces}
  | 09:22:30,000 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
  | 09:22:30,000 ERROR [JDBCExceptionReporter] failed batch
  | 09:22:30,000 ERROR [AbstractFlushingEventListener] Could not synchronize 
database state with session
  | org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch 
update
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:249)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:144)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:988)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:337)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:473)
  | at 
org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1488)
  | at 
org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1107)
  | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:321)
  | at org.jboss.tm.TxManager.commit(TxManager.java:239)
  | at 
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
  | at 
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.commitOrRollback(SeamExtendedManagedPersistencePhaseListener.java:87)
  | at 
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.afterPhase(SeamExtendedManagedPersistencePhaseListener.java:52)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersAfter(LifecycleImpl.java:536)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:318)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
  | 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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
  | at 

[jboss-user] [Beginners Corner] - Re: problem with classloader repository

2006-11-12 Thread genman
You can use the same name for both your .war and another .war loader repository 
and they will share classes.


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

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


[jboss-user] [Management, JMX/JBoss] - Re: JMX notification

2006-11-12 Thread genman
A JMX notification will always be emitted; the interesting question is when 
will it be heard?

The JMX spec should explain all this.

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

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


[jboss-user] [JBoss Seam] - Is there an RSS/Atom Feed for this forum?

2006-11-12 Thread mraible
Is there an RSS/Atom Feed for this forum?

Thanks,

Matt

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

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


[jboss-user] [Beginners Corner] - Re: SOA Architectures

2006-11-12 Thread genman
SOA doesn't require things like ESB or BPM. It's a more simple idea than 
that. A plug-in to Sendmail might be one way to implement a SOA.

This Wiki artical defines SOA pretty well: 
http://en.wikipedia.org/wiki/Service-oriented_architecture

I don't believe physical versus logical layers are how the architecture is 
described.

JBoss's product suite, including JBPM and ESM, can help in executing an SOA. 
But you can just as easily implement an SOA by providing web services (i.e. 
SOAP or HTTP) using the basic JBossAS. Those products are just there to help 
you write a better SOA.


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

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


[jboss-user] [Beginners Corner] - Re: Using JBoss as application server getting time outs

2006-11-12 Thread genman
I'm guessing this is not an issue with JBoss but perhaps your network, i.e. if 
you ran Jeti outside of JBoss you'd have the same issues.

As to what JBoss can provide: It does have a way to get a stack tracee, so you 
should be able to monitor this thread.

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

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


[jboss-user] [Management, JMX/JBoss] - More thatn one MBeanServer

2006-11-12 Thread Anvar
Is there any possibility of existence of more than one MBeanServer in a JVM 
process.

Thanks.

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

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


[jboss-user] [JCA/JBoss] - Re: DataSource and connection pool

2006-11-12 Thread vitor_b
Hello

Thank you for your reply. I've found an MBean registered with:

jboss.jca:name=XAOracleDS,service=ManagedConnectionPool 

where XAOracleDS is a jndi name of my DataSource. There are information I was 
looking for.

Thanks again.

vitor_b

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

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


[jboss-user] [Clustering/JBoss] - Re: Load balancing for stateless session bean?

2006-11-12 Thread [EMAIL PROTECTED]
Yes, if you are running the all config.  Just add clusteredtrue/clustered 
to the bean's descriptor in jboss.xml.  The client proxy you download from JNDI 
will transparently support load balancing and failover.

See the clustering chapter in the Application Server Guide.

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad example uploaded to wiki

2006-11-12 Thread [EMAIL PROTECTED]
This is because validation is failing in the Hibernate layer, instead of the 
Seam layer. You need the constraints to be enforced by s:validate/.

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

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


[jboss-user] [JBoss Seam] - Re: Abstract components, EL and auto-instantiation

2006-11-12 Thread [EMAIL PROTECTED]
anonymous wrote : @Unwrap has problems with ClassCastException's since the 
unwrapped object is a different class to the component.

What do you mean? Pete's code was perfectly correct.

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

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


[jboss-user] [JBoss Seam] - Re: How to handle database exceptions

2006-11-12 Thread [EMAIL PROTECTED]
If you are using Seam 1.1, I advise using exceptions.xml.

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

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


[jboss-user] [JBoss jBPM] - creating n tasks in a workflow

2006-11-12 Thread il121
Hello,

I would like to know if there is a chance to create n tasks dynamically in 
jbpm. I mean I need a mechanism that is capable of running n parallel threads 
(of the same task) where n is not a constant and can only be determined at 
run-time. 

Is JPDL is strong enough to express such a pattern (this would be the best) or 
am I able to handle this somehow through the API? 

Thank you in advance!

Laszlo Illes

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad example uploaded to wiki

2006-11-12 Thread alpheratz-jb
Thanks, Gavin.

I modified the inputText tags in 'register.xhtml' as follows.

From:


  | table border=0
  | s:validateAll
  |   ...
  |  tr
  |tdPassword/td
  |tdtr:inputText value=#{user.password} secret=true
  |required=true
  |requiredMessageDetail=Must enter a password /td
  |  /tr
  | /s:validateAll
  |  /table
  | 

To:


  | table border=0
  | ...
  |  tr
  |tdPassword/td
  |tdtr:inputText value=#{user.password} secret=true
  |required=true
  |requiredMessageDetail=Must enter a password
  |s:validate /
  | /tr:inputText/td
  |  /tr
  |  /table
  | 

This works as expected (many thanks).

It leaves me a bit puzzled, however...the doco says that s:validateAll 
...simply adds an s:validate to every input in the form.  The doco seems to 
lead one away from using s:validate.

Is Tridindad forcing special handling (or what...)? Could you clarify for me, 
please.

Cheers,

Alph

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

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


[jboss-user] [JBossWS] - Re: wscompile - Restricted base='xsd:string' mapping issue

2006-11-12 Thread zarzar
I'm also having the same simple type restriction problem on jboss-4.0.5.GA with 
code generated by wstools on a doc/literal wsdl.

I found an article on the wiki on annotations. 
  http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossXB_JBXBAnnotations
The jbxb:value section shows how to specify you own marshalling and 
unmarshalling code. But I'm not sure if this is implemented yet. It didn't work 
for me.

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

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


[jboss-user] [JBoss jBPM] - hooking JBPM to know when processes and tasks are created/st

2006-11-12 Thread il121
Hello Everyone,

I should log the lifecycle of jpbm processes and tasks (when they are created, 
started and finised). I know that jbpm is able to log these events into its own 
log, but I have also my own log:)

Is there a general way to do this?

Thank you!

Laszlo Illes

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

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


[jboss-user] [Clustering/JBoss] - Re: jgroups tcp_nio configuration

2006-11-12 Thread [EMAIL PROTECTED]
Can you create a JIRA issue and attach your config and exact description how to 
reproduce this to it ?
The JIRA for JGroups is at
http://jira.jboss.com/jira/browse/JGRP

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

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


[jboss-user] [EJB 3.0] - Mapping Exception for subclass with inherited composite key

2006-11-12 Thread JLuv
I'm getting the error below for what I believe to be a valid mapping.  Am I 
doing something wrong?  Any ideas?

org.hibernate.MappingException: Foreign key 
(FKFA49A91FAB488FB6:billing_document_lines [line_number])) must have same 
number of columns as the referenced primary key (document_lines 
[line_number,document_id])

Here's the code:

BillingDocument.java

  | package document;
  | 
  | import javax.persistence.Entity;
  | import javax.persistence.Table;
  | 
  | @Entity
  | @Table(name = billing_documents)
  | public class BillingDocument extends Document {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | }
  | 


BillingDocumentLine.java

  | package document;
  | 
  | import javax.persistence.Entity;
  | import javax.persistence.Table;
  | 
  | @Entity
  | @Table(name = billing_document_lines)
  | public class BillingDocumentLine extends DocumentLine {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | public BillingDocumentLine(BillingDocument document, short lineNumber) {
  | super(document, lineNumber);
  | }
  | 
  | BillingDocumentLine() {
  | }
  | 
  | }
  | 


Document.java

  | package document;
  | 
  | import java.io.Serializable;
  | 
  | import javax.persistence.Column;
  | import javax.persistence.Id;
  | import javax.persistence.Entity;
  | import javax.persistence.Inheritance;
  | import javax.persistence.InheritanceType;
  | import javax.persistence.Table;
  | 
  | @Entity
  | @Table(name = documents)
  | @Inheritance(strategy = InheritanceType.JOINED)
  | public abstract class Document implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | protected String documentID;
  | 
  | protected Document() {
  | }
  | 
  | protected Document(String documentID) {
  | setDocumentID(documentID);
  | }
  | 
  | @Override
  | public int hashCode() {
  | final int PRIME = 31;
  | int result = 1;
  | result = PRIME * result
  | + ((documentID == null) ? 0 : 
documentID.hashCode());
  | return result;
  | }
  | 
  | @Override
  | public boolean equals(Object object) {
  | if (object instanceof Document) {
  | final Document document = (Document) object;
  | if (documentID != null) {
  | return documentID.equals(document.documentID);
  | }
  | }
  | return false;
  | }
  | 
  | @Override
  | public String toString() {
  | return documentID;
  | }
  | 
  | @Id
  | @Column(name = document_id)
  | public String getDocumentID() {
  | return documentID;
  | }
  | 
  | protected void setDocumentID(String documentID) {
  | this.documentID = documentID;
  | }
  | }
  | 


DocumentLine.java


  | package document;
  | 
  | import java.io.Serializable;
  | 
  | import javax.persistence.EmbeddedId;
  | import javax.persistence.Entity;
  | import javax.persistence.Inheritance;
  | import javax.persistence.InheritanceType;
  | import javax.persistence.Table;
  | 
  | @Entity
  | @Table(name = document_lines)
  | @Inheritance(strategy = InheritanceType.JOINED)
  | public abstract class DocumentLine implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | protected DocumentLinePK primaryKey;
  | 
  | protected DocumentLine(Document document, short lineNumber) {
  | setPrimaryKey(new DocumentLinePK(document, lineNumber));
  | }
  | 
  | protected DocumentLine() {
  | }
  | 
  | @Override
  | public int hashCode() {
  | final int PRIME = 31;
  | int result = 1;
  | result = PRIME * result
  | + ((primaryKey == null) ? 0 : 
primaryKey.hashCode());
  | return result;
  | }
  | 
  | @Override
  | public boolean equals(Object object) {
  | if (object instanceof DocumentLine) {
  | final DocumentLine documentLine = (DocumentLine) object;
  | if (primaryKey != null) {
  | return 
primaryKey.equals(documentLine.primaryKey);
  | }
  | }
  | return false;
  | }
  | 
  | @Override
  | public String toString() {
  | return primaryKey.toString();
  | }
  | 
  | @EmbeddedId
  | public DocumentLinePK getPrimaryKey() {
  | return primaryKey;
  | }
  | 
  | protected void setPrimaryKey(DocumentLinePK primaryKey) {
  | this.primaryKey = primaryKey;
  | }
  | }
  | 


DocumentLinePK.java

  | package document;
  | 
  | import java.io.Serializable;
  | 
  | import javax.persistence.Column;
  | import javax.persistence.Embeddable;
  | import 

[jboss-user] [JBoss Seam] - Logger in page-scoped component, NPE in post-back.

2006-11-12 Thread tazo
I have page-scoped seam-component with @Logger field and i'm getting NPE then i 
use logger during jsf post-backs. After debugging i found what log field of 
LogImpl which is transient does not restored after object deserialization, 
readObject method of this class is not called.

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

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


[jboss-user] [Performance Tuning] - Slow remote database connection

2006-11-12 Thread doktora
I have always used postgresql on the localhost, which was also running JBoss.

I have moved the DB to a separate computer on the LAN (gigabit), so now JBoss 
connects via port 5432 (default tcp/ip for postgresql).

It is performing terribly slow when fetching data from the remote DB.

If I connect from the localhost to the remote DB directly via psql -h , I can 
run the query faster by hand and get the results before JBoss comes around. So 
I believe the problem is in JBoss/Hibernate and not in my network.

Has anyone experienced this? Where do I begin to look in order to find this 
bottleneck?

I'm running the following config:

Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA 
date=200605151000)
Java VM: Java HotSpot(TM) Server VM 1.5.0_06-68,Apple Computer, Inc.
OS-System: Mac OS X 10.4.8,i386
Postgresql 8.1.5 (built from source)

I'm running a single (non-clustered) instance of JBoss with EJB 3.0.

-- Dok

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

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


[jboss-user] [Beginners Corner] - Re: Getting Started Tutorial Needs Updating

2006-11-12 Thread bobufuller30004
Numerous people have submitted specific problems with the tutorial on this and 
other forums. I'm not going to waste my time pointing them out yet again. The 
tutorial is simply out of date. Someone from JBoss needs to update it and the 
supporting code to work with the latest JBoss AS and Duke's Bank software. 


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

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


[jboss-user] [Performance Tuning] - Re: No ManagedConnections available within configured blocki

2006-11-12 Thread bilange
Did you ever find what the issue is/was?
I'm seeing the same problem with Postgres...

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

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


[jboss-user] [JBoss Portal] - Question abotu struts portlet

2006-11-12 Thread littlefish
i am following struts-demo-for-jboss-portal to build and develop a sample of 
struts portlet, but there is a warning, and can't render the content of 
portlet. an anyone tell me how to config and develop a struts portlet?

WARN  [InstanceMetaData] The instance LoginPortletInstance will not be created 
because the component referenced is outside of the same web app 
strutsportlet.LoginPortletDemo

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

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


[jboss-user] [EJB 3.0] - Re: Problems accessing jndi from war (not embedded in ear)

2006-11-12 Thread [EMAIL PROTECTED]
hi i used the installer as well to take advantage of ejb3 and im having the 
same ClassCastException when narrowing. Have you been able to solve this?

Thanx

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

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


[jboss-user] [EJB 3.0] - Re: Problems accessing jndi from war (not embedded in ear)

2006-11-12 Thread [EMAIL PROTECTED]
i found a way around it, and it was a change to the way I initizlied my jndi 
context.

before i was doing:
  Properties p = new Properties();
  p.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  p.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces);
  p.put(Context.PROVIDER_URL, jnp://localhost:1099);
  return new InitialContext(p);

now i just simply returned new InitialContext() without the properties.

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

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


[jboss-user] [JBoss Seam] - Gotchas (so far)

2006-11-12 Thread [EMAIL PROTECTED]
Excellent Framework.. got going very fast!


Issues with SEAM (Or facelets etc.)

1. Having a commented out section in a .xhtml file still gets processed! That  
was confusing!

2. Cannot have a javascript nugget to close the window. it just gets ignored.

  | tr
  |  td class=right
  | input type=button value=Logout 
onclick=javascript:window.close();alert('hi');/
  | /td
  | /tr
  | 

3. Cannot have a back or cancel button on a screen that has validation as 
there is no-way that I can find to side-step the validation.

4.Running 1.0.1. on the latest JBoss.. must turn off 

  | property name=myFacesLifecycleBugfalse/property
  | 
to remove startup exception

5. No examples on how to use the cool MyFaces widgets like Tree or any of the 
ADF widgets.

6. When a sesion times out I get a 

  | 16:49:56,978 WARN  [Contexts] Could not destroy component: 
zoneSubscriptionManager
  | javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 
g4c1140-vg3lsk-eugakr48-1-eugb4i5c-d
  | at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:268)
  | 
No idea why, but no side effects (that I can see yet).

Seam looks very promising.

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

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


[jboss-user] [JBoss Portal] - Layout for page NOT OVERWRITE layout for portal

2006-11-12 Thread avd
I use jboss-portal 2.6.0 DR1 and JBOSS 4.0.4.GA.
I created my own layout based on generic layout.
In admin HTMP page I assigned my layout to page dafault/default 
however browser still displayed generic layout (assigned to portal 
level).
Only when I assigned my layout to the default portal browser
displayed my new layout.
The same behavior is observed for themes.
Is this a bug?

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

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


[jboss-user] [JBoss Portal] - Re: Calling UserModule service

2006-11-12 Thread rashmi_setty
As i have metioned it is not portal application.It is just simple JSF 
application.I am not using Portlet.
Can anybody tell me how to open JTA transaction before calling UserModule

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: IllegalArgumentException

2006-11-12 Thread [EMAIL PROTECTED]
have u guys solved this one? I'm having the same problem with 4.0.5GA

Thanx

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad example uploaded to wiki

2006-11-12 Thread [EMAIL PROTECTED]
Actually s:validateAll/ adds an s:validate/ to every instance of UIInput in 
the tree. If the trinidad inputText is not a UIInput, then it will be missed.

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

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


[jboss-user] [JBoss Seam] - Re: Logger in page-scoped component, NPE in post-back.

2006-11-12 Thread [EMAIL PROTECTED]
Right, you should not declare the Log field transient, it is injected at bean 
instantiation time, logging has nothing to do with Seam bijection!

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

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


[jboss-user] [JBoss Seam] - Re: Gotchas (so far)

2006-11-12 Thread [EMAIL PROTECTED]
1. I think this is normal in facelets.

2. Why on earth not? I'm sure you are mistaken.

3. Not correct, just put the button outside the f:form/ element that has the 
validation. (This is standard JSF, nothing to do with Seam.)

4. Yes, this is normal, and is the default in recent (1.1.0.BETA) releases of 
Seam. That's why the getting started guide says use JBoss 4.0.4 with Seam 1.0.1.

5. We absolutely do not recommend the use of MyFaces tomahawk stuff with Seam, 
we have found this stuff to be extremely fragile, buggy and generally low 
quality. We will have examples of Trinidad as soon as there is an actual 
Trinidad release available (there is already an example on the Wiki).

6. The problem here is that the default SFSB timeout is longer than the default 
session timeout in JBoss. Bill promises me he will fix this.

By the way, if you are not going into production in the next month, I strongly 
recommend 1.1.0.BETA2 over of 1.0.1.GA. A *lot* of good work has been done in 
the past few months.


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

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


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

2006-11-12 Thread davidrh
I have made the changes suggested and patched them into my 1.0.1.GA deployment. 
 The classes that I needed to change were:


  | org.jboss.jms.client.container.ConsumerAspect
  | org.jboss.jms.client.remoting.CallbackManager
  | org.jboss.jms.server.endpoint.ClientDelivery
  | org.jboss.jms.server.endpoint.ServerConsumerEndpoint
  | 
  | 
  | I have re-tested with my original test case and it seems to work.  If I put 
the code back in to close the server1 connection on an exception, then server 2 
logs the warning:
  | 
  |   | 15:47:08,828 WARN  [SimpleConnectionManager] A problem has been 
detected with the connection to remote client 
4h39k3q-6gtwyu-eugdls00-1-eugdlu2o-9. It is possible the client has exited 
without closing its connection(s) or there is a network problem. All connection 
resources corresponding to that client process will now be removed.
  |   | 
  | and my server2 producer is unable to send a message, so there is still some 
sort of interaction occurring. Attempting to close the connection on an error 
does seem to be the reasonable thing to do, so that the messaging client has a 
chance to clean up any loose ends.
  | 
  | If you don't close the session and/or connection, the client application 
keeps logging the message:
  | 
  |   | 2006-11-13 15:51:00,515 WARN org.jboss.remoting.LeasePinger - Error 
sending lease ping to server for client invoker (session id 
4h39k3q-524pp9-euge7ah3-1-euge7biu-5.
  |   | 
  | every 30 seconds or so.

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

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


[jboss-user] [JBoss Portal] - using opensso security product with jboss portal 2.4

2006-11-12 Thread moj_sham
Hi, 

I am new to JBOSS Portal and need your help to resolve my problem. We are using 
Jboss Portal 2.4 for portal and using opensso product for the security layer 
(for user authentication and authorization). 

portal url with /auth/* is protected by opensso product. Now when ever user 
clicks on the protected url i.e url that contains /auth string opensso 
redirects the user to a loginscreen for authentication and after sucessful 
authentication it redirects to the user requested page. During this redirection 
opensso sends the userid that was authenticated as the request header 
attribute. 

Now my question here is, 
In the request header I have a userid that is already authenticated by the 
opensso security product but for the portal the user is still unauthenticated. 
How can I authenticate the user into the portal without asking the portal user 
to submit the portal login screen. 

Can any one provide solution or hooks available in jboss portal to resolve this 
problem. 

Thanks 
Manoj 



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

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


[jboss-user] [Security JAAS/JBoss] - using opensso security product with jboss portal 2.4

2006-11-12 Thread moj_sham
Hi,

I am new to JBOSS Portal and need your help to resolve my problem. We are using 
Jboss Portal 2.4 for portal and using opensso product for the security layer 
(for user authentication and authorization).

portal url with /auth/* is protected by opensso product. Now when ever user 
clicks on the protected url i.e url that contains /auth string opensso 
redirects the user to a loginscreen for authentication and after sucessful 
authentication it redirects to the user requested page. During this redirection 
opensso sends the userid that was authenticated as the request header attribute.

Now my question here is,
In the request header I have a userid that is already authenticated by the 
opensso security product but for the portal the user is still unauthenticated. 
How can I authenticate the user into the portal without asking the portal user 
to submit the portal login screen.

Can any one provide solution or hooks available in jboss portal to resolve this 
problem.

Thanks 
Manoj

 

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

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


[jboss-user] [EJB 3.0] - Re: Persistence Unit NOTYETINSTALLED

2006-11-12 Thread straiver
I have troubles with Persistence unit too:
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- 
  | ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS 
  | State: NOTYETINSTALLED 
  | Depends On Me: 
  | jboss.ejb:service=EJBTimerService,persistencePolicy=database 
  | jboss.mq:service=StateManager 
  | jboss.mq:service=PersistenceManager 
  | 
  | ObjectName: persistence.units:jar=ru.srpu.jtest.dao.jar,unitName=jtests 
  | State: FAILED 
  | Reason: org.hibernate.MappingException: Unable to find column with logical 
name: id in org.hibernate.mapping.Table(Test) and its related supertables and 
secondary tables 
  | I Depend On: 
  | jboss.jca:service=ManagedConnectionFactory,name=MySqlDS 
  | Depends On Me: 
  | jboss.j2ee:jar=ru.srpu.jtest.dao.jar,name=UserBean,service=EJB3


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

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


[jboss-user] [JBoss Seam] - Re: Trinidad example uploaded to wiki

2006-11-12 Thread alpheratz-jb
Understood...thanks Gavin. I believe that tr:input* / are UIComponents.

The feeling I get here is: only use standard JSF for form 
components/validation.

Maybe something should go in the doco regarding this, especially since Trinidad 
is now mentioned explicitly (ch 16):

anonymous wrote : 
  | Seam includes a number of JSF controls that are useful for working with 
Seam. These are intended to complement the built-in JSF controls, and controls 
from other third-party libraries. We recommend the Ajax4JSF and ADF faces (now 
Trinidad) tag libraries for use with Seam. We do not recommend the use of the 
Tomahawk tag library.
  | 

Sorry for being such a nag.

Cheers,

Alph

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

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


[jboss-user] [JBoss Seam] - Re: @SelectItems / EntityConverter Bug

2006-11-12 Thread sbublava
Thanks for investigating. The new design looks great, btw.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - virtual-host not mapping to multiple services in server.xml

2006-11-12 Thread jek5522
I have set up a second service in server.xml 


  |  Service name=jboss2.web
  |   className=org.jboss.web.tomcat.tc5.StandardService
  | 
  |   !-- A HTTP/1.1 Connector on port 8080 --
  |   Connector port=8085 address=${jboss.bind.address}
  |  maxThreads=250 strategy=ms maxHttpHeaderSize=8192
  |  emptySessionPath=true
  |  enableLookups=false redirectPort=8443 acceptCount=100
  |  connectionTimeout=2 disableUploadTimeout=true/
  | 
  | 
  |   Engine name=jboss2.web defaultHost=localhost2
  | 
  |  Realm 
className=org.jboss.web.tomcat.security.JBossSecurityMgrRealm
  | 
certificatePrincipal=org.jboss.security.auth.certs.SubjectDNMapping
  | allRolesMode=authOnly
  | /
  | 
  | 
  | Host name=localhost2
  |autoDeploy=false deployOnStartup=false deployXML=false
  |
configClass=org.jboss.web.tomcat.security.config.JBossContextConfig
  |
  | 
  | Valve 
className=org.jboss.web.tomcat.tc5.jca.CachedConnectionValve
  | 
cachedConnectionManagerObjectName=jboss.jca:service=CachedConnectionManager
  | 
transactionManagerObjectName=jboss:service=TransactionManager /
  | 
  |  /Host
  | 
  | Host name=tester
  |autoDeploy=false deployOnStartup=false deployXML=false
  |
configClass=org.jboss.web.tomcat.security.config.JBossContextConfig
  | 
  | 
  | Aliascms.d6einc.com/Alias
  | 
  | /Host 
  | 
  |   /Engine
  | 
  |/Service


In my jboss-web.xml I have added the following


  | ?xml version=1.0 encoding=UTF-8?
  | jboss-web
  | 
security-domainjava:/jaas/CompanyManagementSystemSecurity/security-domain
  | context-root//context-root 
  | virtual-hostcms.d6einc.com/virtual-host 
  | /jboss-web
  | 

and when the application is deployed  i get an error saying failed to map 
vhost cms.d6einc.com.  I have tried using both cms.d6einc.com and tester as 
the virtual-host element but end up with the same error both way.

Any ideas?

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

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


[jboss-user] [JBoss Seam] - Re: Base is null Error.

2006-11-12 Thread xterm
Dear petemuir,

Adding seam.properties to the root of the ejb archive has fixed my problem. 
Thank you.

I left this file out of the archive since i saw the content was commented out 
(When i generated the seam application using Hibernate Tools).

I still however, dont understand why seam would check for this file even if 
there's no content to be parsed.

Regards,

x

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

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


[jboss-user] [JBoss Seam] - Re: Base is null Error.

2006-11-12 Thread [EMAIL PROTECTED]
Because Java provides no way to scan for classes in the classpath (this is a 
JVM limitation), but *does* provide a way to ask for all resources with a 
particular name.

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

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


[jboss-user] [Installation, Configuration Deployment] - Building errors with script language

2006-11-12 Thread jzhuqlfeixia
Hello, bodies

I'm newly in ANT, as I can't find ANT's offical forums, I put my question here, 
hoping somebody could help me.

I use script language in my compas-ant.xml, below is my codes:


  | target name=jar_iterator
  | script language=beanshell 
  | ![CDATA[
  | String path=project.getProperty( compasEARlocation ) + /jars;
  | File jarsDir = new File( path );
  | String[] jars = jarsDir.list(); //all the subdirs containing the expanded 
jars
  | for( i=0; i  jars.length; i++ ){
  | print( Loading  + jars + ... );
  | 
  | // launches the manifest task that updates the original manifest with the 
compas-proxies.jar class-path entry
  | manifestUpdater=project.createTask( manifest );
  | manifestUpdater.setFile( new File(path + / + jars + 
/META-INF/MANIFEST.MF) );
  | org.apache.tools.ant.taskdefs.ManifestTask.Mode mode = new 
org.apache.tools.ant.taskdefs.ManifestTask.Mode();
  | mode.setValue( update );
  | manifestUpdater.setMode( mode );
  | org.apache.tools.ant.taskdefs.Manifest.Attribute clsPath = new 
org.apache.tools.ant.taskdefs.Manifest.Attribute( Class-Path, 
compas-proxies.jar jboss_adaptor.jar );//weblogic_adaptor.jar 
websphere_adaptor.jar
  | manifestUpdater.addConfiguredAttribute( clsPath );
  | manifestUpdater.execute();
  | 
  | // creates the jar task and adds it to the repackJARs target
  | jarer = project.createTask( jar );
  | repackJARs.addTask( jarer );
  | jarer.setDestFile( new File(path + / + jars + .jar) );
  | jarer.setBasedir( new File(path + / + jars) );
  | jarer.setManifest( new File(path + / + jars + /META-INF/MANIFEST.MF) );
  | }
  | ]]
  | /script
  | 
  | /target
  | 

Here is error-messages after build:

  | [java] BUILD FAILED
  | [java] file:E:/compas/scripts/compas-ant.xml:163: Could not create task or
  | type of type: script.
  | 
  | [java] Ant could not find the task or a class this task relies upon.
  | 
  | [java] This is common and has a number of causes; the usual
  | [java] solutions are to read the manual pages then download and
  | [java] install needed JAR files, or fix the build file:
  | [java] - You have misspelt 'script'.
  | [java] Fix: check your spelling.
  | [java] - The task needs an external JAR file to execute
  | [java] and this is not found at the right place in the classpath.
  | [java] Fix: check the documentation for dependencies.
  | [java] Fix: declare the task.
  | [java] - The task is an Ant optional task and optional.jar is absent
  | [java] Fix: look for optional.jar in ANT_HOME/lib, download if needed
  | [java] - The task was not built into optional.jar as dependent
  | [java] libraries were not found at build time.
  | [java] Fix: look in the JAR to verify, then rebuild with the needed
  | [java] libraries, or download a release version from apache.org
  | [java] - The build file was written for a later version of Ant
  | [java] Fix: upgrade to at least the latest release version of Ant
  | [java] - The task is not an Ant core or optional task
  | [java] and needs to be declared using taskdef.
  | 
  | [java] Remember that for JAR files to be visible to Ant tasks implemented
  | [java] in ANT_HOME/lib, the files must be in the same directory or on the
  | [java] classpath
  | 

BTW, I have used ANT 1.5.4 / 1.6.5 / 1.7.0Beta3 instead, but none of them 
seemed sucess.
And optional.jar, mentioned above, already add to my lib path.

Waiting for some suggestion, thank you.


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

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


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

2006-11-12 Thread sbublava
One minor glitch: SelectItemsComponentHandler imports 
org.jboss.cache.CacheException, which causes a java.lang.NoClassDefFoundError 
exception when Facelets loads the tag library unless JBoss Cache is available.

Maybe could change the catch clauses to Exception or at least mention this 
requirement in the documentation.

Thanks,
Stephan


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

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


[jboss-user] [JBoss Seam] - Re: Base is null Error.

2006-11-12 Thread xterm
Thank you sir.

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

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


[jboss-user] [Clustering/JBoss] - Re: Is it possible to execute Petstore demo in cluster mode?

2006-11-12 Thread mp123
Hello,
  Thanks for your reply.
  
  Actually, I have run the two servers named node1 and node2 with Apache modjk 
load balancer by keeping node1 as the main node and it only bound the 
queue/order and queue/mail.

I have did the below modification in both the server machines node1 as well as 
node2.

I have copied the jndi.properties file from JBOSS_HOME/server/node1/conf/ 
path and copied to JBOSS_HOME/server/node1/lib/ path and with the following 
modifications.

  | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=node1-ipaddress:1100, node2-ip address.:1100
  | 

And, the lookup of queue is taken place in the application as follows.

In the file, 
PETSTORE_HOME/xpetstore-ejb/java/xpetstore/util/JMSUtil.java

  |  ic = new InitialContext(  );
  | 
  | Queue queue = ( Queue ) ic.lookup( queueName );
  | 
  | QueueConnectionFactory factory = ( QueueConnectionFactory ) 
ic.lookup( JNDINames.QUEUE_CONNECTION_FACTORY );
  | cnn = factory.createQueueConnection(  );
  | 

While running the application, all the transaction is done by node1 till 
clicking the Submit button for sending mail to user. When I hit the submit 
button, the transaction goes to the second node node2 in which the queue is not 
bound.

1. While two server is running, the sending of mail is not done and error comes 
as shown my post above.
2. If any of one node is down, its automatically bound the queue and running 
the petstore application successfully.

My problem is, the application should run successfully when all the nodes in 
the cluster are active.

Please help me.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS Queue Error on Petstore demo run under Cluster mode

2006-11-12 Thread mp123
Hello,

Actually, I have run the two servers named node1 and node2 with Apache modjk 
load balancer by keeping node1 as the main node and it only bound the 
queue/order and queue/mail. 

I have did the below modification in both the server machines node1 as well as 
node2. 

I have copied the jndi.properties file from JBOSS_HOME/server/node1/conf/ 
path and copied to JBOSS_HOME/server/node1/lib/ path and with the following 
modifications. 
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | 
  | java.naming.provider.url=node1-ipaddress:1100, node2-ip address.:1100


And, the lookup of queue is taken place in the application as follows. 

In the file, 
PETSTORE_HOME/xpetstore-ejb/java/xpetstore/util/JMSUtil.java 

 ic = new InitialContext(  );
  | Queue queue = ( Queue ) ic.lookup( queueName );
  | QueueConnectionFactory factory = ( QueueConnectionFactory ) 
ic.lookup( JNDINames.QUEUE_C
  | ONNECTION_FACTORY );
  | cnn = factory.createQueueConnection(  );


While running the application, 
 all the transaction is done by node1 till clicking the Submit button for 
sending mail to user. When I hit the submit button, the transaction goes to the 
second node node2 in which the queue is not bound. 

1. While two server is running, the sending of mail is not done and error comes 
as shown my post above. 
2. If any of one node is down, its automatically bound the queue and running 
the petstore application successfully. 

My problem is, the application should run successfully when all the nodes in 
the cluster are active. 

Please help me.


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

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


[jboss-user] [Security JAAS/JBoss] - JSF Form Authentication using DatabaseServerLoginModule

2006-11-12 Thread yj4jboss
Hi all,
I am developing an application using the following Seam 1.0.1.GA, 
Hibernate, Facelet, Ajax 


I have managed to get the DatabaseServerLogin Module working with FORM based 
Authentication. The only problem is that i need a Facelet/JSF compatible form 
(which is composed of a template) to do the submission for j_username and 
j_password to the DatabaseServerLoginModule.

Any idea of how to implement this.


Regards,
Jankee Yogesh
http://www.m-itc.net


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Building errors with script language

2006-11-12 Thread jaikiran
Havent done this myself before, but here's what i could find which might be 
helpful:

http://ant.apache.org/manual/OptionalTasks/script.html

It does mention that:

anonymous wrote : Note: This task depends on external libraries not included in 
the Ant distribution. See Library Dependencies for more information.



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

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


[jboss-user] [Beginners Corner] - Re: Logging question: how to do 'local' and 'global' logging

2006-11-12 Thread marcus.klein
Hi,

thank you for the hint, and sorry for the late answer (I was on vacation), but 
isn't there a way to get a handle to the 'global' logger in the log4j.xml 
configuration file, so that I am able to specify that some mesages are logged 
to my 'local' logfile while others are still logged to the 'global' logfile. 

In case I misunderstand something please go into more detail.

Your help would be appreciated.



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

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


[jboss-user] [EJB 3.0] - Re: JBoss Unified ClassLoader Hell? even with EJB3 ?

2006-11-12 Thread xnuandax
Thanks guys - no luck tho - trying two EAR deployments sounded hopeful (with 
one EAR just being a skin for the WAR) - surely that would give classloader 
isolation!?!?   However even with settings for Pass-by-Value everywhere, using 
isolated loader-repositories in the jboss-app.xml's, trying 
java2ParentDelegation=false , ensuring Serializable and serialVersionUID set, 
etc. all it would give when I tried to cast the remote object retrieved via 
JNDI back into the original interface was the ClassCastException that I have 
now seen more times than I've had hot breakfasts.  JBoss simply will not 
marshall/unmarshall the object as its passes between archives as it is supposed 
to.

So I have had to relent and just package the WAR inside the original EAR, where 
the code instantly works (of course).   JBoss classloader is hereby victorious 
over me... if I try tangling with that evil [EMAIL PROTECTED] classloader again 
I will involve a priest and copious amounts of holy water.


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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: problem start/stop remote jboss server inside JBoss IDE

2006-11-12 Thread Legeres
The topic:

http://www.jboss.com/index.html?module=bbop=viewtopict=89182

anonymous wrote : There is no implemented way to do any of the following: 
  | - find a remote server 
  | - start a remote server 
  | - stop a remote server 
  | - copy a file to a remote server 
  | - twiddle a remote server 
  | - create a remote server 
  | - talk to an already-in-existance remote server 
  | 
  | 
  | In short... if its not on your machine, it does not exist. 

solves my current problem. for me it's a little bit confusiong why i need a 
ip-addresse turing setup for a new server?

Legeres

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

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


[jboss-user] [JBoss Seam] - Re: Base is null Error.

2006-11-12 Thread fady.matar
Gavin, what if you embed the seam.properties file within jboss-seam.jar and 
leave it blank, then the users would update it in their application (override) 
if required?

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

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