[jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem

2006-07-17 Thread roberto
I try to change FORM authentication to BASIC in web xml, and now it works. But 
i need to use FORM authentication.

What this means? i need to do additional operation in my code or there is a bug 
or is not supported ?

Best Regards,
Roberto

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

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


[jboss-user] [JBoss Portal] - Re: download non-html file from portlet

2006-07-17 Thread hubertg
Ok, I will try that! Thanks for the quick answer!

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

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


[jboss-user] [Beginners Corner] - Some Queries

2006-07-17 Thread manishpaliwal007
Hi,

I am manish from delhi. I am new for JBoss. I want to know some queries about 
JBoss which are given below :-
   
  1. Can i use JSF in JBOSS?

  2. Is JBOSS suitable for an Enterprise Applicaion. I mean to say that if i 
build an Online Business Managment Applicaion using Servlet/JSP/JSF/EJB and 
more J2EE tools. Then is can be run easliy on this Application Server?

  3. What are the drawback of JBoss?
  
 

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Using j_security_check with a custom Principal , a custo

2006-07-17 Thread emailmsgbox
Yes it did, 
thanks

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

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


[jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security

2006-07-17 Thread ramazanyich
did you do all steps ?
did you get latest version from SVN, build it and deployed it to your JBOSS 
instance?
Did you add @HandlerChain annotation to your class?

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

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


[jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks)

2006-07-17 Thread antitrust1982
hello,

If I understand well you want to create a task for few poeple who have some 
different roles. In order to do this you can use in your process model the 
swimlane which permit you to define a specific role to a task and put some 
poeple who can execute this task. I'm putting the link in order to see you what 
is it specialy. 

http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html#swimlanes

I hope I help you

antitrust1982 

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

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


[jboss-user] [JBoss Seam] - Re: Ajax¤JSF wi th Seam

2006-07-17 Thread [EMAIL PROTECTED]
Yes, i proposed this as the simplest workaround.

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

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


[jboss-user] [JBoss Seam] - Re: Accessing methods inside the view

2006-07-17 Thread denis-karpov
Just make getter:

getAsString();
and use it
#{backingBean.asString}

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

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


[jboss-user] [Management, JMX/JBoss] - Re: SNMP get/set in JBoss 4.0.4 using adventnet mib browser

2006-07-17 Thread pilhuhn
What problem did you encounter and how did you solve it?

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

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


[jboss-user] [JBoss jBPM] - Re: Custom fork - jbpm 3

2006-07-17 Thread s_telios
Yes I managed to do it.
My understanding is that while you are at the fork the child-tokens are not 
'commited' to the database yet and that is the reason of the exceptions.

What I did is that:

One the next task I defined to use a custom assigment:

assignment class='my class that implements an AssignmentHandler/

And in the assign() method of that class I set the actor id:


  | String reviewer = 
(String)executionContext.getContextInstance().getVariable(txtParticipant);
  | assignable.setActorId(reviewer);
  | 


Regards,

Stelios

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

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


[jboss-user] [EJB 3.0] - Deployment problem

2006-07-17 Thread qbacomarch
This is my bean:

package ejbPackage;

import java.util.Collection;
import javax.ejb.Stateless;
import javax.ejb.*;
import javax.annotation.PostConstruct;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless(name=haloBean)
public class haloBean implements ejbPackage.haloRemote {

private int temp;

//@PersistenceContext
//EntityManager em;

/** Creates a new instance of helloBean */
public haloBean() {
}



//public String addTeam(int id,String name, String desc){
//Team tm = new Team(id,name,desc);
//em.persist(em);
//return dodano - ok;
//}

@PostConstruct
public void inicjalizacja(){
this.temp = 10;
//nie wypisuje bo to nie jego konsola :-P
System.out.println(@PostConstruct);
}

public String sayHello(){
   return hello master;
}
public int getTemp(){
return temp;
}

// public Collection getTeam(){
//
//return em.createQuery(from Team t).getResultList();
//}

}

Its run, but when i uncomment it's crasched:

javax.naming.NameNotFoundException: remote not bound

I can't find my remote interface in jmx console (there is only client and bean) 
when the part of code is comment the  interface is visible too.

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

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


[jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks)

2006-07-17 Thread dlipski
Thanks for your help, but swomlines aren't solution to my problem. I have 
problem with assigning transition to task. For example, I have task node with 2 
tasks t1 i t2 and have two transitions from this node: tt1 and tt2. Now, when 
user u1 performs t1 i want to move token through tt1 and when user performs 
task t2 I want to take tt2.

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

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


[jboss-user] [JBossWS] - call WebService jndi

2006-07-17 Thread simona.pricope
Hi,

I need help with calling a web service. I have a staeless bean: MyWebService 
and his JNDI_NAME is ejb/myproject_MyWebServiceLocal

I want to call this web service and I use:
 call.setTargetEndpointAddress(paramSoapUrl), where
 paramSoapUrl = https://localhost:443/axis/services/MyWebService;

I get an exception:
javax.naming.NameNotFoundException: MyWebServiceLocal not bound
at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)

In Browser there is no problem, I can call it using the url:
https://localhost:443/axis/services/MyWebService

Thanks.




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

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


[jboss-user] [Security JAAS/JBoss] - Re: pages with different security domains in one portal

2006-07-17 Thread krupinskir
actually I need some part of my portal to be accessible with user login and 
blank password. Solution doesn't need to be secure.
I can make my own user session scheme, but i'm trying to use jboss mechanisms 
and keep 'security' away from business logic and presentation.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Code Generation Command Line Interface Available (s

2006-07-17 Thread DeadPoet
Thanx a lot!
You really saved my weekend ;)

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Classloading PB with librairies in my servlet

2006-07-17 Thread jaikiran
I am not sure what the exact problem is, but if you feel that its related to 
classloading, then have a look at:

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

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




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

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


[jboss-user] [JBoss Portal] - View the file itself

2006-07-17 Thread adik
I don't know if there is such an option maybe you can tell me.. I want to 
upload file and to see it in the portal -  not just details about the file, the 
file itself, I was looking and it seems it's not part of the portal I will be 
happy to here that I wrong..

Thanks!

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

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


[jboss-user] [Beginners Corner] - Re: JBoss goes down!

2006-07-17 Thread nabieh
Dear Jaikiran,
  Your reply is very appreciated, here you are the answers of your 
questions:

anonymous wrote : exceptions says: java.sql.SQLException: Exhausted Resultset

I have more than 12 exceptions in my DAOs, the whole DAO's works in the same 
behavior as shown in the following pseudocode:


  | PreparedStatement ps = null;
  | ResultSet rs = null;
  | try {
  | con = db.getConnection();
  | String sql = SELECT where id = ?;
  | ps = con.prepareStatement(sql);
  | ps.setInt(1, id);
  | rs = ps.executeQuery();
  | while (rs.next()) {
  |   // Get integers, chars, strings, .
  | } 
  | } catch (SQLException ex) {
  |  log.error(Exception ..., e);
  |  throw new DAOException(DAO Exception : , e);
  | }
  | 
  | finally {
  |try {
  |  if (rsGet != null)
  |  rsGet.close();
  | } catch (SQLException e) {
  |  log.error(Error : , e);
  |  }
  |   if (stmtGet != null) db.close(ps); /* db is a Serializable class where I 
close my connections and  statements and it works very fine */
  |   db.closeConnection(con);
  | }
  | 

I suggested to increase the Oracle cursers, does that make scense?


anonymous wrote : we are facing a strange behavior of the application server - 
JBoss, from time to time, it goes down and became unaccessible, and it seems 
that the application is not able to run any more

Dear, I have contacted my operation team and ask them about that, they told me 
that the JBoss is kept running but with no response at all, if you try to enter 
a web application it gives you the common 'Page not found' html page. I asked 
them also about the memory, the server has 2 GBs of memory, half of them 
assigned to the deployed application by setting that condition in the batch 
file for the java command within JBoss environemt.

anonymous wrote : Also, which version of JBoss are you using?

I contacted the operations, the JBoss version is 'JBoss 4.0.1SP1'

Your feedback will be very kind of you Jaikiran. Please feel free to ask 
any question you would like to.


Nabieh.

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

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


[jboss-user] [JBoss Seam] - Re: Ajax4JSF experiences

2006-07-17 Thread [EMAIL PROTECTED]
I tried as well and got mixed experience.

I was able to do some stuff but not everything i wanted...

For instance i wanted to update the search result as i typed the searchString 
in the booking example.

It broke on s:link, if i removed them from the ajax region, then i have another 
problem: i have concurrent calls on the searchString of the Stateful Bean. By 
marking it stateless then i have the list correctly updated.

So yes there are several issues...


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

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


[jboss-user] [JBoss jBPM] - Re: Transactions fail due to confiuration of Persistence

2006-07-17 Thread kazam
I tried to create the table directly into the schema, but the reply is still 
table or view doesn't exist.

I think the entry for hilo configuration is not pointing to correct schema. 

If someone knows how to configure hiLo please, respond.
Thanks, Kazam. 

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Classloading PB with librairies in my servlet

2006-07-17 Thread clodeindustrie
Indeed the problem is not clear to understand :)
I already seen theses pages, but i'll keep trying differents configurations.
thanks

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

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


[jboss-user] [Beginners Corner] - Re: JBoss goes down!

2006-07-17 Thread jaikiran
anonymous wrote : while (rs.next()) {
  |   // Get integers, chars, strings, .
  | } 

Are you sure that you are not invoking the rs.next() method again *inside* the 
while loop (Just to make sure that we are not missing anything). Usually the 
reason for the Exhausted resultset exception is that the user is trying to 
retrieve the contents of the resultset when it is empty.

It would be great, if you could post the exception stacktrace so that we could 
get more hints about the exception.

anonymous wrote : they told me that the JBoss is kept running but with no 
response at all

This means that the server is running but not responding. Usually in situations 
like these, it is very helpful to obtain the thread dump to see what exactly is 
going on the server in the background. The proceedure to obtain the thread dump 
is explained here:

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

Obtain the thread dump when the server becomes unresponsive. The thread dump 
will show you what operations are being carried out by each and every thread in 
JBoss.




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

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


[jboss-user] [JBoss Seam] - @DataModelSelection behavior : bug or feature ?

2006-07-17 Thread ve_rao
When does a variable annotated as @DataModelSelection get injected? Is it only 
when a row in the h:dataTable is selected? Or does it get initialized 
whenever there is a postback, even from a control outside the h:dataTable?

I am observing that in addition to the first case above, the second is also 
true. Even when an action listener is invoked in response to a link outside the 
h:dataTable element, the @DataModelSelection variable is getting initialized 
to the first element of the @DataModel.

Is my observation correct? Is that the expected behavior? That is causing 
unexpected behavior in my code. I am attaching my sources below to better 
illustrate.

Thanks,

-- venkat


h:form
  | 
  | s:link value=Up one level
  | rendered=#{folderNavigator.curFolder != null}
  | action=#{folderNavigator.upOneLevel} /
  | 
  | h:dataTable var=folder value=#{folderList} 
  | h:column
  | s:link value=#{folder.folderName}
  | action=#{folderNavigator.selectFolder} /
  | /h:column 
  | /h:dataTable
  | 
  | /h:form
In the listing above, folderList is a @DataModel, declared and used in the 
folderNavigator stateful session bean, which is given below:
@Stateful
  | @Scope(SESSION)
  | @Name(folderNavigator)
  | public class FolderNavigatorAction implements FolderNavigator, Serializable
  | {
  | @DataModel
  | private ListFolder folderList;
  | 
  | @DataModelSelection
  | private Folder curFolder;
  | 
  | @Factory(folderList)
  | public void retrieveFolderList() {
  | 
  | if (curFolder == null) {
  | folderList = rootFolderList; // Initialized in constructor
  | }
  | else {
  | folderList = curFolder.getChildFolders();
  | }
  | }
  | 
  | public void selectFolder() {
  | retrieveFolderList();
  | }
  | 
  | public void upOneLevel() {
  | curFolder = curFolder.getParent();
  | retrieveFolderList();
  | }
  | }
When the upOneLevel() method is called, curFolder is automatically injected 
with the first element of folderList, even though it was not invoked in 
response to a data model selection.


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

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


[jboss-user] [JCA/JBoss] - Receive object in jboss

2006-07-17 Thread sailu
Hi,
we are creating Receiver object like this

 QueueReceiver qReceiver = qSesTemp.createReceiver(qTemp, selectorTag);
it is creating object like this in Jboss

[EMAIL PROTECTED]


But in case of weblogic the object is

[EMAIL PROTECTED]

My problem is receiver is not able to receive any message in jboss.
the same code is working in weblogic but in case of jboss it is not able to 
receive the message.


My receive method is
qConTemp.start();
if(timeOutInSeconds == 0)
timeOutInSeconds = 60;
Message message = qReceiver.receive(timeOutInSeconds * 1000);

it is waiting up to given time and simply throwing exception 
and the message is comming null

but in weblogic it is working

can any one help me .


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

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


[jboss-user] [JBoss Getting Started Documentation] - can't deploy the demos

2006-07-17 Thread fruti
Hi I followed the receipt for deploying Seam 1.0.1 with JBoss 4.0.4.GA-Patch 
exactly according to Getting Started and it doesn't work unfortunately. 
Please what am I missing, can't get through like this..THANKS VERY MUCH
regards fruti

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

javax.servlet.ServletException: Exception while invoking expression 
#{blog.hitCount.hit}
javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

javax.faces.el.EvaluationException: Exception while invoking expression 
#{blog.hitCount.hit}

org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
org.jboss.seam.core.Pages.callAction(Pages.java:161)
org.jboss.seam.core.Pages.callAction(Pages.java:139)

org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128)

org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98)

org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50)

org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38)

org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)

org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

from the LOG FILE:

2006-07-17 11:55:43,437 ERROR [org.apache.myfaces.util.LocaleUtils] Locale name 
null or empty, ignoring

2006-07-17 11:55:56,234 ERROR [STDERR] 
java.lang.reflect.InvocationTargetException
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Method.java:585)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.Component.callComponentMethod(Component.java:1334)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.Component.unwrap(Component.java:1350)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.Component.getInstance(Component.java:1276)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.Component.getInstance(Component.java:1246)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:450)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.core.Pages.callAction(Pages.java:161)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.core.Pages.callAction(Pages.java:139)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
2006-07-17 11:55:56,234 ERROR [STDERR]  at 

[jboss-user] [JBoss Seam] - General conversation question

2006-07-17 Thread cdanielw
I have a question on a, at least for me, very common use-case.

First a disclaimer: I haven?t got my hands dirty with Seam yet. I?m more in the 
process of figuring out whether it fits my needs ? I?ve only read the 
documentation, browsed through the forums, blog posts etc. However, what I?ve 
seen so far looks very, very interesting. The idea of using stateful components 
really looks like it could help me overcome the biggest gripes I have with JSF 
(and other web-frameworks as well, for that matter).

In order to keep things a bit less abstract, let?s take an application for 
managing persons and organizations as an example. 

The ?person? side of the application has the following functionality:

?   Find a person
?   Show overview of a selected person
?   Edit general details of the person
?   Manage the email addresses of the person
?   Select which organizations the person works for

The ?organization? side functionality:

?   Find an organization
?   Show overview of a selected organization
?   Edit general details of the organization
?   Manage a list of countries the organization where the organization 
operates

So, the idea is that first an object is selected from a search result list 
(person or organization in this case), an overview of the object is displayed 
with functionality for manipulating the object (editing the name of the person, 
adding an email address to the person), in a non-wizard manner.

Usually, the overview pages take the object identifier from the request 
parameter as this allows the overview pages to be bookmarked (e.g. 
/viewPerson.jsf?personId=42).

So far so good ? now the problem is to propagate the selected 
person/organization through the manipulation actions. Here there are a number 
of options:

?   Keep including the object identifier among the request parameters. This 
used to be my default way of handling this when using action based frameworks. 
However, JSF isn?t making this approach easy.
?   Put the object itself in the session ? problems with 
LazyInitializationException ;-)
?   Put the object identifier in the session. 

When using JSF, I usually end up with the last solution.

So, after all this blabbering, my question is this: Can the conversational 
scope of Seam be of help in situations like this?

The problem, as I see it, is that there is no natural end of the conversation. 
Maybe it makes sense to start the conversation when showing the 
person/organization overview. However, a user might select a person, add an 
email address and then jump straight to organization interface.

Any ideas, suggestions or clarifications would be greatly appreciated :-)

Cheers,
Daniel 



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

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


[jboss-user] [JCA/JBoss] - Re: can't auto connect

2006-07-17 Thread [EMAIL PROTECTED]
You will want to take a look at: 

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

Of course, you will want to configure the ValidConnectionChecker (or new-sql or 
valid-connection sql) appropriately. 



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

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


[jboss-user] [EJB 3.0] - MDB deployment problem

2006-07-17 Thread hoeft
Hi!

I'm getting an error message if I deploy my MDB. I'm have got an error since I 
declared some activation properties in a deployment descriptor.

The MDB-Code:


  | @MessageDriven(activationConfig =
  | {
  | @ActivationConfigProperty(propertyName=destinationType, 
propertyValue=javax.jms.Topic),
  | @ActivationConfigProperty(propertyName=destination, 
propertyValue=topic/myTopic)
  | })
  | public class MyMDB implements MessageListener
  | {
  | public void onMessage(javax.jms.Message message) {
  | //do something
  | }
  | }
  | 
  | 

My deployment descriptor:

  | ejb-jar xmlns=http://java.sun.com/xml/ns/javaee;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
  |
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd;
  | version=3.0
  | enterprise-beans
  | message-driven
  | ejb-nameMyMDB/ejb-name
  | ejb-classmyPackage.MyMDB/ejb-class
  | activation-config
  | activation-config-property
  | activation-config-property-name
  | user
  | /activation-config-property-name
  | activation-config-property-value
  | my_user
  | /activation-config-property-value
  | /activation-config-property
  | activation-config-property
  | activation-config-property-name
  | password
  | /activation-config-property-name
  | activation-config-property-value
  | my_passwort
  | /activation-config-property-value
  | /activation-config-property
  | /activation-config
  | /message-driven
  | /enterprise-beans
  | /ejb-jar
  | 

If I deploy this, I'm getting the following error Message:
anonymous wrote : 
  | 12:08:13,436 WARN  [ServiceController] Problem starting service 
jboss.j2ee:ear=MyEar.ear,jar=MyJar.jar,name=MyMDB,service=EJB3
  | org.jboss.deployment.DeploymentException: Unable to create activation spec 
ra=jboss.jca:service=RARDeployment,name='null' 
messaging-type=javax.jms.MessageListener properties={password=ActivationConfig
  | Property(password=my_password), 
user=ActivationConfigProperty(user=my_user), 
destinationType=ActivationConfigProperty(destinationType=javax.jms.Topic)}; - 
nested throwable: (javax.manageme
  | nt.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' 
is not registered.)
  | at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
  | at 
org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:310)
  | at 
org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:195)
  | at org.jboss.ejb3.mdb.MDB.startProxies(MDB.java:279)
  | at org.jboss.ejb3.mdb.MDB.start(MDB.java:218)
  | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at 

[jboss-user] [JBoss Getting Started Documentation] - Re: can't deploy the demos

2006-07-17 Thread [EMAIL PROTECTED]
Please read again the getting started 
http://labs.jboss.com/portal/jbossseam/gettingstarted/index.html, it does say 
to use the JEMS installer and the link to jems-installer-1.2.0.BETA.jar is 
provided.

If you read different instructions somewhere else, please let me know so i can 
fix this.

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

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


[jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0

2006-07-17 Thread Olivier_Debels
Hi,

I also stumbled on this problem and did find it interesting enough to share.  
It seems to be correlated with the use of commons-fileupload jar.

The starters kit is using commons-fileupload-1.0 jar.  When trying to use 
commons-fileupload-1.1.1 jar you will get the exception the request was 
rejected because no multipart boundary was found.

The reason here is that at deployment (using the gpd designer tool) the content 
type is filled in as 'multipart/form-data, boundary=AaB03x'.   This will be 
correctly parsed by the 1.0 jar but not by the 1.1.1 jar.  You need to convert 
it to 'multipart/form-data; boundary=AaB03x' in order to make it work with the 
1.1.1 stuff (or stick with the 1.0 jar if you choose to do so...).

As for as I can see according to RFC1341 the 1.1.1 version of the jar is doing 
the right thing, so this is actually a bug in the designer when calling the 
upload servlet.

Olivier.

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

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


[jboss-user] [EJB/JBoss] - Re: [URGENT] Classloading issue

2006-07-17 Thread beugeair
Hello,

I try to enable the jar index capabilites in order to give to Jboss the 
INDEX.LIST inside every generated bundle to :
- accelerate the class loading ...
- and upgrade the accuracy of JBoss class loader ...

But it doesn't work anymore

Still investigating ...

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Receive object in jboss

2006-07-17 Thread sailu
The same code is working in weblogic in case of jboss it is not working 

I have given the time also u can see the code 

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

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


[jboss-user] [EJB 3.0] - Re: MDB deployment problem

2006-07-17 Thread [EMAIL PROTECTED]
You will want to specfify the JCA/JMS RAR that allows for inflow based 
messaging in JBoss. Easiest way to do this is by using the ResourceAdapter 
annotation

@ResourceAdapter(jms-ra.rar)

This can be placed after your @MessageDriven annotation. It is a class level 
annotation. 



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3958433
___
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 with the JBoss IDE Tutorial

2006-07-17 Thread kerninon
i changed ImageJ (that contains tools.jar) instead of  jre1.5.0_04

and i still have  xdoclet-build.xml:33: Unexpected error 

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

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


[jboss-user] [JCA/JBoss] - Re: can't auto connect

2006-07-17 Thread huangqingqing
ok,thank :)

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

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


[jboss-user] [JBossCache] - Re: Problems about updating an ArrayList in replicated TreeC

2006-07-17 Thread legolas
Hi,

How can I circumvent this problem when using the PojoCache?

I am running into a similar problem, as mentioned earlier, when setting a field 
of a class added to the cache.

I am using JBossCache 1.4.0.GA.

Regards,
Marcel Dullaart

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

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


[jboss-user] [JBoss AOP] - Mixins, introducing new superclasses and class loading time

2006-07-17 Thread susanin
Hi,

Sorry for a bit longish message.

I have several questions:

1. I have a class that implements certain methods. 


  | @NiceAnnotation
  | public class A {
  |public void methodN();
  | }
  | 

I also have an interface which defines among others the same method:


  | public interface NiceInterface {
  |public void methodL();
  |public void methodN();
  |public void methodM();
  | }
  | 
  | public interface NiceImpl {
  |public NiceImpl(Object obj){}
  |public NiceImpl() {}
  |public void methodL() {}
  |public void methodN() {}
  |public void methodM() {}
  | }
  | 
  | 

Now I want to define a mixin by means of AOP so that class A implements the 
NiceInterface and NiceImpl is the default implementation of it. More over, I 
wich that methods of NiceInterface implemented by A (i.e. methodN) take 
precedence before NiceImpl. NiceImpl should be called only when A does not 
implement a corresponding method.

My idea was to use:

  | introduction class=A
  |mixin  
  | interfacesNiceInterface/interfaces
  |   classNiceImpl/class
  |   constructionnew NiceImpl(this)/construction
  |/mixin
  | /introduction
  | 

But when I do it, I always become an exception:
Mixin NiceImpl ... is trying to apply an already existing methodN for class A

How can I solve this with JBoss AOP?

2. Is it somehow possible to introduce a new superclass (and I mean really 
superclass and not an interface) by means of AOP? For example, I'd like to say 
that class A should become inherited from NiceImpl. The resulting weaved class 
will look like: 


  | public class A extends NiceImpl {
  |public void methodN();
  | }
  | 

This would achieve my goal in the previous question.

If you ask why one would like to do it, I can give you an example. There 
are some JSRs that dictate for some user-defined objects to extend some 
standard classes provided by this JSR. Now, they plan to simplify the process 
and use some annotations (see @NiceAnnotation above). Such an annotation means 
that class A should be actually extend a class NiceImpl, stndardized by the JSR.

It can be argued that such requirements for extending classes and not using 
interfaces is a sign of a bad design. I'd even agree with that. But these JSRs 
are there and there is already a lot of legacy code, etc. So, you cannot easily 
change the JSR specification. 

   I haven't found any such possibility of adding a new superclass in any of 
the AOP tools. But I've seem that it is possible with Javassist libray by means 
of CtClass.setSuperclass. Why is it not allowed when using AOP?  

3. Let's concentrate a bit more on the @NiceAnotation in the declaration of A.

I'd like to take some actions when a class with such an annotated class is 
loaded. Imagine that it happens inside a container. I'd like to use AOP 
pointcut language to catch such annotated classes (because it is very easy and 
declarative and is already possible with existing pointcut syntax) and to be 
able to associate an action that should be taken when such a class is being 
loaded. The action would consist of analysis of the annotated class and its 
parameters and would eventually instrument it (e.g. eventually add new methods 
or selectively define before/after/around advices for existing ones and, which 
is also very important, add inform the container about information contained in 
the annotation (e.g. name, port, namepsace), so that container can correctly 
register such a newly deplotyed component).

I mean something like this:

  | bind pointcut=loadtime(@NiceAnnotation)
  |advice name=processLoading aspect=NiceLoadtimeAspect/
  | /bind
  | 


At the moment I do not see a way to intercept class loading in a way described 
above by means of Jboss AOP. There is no way to say: if a class/method 
(annotated) like this is detected, do a given action. And I mean do it when it 
is detected, not when it is called, which is a usual semantics of interceptors. 
Are there any good reasons why this is impossible?

Of course, one can implement the described behavior by writing a special class 
loader that would look for the required classes/methods and do some associated 
actoins. But this requires a lot of tedious coding, not very declarative and 
essentially just re-implements what AOP weaver usually does, in particular the 
pointcut matching parts.

I think such a possibility by means of AOP would be very useful for processing 
some elements (e.g. classes, methods, annotations) only once as they are 
loaded. AOP tools already provide a declarative and very expressive pointcut 
language that easily catches any required elements. The only thing  required is 
to introduce a special kind of interceptors that are applied only at the class 
loading time in the sene described above. This would eliminate a lot of cases 
where custom class-loaders are used at the moment.

I'd really like to get your opinion about some of these questions and 

[jboss-user] [Installation, Configuration Deployment] - Where is SystemPropertiesService in JBoss 4.0.4 (EJB 3.0)?

2006-07-17 Thread dkrizic
Hi!

I have a JBoss 4.0.4 GA in the ejb3 configuration and I try to deploy a sar 
file containing this:


  | ?xml version=1.0?
  | jboss-service
  | 
  | mbean name=test:type=Service,name=TestProperties 
code=org.jboss.varia.property.SystemPropertiesService
  | attribute name=Properties
  | a=1
  | b=2
  | /attribute
  | /mbean
  | 
  | /jboss-service
  | 

When I deploy this, I get this error:


  | 12:06:23,882 ERROR [MainDeployer] Could not create deployment: 
file:/D:/Programme/jboss-4.0.4.GA/ser
  | ver/default/deploy/eff-ds-dkrizic.sar
  | org.jboss.deployment.DeploymentException: No ClassLoaders found for: 
org.jboss.varia.property.System
  | PropertiesService; - nested throwable: (java.lang.ClassNotFoundException: 
No ClassLoaders found for:
  |  org.jboss.varia.property.SystemPropertiesService)
  | 

Has this service been removed? Is it on purpose? Is there an alternative 
service?


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss-4.0.4-GA and Hibernate-3.1.3

2006-07-17 Thread ShanR
I am using Jboss-404-GA appliocation server and hibernate-3.1.3 for my 
appliction.

When closing the resultset getting the following exception

[12:34:55] - java.sql.SQLException: Already closed
[12:34:55] -at org.jboss.resource.adapter.jdbc.WrappedResultSet.close(Wrappe
dResultSet.java:178)

The code snipet:
The line, where getting exception is marked in Red

public static void relaseDBResources(Statement stmt, ResultSet rs) {
try {
if (stmt != null) {
stmt.close();
}

if (rs != null) {
rs.close();
}
} catch (SQLException sqle) {
sqle.printStackTrace();
}
}

The same code woking perfectly with Jboss-402.

Can anyone help me in this regard. ?
Thanks in advance!!.


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

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


[jboss-user] [Management, JMX/JBoss] - Re: jboss snmp monitoring with mrtg

2006-07-17 Thread pilhuhn
As indicated on the page you cite, the get support is only in 4.0.4GA and 
later. You can probably just grab the respective jars from 404 and use them in 
326.

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

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


[jboss-user] [JBoss jBPM] - Re: Error when installing jBPM on Eclipse 3.2

2006-07-17 Thread bdepaz
Hi Eric,

The GPD plugin included with 3.1.1 (which is gpd 3.0.9.2) doesn't seem to work 
with Eclipse 3.2. I've tried the 3.0.10, which seems to be working just fine. 
You can find that 
http://sourceforge.net/project/showfiles.php?group_id=70542package_id=116692release_id=430212.

The error that you show seems to be some kind of security problem on those 
directories. Are you sure the user you're running eclipse on has at least 
read access?

grtz,
Bert

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

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


[jboss-user] [EJB 3.0] - Re: Message Driven with other JMS Provider

2006-07-17 Thread crosenbury
Any chance you would know where there is documentation that describes how to do 
this?

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

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


[jboss-user] [JBoss Portal] - Re: View the file itself

2006-07-17 Thread [EMAIL PROTECTED]
non-html files, such as txt, pdf are viewed outside the portal, so you need to 
specify the relative path with /content (if your file is under the default 
portal, try localhost:8080/portal/content/pathtofile)

The file itself is stored in your CMS folder, which is in 
JBOSS_HOME/default\data\portal\cms.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Classloading PB with librairies in my servlet

2006-07-17 Thread j2ee_junkie
clodeindustrie,

I suspect ojdv14.jar and xdb.jar can work together, but that the problem is 
with xdb.jar and JNDI.  Did you follow instructions at oracle's site about how 
to used JNDI to access XML DB Resource?  They describe how to specify a JNDI 
provider to use.  If you do not do this, then JBoss' JNDI service is used.  
This may cause a conflict.  The following is link to one version of the API 
(not sure which version you are using)
http://download-east.oracle.com/docs/cd/B10501_01/appdev.920/a96620/xdb21rja.htm#1656

let us know..., cgriffith[/url]

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

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


[jboss-user] [EJB 3.0] - Re: Message Driven with other JMS Provider

2006-07-17 Thread [EMAIL PROTECTED]
Sonic's documentation set, along with the adapter should be available on the 
Sonic site. At present, we do not provide documentation for this as of yet. 



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

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


[jboss-user] [JBoss jBPM] - NullpointerException at ProcessInstance.signal()

2006-07-17 Thread bdepaz
Hi,

I'm having a problem trying to signal a process for further execution. I'm 
running jBPM in a J2EE environment (on an OC4J for that matter). 
I'm having a MessageDrivenBean triggering a ProcessInstance for further 
execution, however it seems like the Token is not having a ProcessInstance. How 
is that possible?

I've implemented as described in the userguide:

  | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | GraphSession graphSession = jbpmContext.getGraphSession();
  | ProcessInstance pi = graphSession.loadProcessInstance(processId);
  | process.signal();
  | 

Output for that code is:

  | java.lang.NullPointerException
  | at org.jbpm.graph.exe.Token.startCompositeLog(Token.java:306)
  | at org.jbpm.graph.exe.Token.signal(Token.java:167)
  | at org.jbpm.graph.exe.Token.signal(Token.java:123)
  | at 
org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke(generated)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at 
org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$7e7b07a8.signal(generated)
  | at 
org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
  | at 
org.jbpm.graph.exe.ProcessInstance$$FastClassByCGLIB$$5167cc59.invoke(generated)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at 
org.jbpm.graph.exe.ProcessInstance$$EnhancerByCGLIB$$fb69fd53.signal(generated)
  | at 
be.cm.health.tpb.process.MetroplanInvoiceWorkflow.unlockMetroplanInstance(MetroplanInvoiceWorkflow.java:105)
  | at 
be.cm.health.tpb.integrators.MetroplanListener.onMessage(MetroplanListener.java:58)
  | 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 
com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
  | at 
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
  | at 
com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
  | at 
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
  | at 
com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
  | at 
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
  | at 
com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:344)
  | at 
com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:230)
  | at 
com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:168)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
  | at java.lang.Thread.run(Thread.java:595)
  | 

Now I've been debugging on that. The ProcessInstance is actually being 
returned, however, the ProcessInstance.token.processinstance is empty which is 
throwing the nullpointer here. (it needs it to get the LogginInstance).

Am I doing something wrong here? I've been trying to get the token in other 
ways, but so far that wasn't very successfull :-S.

my jbpm config:

  | jbpm-configuration
  |   jbpm-context
  | service name=persistence
  | factory
  | bean 
class=org.jbpm.persistence.db.DbPersistenceServiceFactory
  | field name=isTransactionEnabled
  | false /
  | /field
  | /bean
  | /factory
  | /service
  | service name=message 
factory=org.jbpm.msg.db.DbMessageServiceFactory /
  | service name=scheduler 
factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory /
  | service name=logging 
factory=org.jbpm.logging.db.DbLoggingServiceFactory /
  | service name=authentication 
factory=org.jbpm.security.authentication.DefaultAuthenticationServiceFactory 
/
  |   /jbpm-context
  | /jbpm-configuration
  | 

Sincerely appreciate all the help...

kind regards,
Bert

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

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

[jboss-user] [JBoss Portal] - sharing data between render() and processAction() method

2006-07-17 Thread hubertg
Hi,

I need to share data between the render() and the processAction() method.

The method of (my) choice (and I think the only? method) is using the 
PortletSession:

render() : 

  | request.getPortletSession(sharedData, value);
  | 

processAction();

  | Object data  = request.getPortletSession(sharedData);
  | // do something with data
  | 

my question is now:

is there anything problematic about sharing data via the PortletSession?

I could think of problems because of the fact that the processAction and the 
render request  are seperate http requests. is there the possibilty that a 3rd 
render request comes between these two?

something like that
REQUEST 1
portletX.processAction()
--- REQUEST 3 ???
--- portletX.render();
--- portletY.render();
--- portletZ.render();
REQUEST 2 (because of server redirect)
portletX.render()
portletY.render()
portletZ.render()

I would be very happy if someone could bring some light into this, although i'm 
not sure, if I made myself clear ... 

thanks in advance.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI between 2 JBoss instances

2006-07-17 Thread tanked
Thanks! looks like HA JNDI for me...

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

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


[jboss-user] [Beginners Corner] - Re: Failing to boot JBoss

2006-07-17 Thread BOBSINM
Thx, jaikiran.  I took you're advise and re-installed but this time using the 
web installer and works fine.  Previously I just downloaded and unzipped all of 
the files...either something went wrong with the download or the zip compressed 
file was missing a few libraries.

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

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


[jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group

2006-07-17 Thread falazar
Hmm, thats what I was afraid of.

Do you have some tentative instructions for getting the 3.2 version working 
then?

I ran the build processes per instructions, and everything seems to be 
compiling fine, but Im not sure how to start the server now or where to access 
the webapp.

Need to get as much as possible going on this this week, to show if the groups 
are working correctly, and some fo the other features.

Thank you for your assistance,
James Ratcliff

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

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


[jboss-user] [Installation, Configuration Deployment] - Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-17 Thread jactor
I was running an application on jboss-4.0.3SP1 and there was no errors.

I am trying to deploy the same application on jboss 4.0.4, but it wont deploy:

  | [EMAIL PROTECTED] { 
url=file:/C:/APPS/jboss-4.0.4.GA/server/all/deploy/concept.par }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: file:/C:/APPS/jboss-4.0.4.GA/server/all/deploy/concept.par
  |   altDD: null
  |   lastDeployed: 1153141390622
  |   lastModified: 1153141390622
  |   mbeans:
  | 

I downloaded and installed 4.0.4 (all configuration) and am trying to copy a 
persistent archive to the deploy folder, but it is kept waiting for deployment. 
What have I missed? Is there any configuration I am not doing?

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

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


[jboss-user] [Javassist user questions] - AccessControlException on generated classes due to missing

2006-07-17 Thread renat-zubairov
I have a problem with Tapestry/HiveMind application which uses Javassist for 
bytecode manipulation. It seems that newly created classes that are loaded by 
Javassist do not inherit ProtectionDomain from the other classes, this leads to 
the problem that application server WebSphere can not associate them with any 
of the JAR files and apply a security policy to them. The problem is visible on 
the following stack trace, you can see that location of the code that causes 
security exception is unknown (null).

Environment is WebSphere 5 with Secruty ON (Enforce Java2 Security):



[7/15/06 15:22:41:049 CEST] 6642251f SecurityManag W SECJ0314W: Current Java 2 
Security policy reported a potential violation of Java 2 Security Permission.
Please refer to Problem Determination Guide for further information.

Permission:

  
/opt/WebSphere/AppServer/installedApps/servernameNetwork/sjrthr.ear/sjrtpg.war/WEB-INF/lib/tapestry-4.1.jar
 : access denied (java.io.FilePermission /opt/We
bSphere/AppServer/installedApps/servernameNetwork/sjrthr.ear/sjrtpg.war/WEB-INF/lib/tapestry-4.1.jar
 read)


Code:

 $ApplicationInitializer_10c725a4dba  in  {null code URL}



Stack Trace:

java.security.AccessControlException: access denied (java.io.FilePermission 
/opt/WebSphere/AppServer/installedApps/servernameNetwork/sjrthr.ear/sjrtpg.war/WEB-IN
F/lib/tapestry-4.1.jar read)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java(Compiled
 Code))
at 
java.security.AccessController.checkPermission(AccessController.java(Compiled 
Code))
at 
java.lang.SecurityManager.checkPermission(SecurityManager.java(Compiled Code))
at 
com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java(Compiled
 Code))
at java.lang.SecurityManager.checkRead(SecurityManager.java(Compiled 
Code))
at java.util.zip.ZipFile.(ZipFile.java(Compiled Code))
at java.util.zip.ZipFile.(ZipFile.java(Inlined Compiled Code))
at 
com.ibm.ws.classloader.Handler$ClassLoaderURLConnection.getInputStream(Handler.java(Compiled
 Code))
at java.net.URL.openStream(URL.java(Inlined Compiled Code))
at 
com.ibm.ws.classloader.SinglePathClassProvider.getResourceAsStream(SinglePathClassProvider.java(Inlined
 Compiled Code))
at 
com.ibm.ws.classloader.CompoundClassLoader.localGetResourceAsStream(CompoundClassLoader.java(Compiled
 Code))
at 
com.ibm.ws.classloader.CompoundClassLoader.getResourceAsStream(CompoundClassLoader.java(Compiled
 Code))
at javassist.LoaderClassPath.openClassfile(LoaderClassPath.java:70)
at javassist.ClassPoolTail.openClassfile(ClassPoolTail.java:283)
at javassist.ClassPool.openClassfile(ClassPool.java(Inlined Compiled 
Code))
at javassist.CtClassType.getClassFile2(CtClassType.java(Compiled Code))
at javassist.CtClassType.subtypeOf(CtClassType.java:267)
at 
javassist.compiler.MemberResolver.compareSignature(MemberResolver.java:203)
at 
javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:97)
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:637)
at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:614)
at 
javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156)
at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:235)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:323)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:384)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:348)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285)
at javassist.compiler.Javac.compileBody(Javac.java:208)
at javassist.CtBehavior.setBody(CtBehavior.java:188)
at javassist.CtBehavior.setBody(CtBehavior.java:163)
at 
org.apache.hivemind.service.impl.ClassFabImpl.addMethod(ClassFabImpl.java:288)
at 
org.apache.hivemind.service.impl.LoggingInterceptorFactory.addServiceMethodImplementation(LoggingInterceptorFactory.java:120)
at 
org.apache.hivemind.service.impl.LoggingInterceptorFactory.addServiceMethods(LoggingInterceptorFactory.java:159)
at 
org.apache.hivemind.service.impl.LoggingInterceptorFactory.constructInterceptorClass(LoggingInterceptorFactory.java:214)
at 
org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInterceptor(LoggingInterceptorFactory.java:251)
at 
org.apache.hivemind.impl.ServiceInterceptorContributionImpl.createInterceptor(ServiceInterceptorContributionImpl.java:95)
at 

[jboss-user] [JBoss jBPM] - Re: jbpmschema fails to build for CVS HEAD

2006-07-17 Thread jliptak
I edited the build.xml file in jpdl/db to add the following:
taskdef resource=org/jbpm/ant/jbpm.ant.tasks.properties
  |  classpathref=schema.task.classpath /
  | property name=echocp refid=schema.task.classpath /
  | echo message=classpath = ${echocp} /

This causes the output of the build to be:
install:
  |  [echo] classpath = 
C:\projects\hibernate\jBPM\jbpm.3\jpdl\db\src\main\confi
  | g;C:\projects\hibernate\jBPM\jbpm.3\jpdl\jar\src\main\config;C:\Documents 
and Se
  | 
ttings\jliptak\jbpm\repository\antlr\2.7.6rc1\lib\antlr-2.7.6rc1.jar;C:\Document
  | s and 
Settings\jliptak\jbpm\repository\apache-collections\3.1\lib\commons-collec
  | tions.jar;C:\Documents and 
Settings\jliptak\jbpm\repository\apache-fileupload\1.
  | 0\lib\commons-fileupload.jar;C:\Documents and 
Settings\jliptak\jbpm\repository\a
  | pache-log4j\1.2.8\lib\log4j.jar;C:\Documents and 
Settings\jliptak\jbpm\repositor
  | y\apache-logging\1.0.4\lib\commons-logging.jar;C:\Documents and 
Settings\jliptak
  | \jbpm\repository\apache-myfaces\1.1.1\lib\jstl.jar;C:\Documents and 
Settings\jli
  | ptak\jbpm\repository\apache-myfaces\1.1.1\lib\myfaces-api.jar;C:\Documents 
and S
  | 
ettings\jliptak\jbpm\repository\apache-myfaces\1.1.1\lib\myfaces-impl.jar;C:\Doc
  | uments and 
Settings\jliptak\jbpm\repository\asm\1.5.3\lib\asm-attrs.jar;C:\Docum
  | ents and 
Settings\jliptak\jbpm\repository\asm\1.5.3\lib\asm.jar;C:\Documents and
  |  Settings\jliptak\jbpm\repository\beanshell\1.3.0\lib\bsh.jar;C:\Documents 
and S
  | ettings\jliptak\jbpm\repository\cglib\2.1.3\lib\cglib.jar;C:\Documents and 
Setti
  | ngs\jliptak\jbpm\repository\dom4j\1.6\lib\dom4j.jar;C:\Documents and 
Settings\jl
  | iptak\jbpm\repository\dumbster\1.6\lib\dumbster.jar;C:\Documents and 
Settings\jl
  | iptak\jbpm\repository\ehcache\1.1\lib\ehcache.jar;C:\Documents and 
Settings\jlip
  | tak\jbpm\repository\facelets\1.1.1\lib\jsf-facelets.jar;C:\Documents and 
Setting
  | s\jliptak\jbpm\repository\hibernate\3.1\lib\hibernate3.jar;C:\Documents and 
Sett
  | ings\jliptak\jbpm\repository\hsqldb\1.8.0.2\lib\hsqldb.jar;C:\Documents and 
Sett
  | 
ings\jliptak\jbpm\repository\jackrabbit\1.0\lib\jackrabbit-core-1.0.jar;C:\Docum
  | ents and 
Settings\jliptak\jbpm\repository\jaxen\1.1beta6\lib\jaxen.jar;C:\Docume
  | nts and 
Settings\jliptak\jbpm\repository\jbossas\core-libs\4.0.3.SP1\lib\jboss-c
  | ommon.jar;C:\Documents and 
Settings\jliptak\jbpm\repository\jbossas\core-libs\4.
  | 0.3.SP1\lib\jboss-j2ee.jar;C:\Documents and 
Settings\jliptak\jbpm\repository\jbo
  | ssas\core-libs\4.0.3.SP1\lib\jboss-jmx.jar;C:\Documents and 
Settings\jliptak\jbp
  | m\repository\jbossas\core-libs\4.0.3.SP1\lib\jboss-system.jar;C:\Documents 
and S
  | ettings\jliptak\jbpm\repository\jcr\1.0\lib\jcr-1.0.jar;C:\Documents and 
Setting
  | s\jliptak\jbpm\repository\junit\3.8.1\lib\junit.jar;C:\Documents and 
Settings\jl
  | iptak\jbpm\repository\maven2\ant\ant\1.6.5\ant-1.6.5.jar;C:\Documents and 
Settin
  | gs\jliptak\jbpm\repository\sun-jaf\1.0.2\lib\activation.jar;C:\Documents 
and Set
  | tings\jliptak\jbpm\repository\sun-javamail\1.3.1\lib\mail.jar;C:\Documents 
and S
  | 
ettings\jliptak\jbpm\repository\sun-servlet\2.4\lib\servlet-api.jar;C:\Documents
  |  and 
Settings\jliptak\jbpm\repository\jbpm\jpdl\3.2.Alpha1-SNAPSHOT\lib\jbpm-jpd
  | l.jar;C:\Documents and 
Settings\jliptak\jbpm\repository\jbpm\identity\3.2.Alpha1
  | -SNAPSHOT\lib\jbpm-identity.jar
  | [jbpmschema] using jbpm configuration jbpm/db2.jbpm.cfg.xml
  | 
  | BUILD FAILED
  | C:\projects\hibernate\jBPM\jbpm.3\build\build.xml:36: The following error 
occurr
  | ed while executing this line:
  | java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

So the classpath sent into the taskdef is just fine containing everything that 
is needed.  I'm using Apache Ant version 1.6.5 compiled on June 2 2005

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

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


[jboss-user] [JBoss Seam] - Re: nested datatables with s:link

2006-07-17 Thread lcoetzee
I have found a way using MyFaces Tomahawk's updateActionListener. Something 
like: 
  | h:form id=section_questions
  | ul id=linkslist
  | t:dataList value=#{sections} 
var=currentSection layout=simple
  | rendered=#{not empty sections} 
id=dt1
  | rowIndexVar=sectionRowIndex
  | lih:outputText 
value=#{currentSection.sectionLabel} /
  | 
  | ul
  | t:dataList 
value=#{currentSection.questions}
  | var=currentQuestion 
layout=simple
  | 
rowIndexVar=questionRowIndex
  | rendered=#{not empty 
currentSection.questions} id=dt2
  | lih:commandLink
  | 
action=#{questionSelectionBean.selectQuestion} id=cl1
  | h:outputText 
value=#{currentQuestion.questionLabel} /
  | 
t:updateActionListener id=sectionListener
  | 
property=#{sectionSelectionBean.sectionRowIndex}
  | 
value=#{sectionRowIndex} /
  | 
  | 
t:updateActionListener id=questionListener
  | 
property=#{sectionSelectionBean.questionRowIndex}
  | 
value=#{questionRowIndex} /
  | 
  | /h:commandLink/li
  | /t:dataList
  | 
  | /ul
  | /li
  | /t:dataList
  | 
  | /ul
  | /h:form

Unfortunately the solution forces me to use a form/commandLink action. I get 
the following exception when trying to use the s:link.


  |  ERROR [STDERR] 2006/07/17 03:23:34 com.sun.facelets.FaceletViewHandler 
handleRenderException
  | SEVERE: Error Rendering View[/secure/questionnaire/sections.xhtml]
  | java.lang.ClassCastException: org.jboss.seam.ui.HtmlLink
  | at 
csir.utils.taghandlers.TomahawkUpdateActionListenerHandler.apply(TomahawkUpdateActionListenerHandler.java:76)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
  | at 
com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
  | at 
com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
  | at 
com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
  | at 

[jboss-user] [JBoss jBPM] - Re: Oracle 10G and JBPM 3.1.1 Issues

2006-07-17 Thread falazar
I am working on some of the stuff now, trying to get everything all cleaned up 
and usable.

James

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

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


[jboss-user] [JBossWS] - Namespace declaration in every element of web service respon

2006-07-17 Thread Gori
In the response we recieve from our web service, the declaration of the 
namespace (xmlns:ns1=http://our.website/services/types;) is repeated in every 
element even though only one declaration would do in the top element 
(ns1:myMethodResponse). Is there a way we can tell JBoss not to generate a 
namespace declaration if the parent element already belongs to the same 
namespace ?

We use JBoss 4.0.4.GA

Below is the response :

env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
env:Header/
env:Body
ns1:myMethodResponse 
xmlns:ns1=http://our.website/services/types; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
ns1:header
ns1:version 
xmlns:ns1=http://our.website/services/types;1.0/ns1:version
ns1:senderTime 
xmlns:ns1=http://our.website/services/types;2006-07-17T13:06:48.867Z/ns1:senderTime
ns1:senderId 
xmlns:ns1=http://our.website/services/types;CommonBank/ns1:senderId
ns1:language 
xmlns:ns1=http://our.website/services/types;NL/ns1:language
ns1:systemSoftwareVersion 
xmlns:ns1=http://our.website/services/types;4.00.00.0033/ns1:systemSoftwareVersion
/ns1:header
ns1:myMethodResponse 
xsi:type=ns1:myMethodResponseV1DTO
ns1:checkedAccountNumbers 
xmlns:ns1=http://our.website/services/types;
ns1:checkedAccountNumber 
xmlns:ns1=http://our.website/services/types;
ns1:accountNumber 
xmlns:ns1=http://our.website/services/types;BE06792503601622/ns1:accountNumber

ns1:timestampLastAvailableDocument 
xmlns:ns1=http://our.website/services/types;2006-05-05T00:00:00.000Z/ns1:timestampLastAvailableDocument
/ns1:checkedAccountNumber
...
/ns1:checkedAccountNumbers
/ns1:myMethodResponse
/ns1:myMethodResponse
/env:Body
/env:Envelope


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

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


[jboss-user] [Beginners Corner] - Re: JBoss goes down!

2006-07-17 Thread nabieh
Dear Jaikiran,
 Thanks for your being concerned about my issue.

I am quite sure that we do not use rs.next unless in reguler if statements and 
when one record is to be obtained from it:


  | 
  | String sql = select count(*) as COUNT from table;
  | if (rs.next()) {
  |.
  |int count = rs.get(COUNT);
  | }
  | 
  So, it is okay. And I have been in writing J2EE application about 4 
years. It is okay.
  Since we run JBoss as a service and not a DOS console, I have to review 
this SendSignal to achieve the goal of getting those records, I will update 
you once get a concern. Will be waiting for the JBoss till it gets into that 
status and get the logs of the threads. Thanks to you, you gave me a great idea.

Nabieh.

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

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


[jboss-user] [JBoss jBPM] - Re: jbpmschema fails to build for CVS HEAD

2006-07-17 Thread newbie007
Hi,

Most of your jar files are coming from folder
C:\Documents and Settings\...

May be because of spacing in the directory structure, it is not able to find
the jar file?

It may sound stupid but try putting all the jars in the directory without space

Thanks.

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

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


[jboss-user] [JBoss jBPM] - Webapp has Incorrect red highlight feature

2006-07-17 Thread falazar
One problem we noticed was the red bar in teh web app, that is put there by 
javascript, appersin the wrong position, only half covering the box.  

Has anyone else seen this problem?
http://www.falazar.com/ut/Screenshot.png

It appears to be created by the javascript on top of the large png image, but 
Im not sure exactly why it is getting the wrong size.
In the packed starter kit process, it appears correct, but on any others it is 
wrong.

James Ratcliff

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

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


[jboss-user] [JBoss Portal] - How can i implement themes in my application like in Jboss p

2006-07-17 Thread anurudh
hello,
  Please tell me, how can i implement themes in my application like in 
Jboss portal welcome page. I want to create a separate portlet for that in 
which links are given and on clicking the link themes should get changed.

Thanks!!1

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

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


[jboss-user] [JBoss Seam] - Re: nested datatables with s:link

2006-07-17 Thread lcoetzee
Jip, it will work. My one fear of using the RequestParameter stuff is that I 
need to add a bit more error handling to ensure that somebody isn't messing 
with the url (e.g  sending a bogus row value).

Thanks

L



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

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


[jboss-user] [JBoss jBPM] - Re: Webapp has Incorrect red highlight feature

2006-07-17 Thread cpob
I've seen this a few times.  I think it has something to do with the gpd.xml 
that the GPD designer itself generates to indicate where the nodes are.

Sometimes the boxes are aligned right, sometimes they are off.  I think turning 
the grid on fixes it sometimes (View - Show Grid) in the GPD, but this is just 
a guess.

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

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


[jboss-user] [JBoss jBPM] - Re: How to use faultVariable in fault handler?

2006-07-17 Thread jiehuan_li
Alex,

Thanks for the reply.  I tried defining the variable in the enclosing scope and 
then referencing it in the faultHandler by faultVariable, but I ran into a 
dilemma.  If I try to deploy the definition with the faultVariable specified in 
the faultHandler, I am getting the following exception:


  | 10:05:41,967 ERROR [[DeployServlet]] Servlet.service() for servlet 
DeployServlet threw exception
  | org.jbpm.jpdl.JpdlException: [[ERROR] jbpmbpel.bpel catch must specify 
either a faultMessageType or a faultElement [/process/faultHandlers/catch]]
  | at 
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:84)
  | at 
org.jbpm.bpel.web.deploy.DeployServlet.doGet(DeployServlet.java:49)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.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)
  | 

Then I added 'faultElement' in the 'catch', I am getting the following 
exception:

  | 09:28:51,999 ERROR [[DeployServlet]] Servlet.service() for servlet 
DeployServlet threw exception
  | org.jbpm.jpdl.JpdlException: [[ERROR] jbpmbpel.bpel(36) 
cvc-complex-type.3.2.2: Attribute 'faultElement' is not allowed to appear in 
element 'catch'.]
  | at 
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:84)
  | at 
org.jbpm.bpel.web.deploy.DeployServlet.doGet(DeployServlet.java:49)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.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 

[jboss-user] [JBoss Portal] - Login page cannot render the theme in JBoss Portal 2.4

2006-07-17 Thread ericmacau
Hello,

I am not sure if it is my problem or other users also have the same problem.

In the login page, it seems cannot render the theme (style sheet).
As the result, only a plain login page with left alignment to the screen.

I have tried the 2.4 (from alpha to CR2), the results are same.

Anyway, the login page is totally differnt from the 2.2. Please check.

I also tried to view the page source via the browser, it is completely same as 
the 2.2, but cann't render  the theme.

Eric

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

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


[jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks)

2006-07-17 Thread dlipski
Maybe some one knows sites where i can found same example processes ?
It's hard to imagine that there isn't simple solution for such (in my opinion) 
common situation.
Nevertheless i have second question:
How i can get list o tasks for user grouped by task node ? Or better how to get 
task nodes where user have some tasks to perform, and then get only these 
tasks. (considering task assignments)

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

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


[jboss-user] [JBoss Seam] - Re: Clean Seam installation - but errors, errors, errors...

2006-07-17 Thread jacxia81
Actually, it's still a problem of jar version between those shipped by Seam and 
by Jboss. Jboss comes with an old version of LocalManagedConnectionFactory in 
its jboss-common-jdbc-wrapper.jar (C:\Program 
Files\jboss-4.0.4.GA\server\default\lib). You can delete it and use instead the 
jboss-ejb3-all.jar shipped by Seam to resolve the problem. (You can't resolve 
the problem by simply copying the new jar into the directory since the 
jboss-common-jdbc-wrapper.jar is before jboss-ejb3-all.jar in the classpath)

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

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


[jboss-user] [JBoss jBPM] - Re: Webapp has Incorrect red highlight feature

2006-07-17 Thread falazar
Ok, I opened the gpd.xml and took a look at the code there:


  |   node name=Final State x=552 y=544 width=140 height=-1/
  |   node name=submitted x=274 y=143 width=140 height=-1
  | transition name=return
  |   label x=4 y=-1/
  | /transition
  | transition name=approve
  |   label x=5 y=-10/
  | /transition
  |   /node
  | 

It appears that every node has a -1 height value, which doesnt appear correct.

If anyone else knows anything about this problem, it would be great to get a 
patch in place.  Its real bad form to see this when demonstrating the package :{

James Ratcliff

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

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


[jboss-user] [JBoss jBPM] - Re: invoking code from an ear file

2006-07-17 Thread hosierdm
The only solution I could really come up with was to not use the jbpm.sar and 
deploy the jbpm libraries directly in my ear.  I even put the jbpm.war in my 
ear as well.  I'm not clear on the reason/benefits of having jbpm deployed as a 
service with the sar file.  If you search this forum, there was some discussion 
on the matter a while back, but I don't know if there was every any kind of 
resolution.

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

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


[jboss-user] [JBoss Seam] - Re: Clean Seam installation - but errors, errors, errors...

2006-07-17 Thread bfo81
Well, life can be so easy. All occurences of NoSuchMethodError ... 
getValidateOnMatch()z are gone. Thanks a lot for that advice :).

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

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


[jboss-user] [JBossCache] - Jboss Tree Cache EJB Remote Clients Problems

2006-07-17 Thread chicago_pool_dude
Hi every one,
 We have an internal class implementation with in our organization of Jboss 
Tree Cache. Which wraps around the one from JBoss, this was done as way to 
avoid the users to cut the direct dependency on JBoss.  We want this service to 
be used by clients from across the network so we put a stateless session bean 
before that more of a façade, and Tree Cache is will be instantiated using 
Spring Core. We were of the opinion that through spring we can not only get an 
instance of the Tree Cache but also we can take care of it being singleton. So 
our session bean has put and gets methods to put an object, but the interface 
works fine in one session call, I can put and get the methods. But when I put 
an object into Tree Cache in one session bean call and later try to retrieve it 
from another call I get a ?null?. Can any please tell me what is happening here 
and how we can get a EJB interface to Tree Cache.

Thanks in advance.
Regards,



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

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-17 Thread jactor
The second error is my own wrong doing...

I forgot to remove some old configuration from the build script. But the first 
deployment-waiting is still a mysteri...

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

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


[jboss-user] [JBoss Seam] - Re: Clean Seam installation - but errors, errors, errors...

2006-07-17 Thread bfo81
LOL :D. There's even more that's better now.

I had a simple CRUD prototype for some entities. Creating worked well, but 
updating and deleting just didn't. The entity to edit had the right Id after 
showing it on the editor page. But as soon as I trigged a JSF action (save or 
delete) the Id became null. I don't know why this happened, but whatever... 
everything works fine now :).

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Where is SystemPropertiesService in JBoss 4.0.4 (EJB 3.0

2006-07-17 Thread [EMAIL PROTECTED]
This bug was fixed in the 1.2.0.BETA1 version of the installer. You can get it 
from http://labs.jboss.com/portal/jemsinstaller/downloads. Also see workaround 
at http://jira.jboss.com/jira/browse/JBINSTALL-42.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JBossCacheService to Tomcat clustering not found

2006-07-17 Thread ivan.pe
Recently I have upgraded to JBoss 4.0.4GA, by custom installation and after my 
ear containing web module gets deployed I am getting JBoss cache / clustering 
exception via bundled Tomcat. I have checked Tomcat config (server.xml) and I 
can't find any option how to stop this exception from happening.  However it 
has no impact on the deployed application, but the exception bug me a lot!

Any suggestions welcome.


15:47:01,441 INFO  [JBossCacheManager] init(): replicationGranularity_ is 0 and 
invaldateSessionPolicy is 2
15:47:01,453 ERROR [JBossCacheService] 
jboss.cache:service=TomcatClusteringCache service to Tomcat clustering not found
15:47:01,453 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering 
not found
org.jboss.web.tomcat.tc5.session.ClusteringNotSupportedException: 
jboss.cache:service=TomcatClusteringCache service to Tomcat clustering not found
at 
org.jboss.web.tomcat.tc5.session.JBossCacheService.(JBossCacheService.java:127)
at 
org.jboss.web.tomcat.tc5.session.JBossCacheManager.init(JBossCacheManager.java:144)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:332)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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 $Proxy39.start(Unknown Source)
at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at 
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at 
org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy40.start(Unknown Source)
   

[jboss-user] [JBoss Seam] - Embeddable Objects (EJB3) not working properly

2006-07-17 Thread niesar
Hi guys,

in a Seam/JSF/Facelets evaluation project I ran into the following problem. 
Looks like there is a problem if you use embeddable Objects in Entity beans. 

Consider the following entity bean containing an embedded object: @Entity
  | @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
  | @DiscriminatorColumn(name = TYPE, discriminatorType = 
DiscriminatorType.STRING)
  | @Table (name = CLassAB)
  | @Name(classA)
  | public class ClassA 
  | implements java.io.Serializable {
  | 
  | @Id
  | @GeneratedValue
  | @Column (name = Id)
  | private int id;
  | 
  | @Column (name = Var1, nullable=false, length=3)
  | @NotNull @Length(min=2, max=3)
  | private String var1;
  | 
  | @Embedded// ---  trouble 
maker
  | private ClassE classEInst;
  | 
  | @Basic
  | private Double latitude;
  | 
  | @Basic
  | private Double longitude;
  | 
  | 
  | 
  | public int getId() {
  | return id;
  | }
  | 
  | protected void setId(int id) {
  | this.id = id;
  | }
  | 
  | 
  | public String getVar1() {
  | return var1;
  | }
  | 
  | public void setVar1(String var1) {
  | this.var1 = var1;
  | }
  | 
  | 
  | public ClassE getClassEInst()
  | {
  | return classEInst;
  | }
  | 
  | public void setClassEInst(ClassE classEInst)
  | {
  | this.classEInst = classEInst;
  | }
  | 
  | 
  | public Double getLatitude() {
  | return latitude;
  | }
  | 
  | 
  | public void setLatitude(Double latitude) {
  | this.latitude = latitude;
  | }
  | 
  | public Double getLongitude() {
  | return longitude;
  | }
  | 
  | public void setLongitude(Double longitude) {
  | this.longitude = longitude;
  | }
  | 
  | public GeoPoint getLocation() {
  | return new GeoPoint(latitude,longitude);
  | }
  | 
  | 
  | public String toString() {
  | return var1;
  | }
  | }Please disregard the inheritance. You don't need to bother with it for 
this issue.

ClassE just contains a single integer in this test [EMAIL PROTECTED]
  | public class ClassE 
  | implements java.io.Serializable {
  | 
  | private int classEVar;
  | 
  | 
  | public ClassE() {
  | }
  | 
  | 
  | public ClassE(int classEContents) {
  | this.classEVar = classEContents;
  | }
  | 
  | public int getClassEVar() {
  | return classEVar;
  | }
  | 
  | public void setClassEVar(int classEVar) {
  | this.classEVar = classEVar;
  | }

The problem arises in a JSF page where I want to edit instances of entity bean 
ClassA (classAEdit.xhtml):!DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 
Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:o=http://www.optimizer.de/jsf;
  | template=template.xhtml
  | 
  | !-- content --
  | ui:define name=content
  | div class=section
  | h1Edit ClassA - Test/h1
  | h:form
  | fieldset
  | o:classA-input classAInst=#{classASearch.selectedClassAInst} 
showId=#{false} /// -(1)
  | div class=entry errorsh:messages globalOnly=true 
//div
  | div class=entry
  | div class=input
  | h:commandButton value=Save 
action=#{classAEdit.update} class=button/ 
  | h:commandButton value=Delete 
action=#{classAEdit.delete} class=button/ 
  | s:link value=Cancel 
action=classAList linkStyle=button buttonClass=button/
  | /div
  | /div
  | /fieldset
  | /h:form
  | /div
  | /ui:define
  | /ui:composition
Take a look at (1). 
tag classA-input is defined in a facelets tag lib (classA-input.xhtml)!DOCTYPE 
html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:c=http://java.sun.com/jstl/core;
  |   xmlns:fn=http://java.sun.com/jsp/jstl/functions;
  |   xmlns:s=http://jboss.com/products/seam/taglib;
  |   

[jboss-user] [JBossWS] - Re: java-wsdl conversion for Custom Exception

2006-07-17 Thread camunda
Hi rt_s,

have you solved this problem? We are facing the same problem...

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

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


[jboss-user] [EJB 3.0] - Re: Adaption to JEE classes packaging

2006-07-17 Thread PeterJ
Download and install EJB3 RC8 from http://labs.jboss.org/portal/jbossejb3.  The 
classes are in the correct packages there.

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

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


[jboss-user] [JBoss AOP] - Newbie - Help Needed

2006-07-17 Thread andydale
Hi,

I am new to AOP and am currently running into problenm when trying to implement 
a custom aspect (interceptor) on JBoss 4.0.4GA.

I have already managed to write a working Interceptor by actually coding it 
inside the bean with the @AroundInvoke, but now i want to implement it like 
demonstrated here 
http://docs.jboss.org/jbossas/jboss4guide/r3/html/aop.chapt.html with having a 
.jar (custom Aspect) file, and jboss-aop.xml file in the deploy directoy, and 
annotation the method in the bean.  The problem i am currently having is that 
it never seems to fire.

TestInterrup.java (aspect interace)
package com.jboss.aspect;
  | 
  | import java.lang.annotation.Target;
  | import java.lang.annotation.ElementType;
  | 
  | @Target({ElementType.METHOD})
  | public @interface TestInterrupt {}

TestInterruptAspect.java
package com.jboss.aspect;
  | 
  | //import the relevant aop libs
  | import org.jboss.aop.joinpoint.Invocation;
  | 
  | public class TestInterruptAspect {
  | 
  | public Object testInterrupt(Invocation invocation)throws Throwable{
  | 
  | //test print
  | System.out.println( Interrupt fired successfully );
  | 
  | return invocation.invokeNext();
  | }
  | 
  | }

jboss-aop.xml
?xml version=1.0 encoding=UTF-8 standalone=yes?
  | aop
  | aspect class=com.jboss.aspect.TestInterruptAspect
  |   scope=PER_VM/
  | 
  | bind pointcut=execution(* *-@com.jboss.aspect.TestInterrupt(*))
  | advice name=testInterrupt
  | aspect=com.jboss.aspect.TestInterruptAspect/
  | /bind
  | /aop
  | 

Can anyone offer me any advice on how to solve the problem of it not firing on 
method invocation ?

Thanks in advance,

Andy

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

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


[jboss-user] [JBoss Seam] - Re: Clean Seam installation - but errors, errors, errors...

2006-07-17 Thread bfo81
Now I tried to run my app WITH jboss-common-jdbc-wrapper.jar and WITHOUT 
jboss-ejb3-all.jar. This works, too. So it looks like those two just hate each 
other ;).

I had added the jboss-ejb3-all.jar due to an exception (see above) that I had 
with the CVS version of Seam. But as I switched to normal Seam now this 
exception doesn't emerge anymore, so there seems to be no need for this JAR (in 
opposition to what Gavin said in the thread I mentioned in my first post).

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

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


[jboss-user] [JBoss jBPM] - Re: Graphical designer : red box

2006-07-17 Thread falazar
Did you find an answer to this?  I opened another topic asking a similar 
question.

James Ratcliff

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

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


[jboss-user] [Performance Tuning] - Re: OutOfMemoryError: unable to create new native thread

2006-07-17 Thread genman
mdaguete wrote : Hi all,
  | I'm usign jboss 4.0.3 in debian stable with linux kernel 2.6.8-2-686-smp in 
a 2x Xeon CPU with Hyperthreading, Java HotSpot(TM) Server VM (build 
1.5.0_05-b05, mixed mode) and 4GB RAM, af ter a few days my application throws 
a OutOfMemoryError: unable to create new native thread 
  | 

You may want to check if your application is leaking threads. You can actually 
run out of mappable process memory if you have too many threads, even though 
you have lots of heap still.

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

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


[jboss-user] [JBoss jBPM] - Re: A question about jBPM console

2006-07-17 Thread falazar
This happens in mine as well, very regularly, every other time I click on home, 
the bottom section will dissappear, then when I click again, it will reappear.

I reproduced this on seperate systems in multiple browsers, to confirm that it 
is not just a browser snafu.

James Ratcliff

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

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


[jboss-user] [EJB 3.0] - Re: Deployment problem

2006-07-17 Thread PeterJ
Which line of your code generated the exception?

Is this line a typo: em.persist(em);  (should read em.persist(tm);)

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBossCacheService to Tomcat clustering not found

2006-07-17 Thread [EMAIL PROTECTED]
Your webapp must be marked as distributable in web.xml.  With these errors 
you see, session replication is no longer occuring; Tomcat is falling back to 
the standard non-replicating session manager.

The configuration of the JBoss Cache instance used for session replication 
changed in 4.0.4; if you have a custom config you may not have the proper 
config.  This is briefly discussed under 
http://wiki.jboss.org/wiki/Wiki.jsp?page=404UpgradeIssues .

Basically, I suggest you take a look at the standard JBoss distribution's 
all/deploy folder and make sure you have a tc5-cluster.sar in your custom 
config that matches the one in the standard distro.  If you modified your 
tc5-cluster-service.xml file in the earlier release, edit the 
tc5-cluster.sar/META-INF/jboss-service.xml file to merge in your edits -- file 
has basically the same purpose, just in a different location.

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

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


[jboss-user] [JBoss Portal] - Can't Make a Simple project work on JBoss Portal.

2006-07-17 Thread jeonggoo
Hi, 

I installed the JBoss Portlet Plug-in 1.1.2 on my eclipse 3.1.2. 
I create a new portlet project with a test page. 
Without adding anything, I used ant and made a .war file and copied it to 
jboss-homeserver\default\deploy. 

The name of the project appeared in Page portlet. (nice) 

However, when I clicked it (after logged in as admin), some error page came out 
saying 
 
HTTP Status 401- 
This request requires HTTP authentication(). 
_ 


And I got some error message on the dos prompt winows too like below. 
I've spent so many hours for this silly problem. 

I wonder if someone help me with this. 

Thanks, 

Jack 




10:41:59,508 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect 
10:41:59,508 INFO [SchemaExport] Running hbm2ddl schema export 
10:41:59,508 INFO [SchemaExport] exporting generated schema to database 
10:41:59,518 INFO [NamingHelper] JNDI InitialContext properties:{} 
10:41:59,518 INFO [DatasourceConnectionProvider] Using datasource: java:PortalD 
S 
10:41:59,518 INFO [SchemaExport] schema export complete 
10:41:59,558 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep 
loy/jmx-console.war/ 
10:41:59,718 ERROR [URLDeploymentScanner] Incomplete Deployment listing: 

--- Incompletely deployed packages --- 
[EMAIL PROTECTED] { url=file:/C:/portals/jboss-portal 
-2.4.0-CR1/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.js
 
e } 
deployer: [EMAIL PROTECTED] 
status: Deployment FAILED reason: Could not create deployment: file:/C:/portal 
s/jboss-portal-2.4.0-CR1/server/default/tmp/deploy/portal-wsrp.war; - nested 
thr 
owable: (org.jboss.ws.metadata.wsdl.WSDLException: WSDLException (at 
/wsdl:defin 
itions/import/wsdl:definitions/import/wsdl:definitions/wsdl:types/schema/schema)
 
: faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced 
a 
t 'http://www.w3.org/2001/xml.xsd', relative to 
'file:/C:/portals/jboss-portal-2 
.4.0-CR1/server/default/tmp/deploy/portal-wsrp-exp.war/WEB-INF/wsdl/wsrp_v1_type
 
s.xsd'.: Cannot access imported wsdl [http://www.w3.org/2001/xml.xsd], 
www.w3.or 
g: java.lang.RuntimeException: Cannot access imported wsdl 
[http://www.w3.org/20 
01/xml.xsd], www.w3.org 
at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory$WSDLLocatorImpl.get 
ImportInputSource(WSDLDefinitionsFactory.java:310) 
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:740) 
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:830) 
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:620) 
at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:583) 
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java: 
302) 
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2133) 
at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:450) 
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java: 
294) 
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2133) 
at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:450) 
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java: 
294) 
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2133) 
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2125) 
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2150) 
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2171) 
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2201) 
at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio 
nsFactory.java:144) 
at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaD 
ata.java:273) 
at org.jboss.ws.metadata.JSR109ServerMetaDataBuilder.buildMetaData(JSR10 
9ServerMetaDataBuilder.java:111) 
at org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(W 
ebServiceDeployerJSE.java:189) 
at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java 
:103) 
at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJS 
E.java:66) 
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor. 
create(SubDeployerInterceptorSupport.java:180) 
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce 
ptor.java:91) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. 
java:264) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 
at $Proxy92.create(Unknown Source) 
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at 

[jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool

2006-07-17 Thread gcowsar
I made some progress.

After re-installing JBoss using the JEMS installer and Seam using a build from 
CVS I was able to run the tool and get the find and create pages served up.

My table has just 2 cols:

+--+--+--+-+-+---+
  | | Field| Type | Null | Key | Default | Extra |
  | +--+--+--+-+-+---+
  | | lastname | varchar(50)  | NO   | PRI | |   |
  | | email| varchar(255) | YES  | | NULL|   |
  | +--+--+--+-+-+---+
  | 

When I try to do a find I get no results and JBoss says:

09:02:30,122 INFO  [Pages] no pages.xml file found
09:02:30,906 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.PRETTY_HTML' found, using default value true
09:02:30,906 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
09:02:30,906 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
09:02:30,907 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.AUTO_SCROLL' found, using default value false
09:02:30,910 WARN  [HtmlLabelRenderer] Unable to find component 'lastname' 
(calling findComponent on component '_id2:_id9')
09:02:30,914 WARN  [HtmlLabelRenderer] Unable to find component 'email' 
(calling findComponent on component '_id2:_id10')
09:02:30,915 WARN  [HtmlLabelRenderer] Unable to find component 'pageSize' 
(calling findComponent on component '_id2:_id11')

No exceptions but no results.


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

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


[jboss-user] [JBoss Portal] - Re: Search function in Forum and CMS

2006-07-17 Thread [EMAIL PROTECTED]
danny_hon wrote : Will JBoss Forum search available in JBP 2.4?

Unfortunately no.

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

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


[jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem

2006-07-17 Thread [EMAIL PROTECTED]
This looks correct.  

1) Do you have cookies enabled, or are you trying to use URL rewriting (which 
won't work w/ Clustered SSO)?

2)  I suspect you get the same DEBUG 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] SSO cookie is 
not present message when using BASIC; it's just that with BASIC the browser 
presents your credential so the logon happens transparently.  Please confirm.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM_PROCESSDEFINITION table not found

2006-07-17 Thread newbie007
Check the console to see if hibernate is pointing to right database or not.
Hibernate will display the schema it points to  and it will also tell the 
database version on the console.

Thanks.



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

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


[jboss-user] [EJB 3.0] - Re: Bug when transaction rollback ocurrs and caching relatio

2006-07-17 Thread javierpedrido
Hi, I would like to contribute a patch for this bug. Could some of the 
developers tell me where should I start looking for the cause (Hibernate, 
Hibernate annotations)?

Thanks,
Javier

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

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


[jboss-user] [JBoss Seam] - Persistence

2006-07-17 Thread x-avila
HI: 

I've configured seam and follw steps for CRUD app. 
I deployed the app and all seems to be fine, but the app. is not making the 
persistence well. When I create data, the data is not stored in the DB. 

Could someone help me? 

Thanks in advance. 

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

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


[jboss-user] [JBoss Portal] - Re: Can't Make a Simple project work on JBoss Portal.

2006-07-17 Thread jeonggoo
Wow it works now.

Thank you Roy!

Jack

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

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


[jboss-user] [JBossCache] - Re: Transactions in JBossCache 1.4CR2

2006-07-17 Thread KChvilyov
Sorry, I can't boil it down to a simple junit test case.
And I have not more detailed error log...
May be later :)

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Integration of Custom Client and Server Login Modules

2006-07-17 Thread j2ee_junkie
Hi Kearns,

So you have a web-enabled client.  I am still not clear on what is your 
identifing principal and what is your credential.  What does the user enter in 
the form?  My point is to determine how your authentication data can be used as 
a String/Principal identity and an Object credential.  From there, we can talk 
about how to get this data to your server login module.

In the mean time, also check out the server guide chapter 8 at 
http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch8.chapter.html.  

cgriffith

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

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


[jboss-user] [JBoss Seam] - Re: Relilability of the context cache

2006-07-17 Thread [EMAIL PROTECTED]
Seam is built to take advantage of the features of the underlying Java EE 
implementation. For example, the conversation context data is actually kept in 
the HttpSession when server-side conversations are used.

So no, there should be no loss of data when a server fails ;-)

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

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


[jboss-user] [JBoss Seam] - Re: General conversation question

2006-07-17 Thread [EMAIL PROTECTED]
Yes, conversation scope can be used like this if you don't need bookmarkability.

But note that Seam also makes it easier to work with request parameters in JSF.

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

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


[jboss-user] [JBoss Seam] - Re: nested datatables with s:link

2006-07-17 Thread [EMAIL PROTECTED]
Is this yet another case of the Tomahawk stuff just not playing nicely with 
others?

I'm really really getting close to adding a big don't use tomahawk components 
because they are too broken warning in the Seam docs.

I'm really waiting for the Trinidad stuff to finally get released

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

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


[jboss-user] [JBoss jBPM] - Re: Transactions fail due to confiuration of Persistence

2006-07-17 Thread kazam
Hi, 
I changed the database for JBPM back to HSSQL but still same issue.
I have found that the persistence fails only for IdentitySession.


  | JbpmContext context = JbpmConfiguratoin.getInstance().createJbpmContext();
  | Session session = jbpmContext.getSession();
  | IdentitySession idsession = new IdentitySession(session);
  | idesession.beginTransaction();
  | .
  | idsessoin.saveGroup(aGroup);
  | idsession.commitTransaction();
  | idsessoin.close();
  | finally
  | {
  | jbpmContext.close{}
  | 
  | }
  | 
Error 

  | org.jbpm.persistence.JbpmPersistenceException: coudlnt commit hibernate 
sessoin.
  | transaction not successfully started.

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

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


[jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly

2006-07-17 Thread [EMAIL PROTECTED]
You need a JSF converter.

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

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


[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-17 Thread kukeltje
sorry for the delayed response, I have been playing golf in France for 4 days.

The advantage is that you can put datepickers, dropdownlists etc in your pages 
and they work. With 3.1 you can only have 'text inputs'

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

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


  1   2   >