[jboss-user] [JBossWS] - Streaming webservices

2008-06-16 Thread tommy.bergkvist
Hi,

I am using jbossas 4.2.2, jbossws 3.0.1.
I am having some trouble with my webservice implementation. My endpoint needs 
to be able to both send and receive large XMLs. In my case there are large 
elements (100 Mb) which are Base64 encoded.

All attempts on sending such XML ends up as a DOMSource on my endpoint. Is 
there any way to configure Webservices to not parse the incoming message and 
use StreamSource instead. I have no interest what so ever to 
marshall/unmarshall, validate, use Interceptors nor Handlers. I would be very 
pleased if incoming message could be streamed straight down to disk.

If StreamSource is not possible, then a StaxSource using the Woodstox 
implementation would be nice as well (it handles large Elements).

I am also having a similar problem with my stand-alone client. It runs with 
java 1.6. As soon as an Element is larger than 100kb I get an Exception that 
end element is missing, It seams that the XMLStreamReader (which is used by 
com.sun.xml.internal.ws.client.dispatch) can not handle large Elements.

Do I need to use Spring to be able to stream over Webservices?

Anyone has any ideas?

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Tomcat 6 comet support in 4.2.2

2008-06-16 Thread [EMAIL PROTECTED]
anonymous wrote : You're referring to org.jboss.web.comet.CometProcessor, right?
Yes.

Using JBossWEB 2.1.x jar files could help but that is not a supported 
configuration.

The Comet should be in the AS 5.0.x versions but you can use the standalone 
version.
The developers are still discussing the definitive API we will make a JBossWEB 
release soon.

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

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


[jboss-user] [Beginners Corner] - Re: TO Delete the entire records in a table

2008-06-16 Thread jaikiran
Being discussed at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=137482

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results

2008-06-16 Thread jaikiran
I don't believe the jdbc batch size would affect your query output. 

For further logging options, see this 
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-logging

And yes, do look for the actual query being fired by Hibernate in the logs. 
Something similar to:

2008-06-16 20:38:57,886 TRACE [http-0.0.0.0-8080-2] 
[org.hibernate.loader.custom.sql.SQLCustomQuery] starting processing of sql 
query [SELECT DISTINCT USR.ID FROM USER USR WHERE  USR.name like '%jai%']
  | 2008-06-16 20:38:57,917 TRACE [http-0.0.0.0-8080-2] 
[org.hibernate.impl.SessionImpl] SQL query: SELECT DISTINCT USR.ID FROM USER 
USR WHERE  USR.name like '%jai%'
  | 2008-06-16 20:38:57,932 DEBUG [http-0.0.0.0-8080-2] [org.hibernate.SQL] 
SELECT DISTINCT USR.ID FROM USER USR WHERE  USR.name like '%jai%' limit ?, ?
  | 

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results

2008-06-16 Thread rabbiaqaswar
Do you think it has anything to do with the following property in 
persistence.xml file:



Will try debugging through Trace.


Thanks

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB's activated too early

2008-06-16 Thread hurzeler
How did you use the @Depends annotation to get around the issue?

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

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


[jboss-user] [JBoss jBPM] - Re: How to capture the connection line(Starting point, end po

2008-06-16 Thread tjcuwangji
sorry the sample file didn't show up, let me try again:

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss jBPM] - Need the source code of jbpm-console module of jbpm-3.2.2 ve

2008-06-16 Thread alok0007_07
I need the source code of jbpm-console module of jbpm-3.2.2 version. 

Can anyone tell methe process or steps to get the source code..

Thanks in Advance


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Trying to get JBoss and Hibernate to integrate

2008-06-16 Thread jaikiran
For debugging, why not just print the stacktrace in the catch block of your 
hibernate util:

try {
  | 
  | AnnotationConfiguration config = new AnnotationConfiguration();
  | config.addAnnotatedClass( User.class );
  | config.configure();
  | 
  | sessionFactory = config.buildSessionFactory();
  | 
  | } catch (Throwable ex) {
  | ex.printStackTrace();
  | // Log exception!
  | throw new ExceptionInInitializerError(ex);
  | }

That might show you the actual error.

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

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


[jboss-user] [JBoss Tools (users)] - jboss tools not read for seam..

2008-06-16 Thread Elhananm
hi all..

i'm in the process of converting the examples in seam directory to a seam 
project in jboss tools. 

so far i did the registration,messages and booking, i don't know to how 
contribute them (or where) but i would like to.

so far what i did was to create a project with the wizard, then copy all the 
java source files into the ejb project part, all the xhtml files the web 
project, and distribute the various files (sometimes copying parts of them)to 
the files allready created 

the projects are configured with mysql
to issues i've noticed, the messages project will fail with mysql as the read 
columns is reseverd keyword in mysql.
i had to convet the messages.jsp to my facelets.xhtml file as there was no way 
i could find to seperate the faceslres stuff from the project, and if i start 
using faces jsp with facelets i get some sort of runtime exception in jboss 
about line one.

also in the booking example, it kept comlaining how the authenticator 
componenet was allready defined (on the annotation of authenticatorAction), 
when i tried playing with the interface, it start to complain about there too, 
i then used recactor-rename on the interface, and the problems went away!!
also when it did report the name duplication, it did so 8 times, (and sometimes 
2 times in the error log).


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

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


[jboss-user] [JBoss jBPM] - HOw to use client side validation with JSF facets xhtml file

2008-06-16 Thread alok0007_07
Can anyone tell me, How can we use client side validation with JSF facets xhtml 
files in JBPM.

Thanks in Advance..


Regards

Alok Agrawal



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

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


[jboss-user] [JBoss jBPM] - Re: where forms.xml & other task forms(.xhtml) are stored in

2008-06-16 Thread ms_shitole
Hii Ronald!

Yes you answered but not exactly this question(about processdefinition.xml)
processdefinition.xml  is parsed and store in database but where other files 
like forms.xml and form.create.xhtml, form.evaluate.xhtml(these all are 
taskforms) are stored?

Ya I know all process variables are stored in JBPM_VARIABLEINSTANCE table. That 
means value of the field are stored in database but not  actual task 
forms(presentation part) is not stored in database, then where these forms are 
stored on server?

Thanking you
--Mansingh

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

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


[jboss-user] [JBoss jBPM] - Re: How to capture the connection line(Starting point, end po

2008-06-16 Thread tjcuwangji

Thanks Koen

I've read your pdf file you presented in eclipsecon 2006, very helpful to me.

I want to record all info (lines,nodes,..) of "processimage.jpg"  in another 
xml file, in order to be monitoring  the processses status when it's in running 
state using SVG.

below is a sample :
































































We currently record this stuff using Picture manupulated program to measure 
this out. super ineffective.  


Can u give me some ideas on how to work this out. Does info stored in gbd.xml I 
can use to caculated this out.
Many thanks!!

--Michael

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

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


[jboss-user] [JBoss Tools (users)] - Re: Errors testing a simple Seam action with the latest tool

2008-06-16 Thread [EMAIL PROTECTED]
yes - to run the unittests you need jdk 5.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Errors testing a simple Seam action with the latest tool

2008-06-16 Thread [EMAIL PROTECTED]
yes - to run the unittests you need jdk 5.

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

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


[jboss-user] Delivery Notification <[EMAIL PROTECTED]>

2008-06-16 Thread Postmaster
This is a delivery status notification, automatically generated by MTA 
mail.isc.chubu.ac.jp on Tue, 17 Jun 2008 12:26:04 +0900
Regarding recipient(s) : [EMAIL PROTECTED]
Delivery status : Failed. Message could not be delivered to domain 
 .Failed while initiating the protocol. <[('[EMAIL 
PROTECTED]', 550, '<[EMAIL PROTECTED]>: Recipient address rejected: User 
unknown in local recipient table')]>
MTA Response :550
The original message headers are included as attachment.
Reporting-MTA: dns; mail.isc.chubu.ac.jp

Final-Recipient: rfc822;buhg@isc.chubu.ac.jp
Diagnostic-Code: smtp;
	550 : Recipient address rejected: User
	unknown in local recipient table
Remote-MTA: dns; 157.110.56.201
Action: failed
Status: 5.0.0
--- Begin Message ---
*** Body Not Included ***
--- End Message ---
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Nightly builds of JBoss 5 beta?

2008-06-16 Thread rweed
Are there nightly (or weekly or whatever) builds of JBoss 5 that I can get at?  
I'm having a problem with Beta 4 that is listed as fixed in the bug database 
and I would like to get the latest version (however unstable it might be).

Thanks, Rick


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

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


[jboss-user] [JBoss jBPM] - Re: How to capture the connection line(Starting point, end po

2008-06-16 Thread [EMAIL PROTECTED]
Start and enpoints of connections are defined by the AnchorPoint interface in 
GEF. For the jBPM designer we use the simplest implementation of this which is 
a ChopboxAnchorPoint. You will most certainly have to look at GEF before you 
try to play with it.

Regards,
Koen

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

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


[jboss-user] [Beginners Corner] - Real Path of ear deployment

2008-06-16 Thread sankul123
Hi ALL,

I want to know how to get the real path of a deployed ear file in jboss.
I know how to get the real path of a deployed war file , but I want it for ear 
file.

I want to access a file which is directly under root of ear.

  | myApp.ear
  | |--version.xml [how to access this file to do File operations?]
  | |
  | |
  | |--web1.war
  | |
  | |--web2.war
  |  


Sandeep

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

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


[jboss-user] [JBoss Messaging] - Re: Remove old durable messages

2008-06-16 Thread hzfzl9
becareful about what?

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

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


[jboss-user] [JBoss Messaging] - Re: Remove old durable messages

2008-06-16 Thread [EMAIL PROTECTED]

You shouldn't need to write any application to clean up old messages.

When you remove the TopicSubscription, All the Message References to the Topic 
Subscription are deleted right away, and later the cleanup thread will delete 
orphaned Messages without references.


anonymous wrote : ...just to clean up JBoss Messaging old messages that clogs 
up the application memory? 

Please don't be vague in your allegations.  If you were more clear on the first 
post I wouldn't make the assumption you meant deleting message references and 
not the topic itself, and if you are pointing out a problem, we will gladly 
help any user. But general allegations without any supporting information will 
just waste our time (ours and yours)

I'm not aware of your internal coding, and this is the first time I saw you 
asking about cleaning up of message references.

So far it looks that everything some mistake from your side, so be careful or 
you could be flamed here :-)

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

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


[jboss-user] [JBoss jBPM] - How to capture the connection line(Starting point, end point)

2008-06-16 Thread tjcuwangji
 I cost huge a lot of time to study how to capture the starting point and end 
point of connection line between two nodes in jBPM Designer. it turns out I 
still can't get it.  Is there something magic happens inside framework GEF? Or 
my direction is wrong?

Can some jBPM designer guru lead me out of this? I really appreciate your help.


--Michael



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

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


[jboss-user] [JBoss jBPM] - Re: Hiding StaleObjectStaleException problem

2008-06-16 Thread [EMAIL PROTECTED]
StaleObjectStateExceptions are directed to the StaleObjectLogConfigurer, but 
the fact that one such exception could occur as the cause of a 
RollbackException is something that we did not see coming. You might want to 
report the issue and your proposed fix in Jira.

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

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


[jboss-user] [JBoss Messaging] - Re: Remove old durable messages

2008-06-16 Thread hzfzl9
>From my client program [Durable Subscriber], it unsubscribes itself when it is 
>shutting down.

>From the business point of view, my business partners don't want to receive 
>messages from the Topic anymore.  That means my business partners don't want 
>to do business with me any more and don't want to subscribe to my application 
>Durable Topic.

Therefore, my application needs to remove all the messages of those no longer a 
partner [subscribers] to my company and my Durable Topic Publisher application.

So, how do I go about to accomplish this task within JBoss Messaging without 
having to custom programming another home-grown application just to clean up 
JBoss Messaging old messages that clogs up the application memory?

Hope that I have made my messages point of view to come across.

Thanks,



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

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


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL on Other App Servers

2008-06-16 Thread [EMAIL PROTECTED]
The package org.jbpm.bpel.integration.server and all classes in jbpm-bpel.jar 
are independent of the target app server. To port jBPM BPEL to a new app server 
all you need to do is implement the EndpointMetadataLookup interface, register 
the new class in endpoint.metadata.lookups.xml and rebuild jbpm-bpel.ear.

To provide web services, jBPM BPEL requires access to the WSDL document and 
other metadata not available through the JAX-RPC API. This is why the metadata 
must be retrieved in an implementation-specific way. The ubication of this 
metadata changes even across JBoss AS versions. In particular, it changed 
radically from 4.0.3.SP1 to 4.0.4. You see, the portability issue is neither 
unexplored nor hard to tackle.

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

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


[jboss-user] [JBoss jBPM] - Re: why swimlane in start-task not assigned ?

2008-06-16 Thread joy_wind
kukeltje,thanks for your response.

I found the problem can be solved by explicitly creating a start task:
ProcessInstance pi = pdf.createProcessInstance();
  | pi.getTaskMgmtInstance().createStartTaskInstance();
only this way the jbpm will create a initiator swimlane instance.

there must be some consideration of jbpm team which make them not let jbpm 
create the initiator swimlance by just start the new process instance.
Anyway,create start task is not a big trouble and i will do so.

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

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


[jboss-user] [JBoss Messaging] - Re: can not unsubscribe durable subscriber in jboss-messagin

2008-06-16 Thread [EMAIL PROTECTED]
You probably have another Consumer somewhere else on the same subscription.

I don't believe there is a bug on this, but if you found an edge condition, 
please create a testcase replicating the problem and we will take a look.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to force the jboss container to redploy

2008-06-16 Thread jim.ma
I wrote a deployer to deploy "foo.abc" type file. During deployment , this 
deployer will generate a war file inside the foo.abc file . I see the 
URLScanner can not detect the "foo.abc"  file is changed, how can I notify the 
URLScanner it is changed or how can I force jboss container to redeploy it ?

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

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


[jboss-user] [JBoss Messaging] - Re: Remove old durable messages

2008-06-16 Thread [EMAIL PROTECTED]
Shouldn't your application be calling 
http://java.sun.com/javaee/5/docs/api/javax/jms/Session.html#unsubscribe(java.lang.String)



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

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


[jboss-user] [JBoss Messaging] - Re: how to configure operations mbean

2008-06-16 Thread [EMAIL PROTECTED]
What you mean by how do you configure operations?

on JMX you configure MBeans and properties.. you never configure operations.

You can call those methods through the jmx-console though.

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

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


[jboss-user] [JBoss Messaging] - Remove old durable messages

2008-06-16 Thread hzfzl9

Is there a way that JBoss Messaging able to remove old durable messages from 
the Topic and from the db tables?

For instance, my durable subscribers are no longer subscribe to the Topic but 
durable topic messages are still kept for them.  How does JBoss Messaging 
handle this situation?

Thanks,

 

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

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


[jboss-user] [JBoss Messaging] - Re: how to configure operations mbean

2008-06-16 Thread hzfzl9
My question was regarding to those operations listed under this section in the 
User Guide:

6.6.3.2. We now discuss the MBean operations of the Topic MBean
  6.6.3.2.3. ListDurableSubscriptions
6.6.3.2.10. ListDurableMessages

etc

thnks.

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

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


[jboss-user] [JBoss Messaging] - Re: can not unsubscribe durable subscriber in jboss-messagin

2008-06-16 Thread hzfzl9
even though I close the subscribers from the Client program, the JBoss 
Messaging server still throws error messages.

Here are the steps:
  durableTopicSubscriber.close();
  topicSession.unsubscribe("subscriber-id');
  topicSession.close();
  topicConnection.close();

whatelse do i miss?  thanks for your response.

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

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


[jboss-user] [JBoss Messaging] - Re: how to configure operations mbean

2008-06-16 Thread PeterJ
For the JBoss Messaging download, look in the jboss-messaging.sar file. It 
contains a file named destinations-service.xml that has exampleso f how to 
declare queues and topics.

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

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


[jboss-user] [JBoss Messaging] - how to configure operations mbean

2008-06-16 Thread hzfzl9

How do I configure those operations MBean that states in the User Guide for 
Topic destinations?  Thanks.

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

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


[jboss-user] [JBoss Messaging] - Re: Error when running clusters in two different machines.

2008-06-16 Thread ebenezerlovelin
Thanks Clebert for the reply.  I tried giving run -b 0.0.0.0 -c messagin-node0 
and it worked.  I was confused if that was the correct way of doing it.  But, 
now that you have told me I will go ahead.  

By the way, I didn't know that we can give the IP address/DNS; thanks for 
letting me know and helping me out. 

Cheers, 
Ebe

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

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


[jboss-user] [JBoss Messaging] - Re: Error when running clusters in two different machines.

2008-06-16 Thread [EMAIL PROTECTED]
You should use a -b  when you start each node:


run -c messaging-node0 -b NODE_IP_OR_DNS_ON_NODE1

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

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


[jboss-user] [EJB/JBoss] - Re: TO Delete the entire records in a table

2008-06-16 Thread jquintanam
Hi Mallikarjun,

I think the error says that the problem is that you hasn't declared the method 
removeAll() in the local home interface or in the entity class, it doesn't 
refer to the ejb-jar.
On the other hand, maybe you haven't noticed that in the ejb-jar is declared as 
removeAllRecords() and in the error is shown as removeAll().

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: jboss cache 1.4.1.GA + Eviction Policy problems

2008-06-16 Thread [EMAIL PROTECTED]
You can get more detailed logs by :

1) Adding log4j jars to your classpath
2) Adding a log4j.xml file to your classpath, or point to it using 
-Dlog4j.configuration=/path/to/log4j.xml
3) Edit your log4j.xml file to print out TRACE or DEBUG level messages for 
org.jboss.cache.

Not sure as to why you have an issue with maxNodes, logging will tell you more.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: not getting custom callbackHandler inside the loginmodul

2008-06-16 Thread balajiv
I found the answer...

http://www.mail-archive.com/[EMAIL PROTECTED]/msg20332.html



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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: jboss cache 1.4.1.GA + Eviction Policy problems

2008-06-16 Thread andre.rigon
thanks for the quick reply.

I tested the cache behavior by setting a very high ttl value and them 
inspecting the cache  in the jboss jmx console.
I didnt find how to setup log or debug messages for the cayenne version of 
jboss cache. Do you or someone know how to do that?

and about this quote:

anonymous wrote : 
  | maxNodes=5 -> when the cache fqn "/company" have 2 objects and a third one 
is going to be put in the cache, the eviction policy is applied and one of the 
previous objects is removed. 
  | 

is that the correct behavior?

thanks,

andre

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

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


[jboss-user] [Clustering/JBoss] - Re: 2 instances/machine; redhat init script

2008-06-16 Thread jaraco
I ran into this problem also, but I'm only running one instance.  I want to run 
it behind Apache, and I have other Tomcat instances running on the machine, so 
using the recommendation from 
http://wiki.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOneMachine, I set 
up my instance to run on an internal IP address.  Unfortunately, as you 
encountered, the scripts don't handle status or stop when the instance IP is 
specified.

I fixed the issue with 'stop' by including the -s parameter to the Shutdown 
call.

In particular, I added two lines during the setup phase of jboss_init_redhat.sh:


#if JBOSS_HOST specified, use -b to bind jboss services to that address
JBOSS_BIND_ADDR=${JBOSS_HOST:+"-b $JBOSS_HOST"}

#if JBOSS_HOST is specified, the stop command also requires a server parameter
JBOSS_STOP_SERVER=${JBOSS_HOST:+"-s $JBOSS_HOST"}

#define the classpath for the shutdown class
JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}


and then I included ${JBOSS_STOP_SERVER} in the JBOSS_CMD_STOP following 
--shutdown:

JBOSS_CMD_STOP=${JBOSS_CMD_STOP:-"java -classpath $JBOSSCP org.jboss.Shutdown 
--shutdown ${JBOSS_STOP_SERVER}"}


This works.  Apparently, if the RMI port is never specified, it need not be 
included in the shutdown URI.

I suggest this be added to the released scripts, as it does not affect users 
who do not specify JBOSS_HOST and it only behaves better if the user does 
specify JBOSS_HOST.

Regards,
Jason

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

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


[jboss-user] [EJB/JBoss] - Spring integration via AbstractSpringAction

2008-06-16 Thread jakkur
I am integrating Spring framework into my ESB project using 
AbstractSpringAction where I extend my action classes as shown in the 
jboss-soa-p.4.2.0 spring_helloworld quickstart sample. While I can 
build/deploy/run fine the sample, I am getting the following exception when I 
did the same in my app. Can somebody explain what these exceptions mean and 
what I am missing if any. Thanks, 

2008-06-16 15:49:39,170 WARN [org.jboss.system.ServiceController] Problem 
starting service jboss.esb:deployment=NDE_DHS_INS.esb 
org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Error 
configuring action processing pipeline 
at 
org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:188)
 
at 
org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:133)
 
at 
org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:150)
 
at 
org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:69)
 
at 
org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:83)
 
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
 
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
 
at sun.reflect.GeneratedMethodAccessor165.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 org.jboss.system.ServiceController.start(ServiceController.java:435) 
at sun.reflect.GeneratedMethodAccessor9.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 $Proxy4.start(Unknown Source) 
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) 
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) 
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) 
at sun.reflect.GeneratedMethodAccessor27.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.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.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 $Proxy9.deploy(Unknown Source) 
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
 
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
 
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
 
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
 
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
 
Caused by: org.jboss.soa.esb.ConfigurationException: Unexpected exception 
during lifecycle initialisation 
at 
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.initialise(ActionProcessingPipeline.java:264)
 
at 
org.jboss.soa.esb.listeners.message.Mes

[jboss-user] [JBossWS] - Problem calling a ws in a servlet

2008-06-16 Thread APieropan
Hi,
i am developing an application using jboss 4.2.2,ejb 3.0 and netbeans.
Following one of the tutorials online i created a web service inside the ejb 
container, then i created a web service inside my web container. After that i 
created a servlet. In the servlet  i used the "command call web service 
operation" to auto generate the needed code to call the ws.
The result is the injection 

  | @WebServiceRef(wsdlLocation = 
"http://localhost:8080/prova/NewWebService?wsdl";)
  | 
That is not supported in jboss 4.2 causing a null pointer exception when i try 
to access the requested resource.

I tried the "walkaruond" found on this forum using this code in stand of the 
previous injection:

  | private NewWebServiceService service;
  | service = new NewWebServiceService();
  | 

and i got the following exception:

  | java.lang.ClassCastException: 
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl cannot be cast to 
javax.xml.ws.spi.ServiceDelegate21
  | 

Can someone help me solving this trouble, is there any working "walkaround" to 
call a ws inside a servlet using Jboss 4.2 and Netbeans?

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Spring integration via AbstractSpringAction

2008-06-16 Thread alesj
"jakkur" wrote : Not sure if this is the right group to post this in, but I 
will try...
Yup, wrong forum - see forum's sticky.
Try JBoss ESB/SOA forum.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Errors testing a simple Seam action with the latest tool

2008-06-16 Thread [EMAIL PROTECTED]
My version of Seam is 2.0.2.SP1. I tried it with the complier compliance level 
in Eclipse set to 5.0 but that did not fix the problem. Are you saying I need 
to install and use Java 1.5?

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Encrypted Passwords in LDAP

2008-06-16 Thread salaboy21
yeap.. i have this issue.. i solve it for single sign on thru extending my 
org.jboss.security.auth.spi.LdapExtLoginModule and removing the {ALG} part to 
authenticate... 

This is a problem about compatibility in Directory Servers implementations... i 
work with open ldap and Open DS and both have diferences at this level...
I hope it helps.. let me know if you need to do something more..


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

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


[jboss-user] [JBoss Tools (users)] - Re: Errors testing a simple Seam action with the latest tool

2008-06-16 Thread [EMAIL PROTECTED]
btw. my guess is that you are using Java 6/1.6 which the embedded jboss which 
is used for running the tests does not work properly with.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Errors testing a simple Seam action with the latest tool

2008-06-16 Thread [EMAIL PROTECTED]
which version of seam ?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Trying to get JBoss and Hibernate to integrate

2008-06-16 Thread thetikigod
Running

JBossAS 4.2.0
JBoss Portal 2.6.5
Hibernate 3

Hey all, I have been working on trying to get JBoss to work with hibernate and 
MySQL.  I have successfully accessed the database through a datasource, but I 
cant seem to configure hibernate correctly.  My session objects are always 
returned to me as null.  Any help would be appreciated.

Here are my configs and src code:

This is in the deploy directory of the server.
SSApp-mysql-ds.xml:

  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | SupplySideDS
  | jdbc:mysql://localhost:3306/myDB
  | com.mysql.jdbc.Driver
  | tiki
  | god
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |mySQL
  | 
  |   
  | 
  | 

This next file is in the meta-inf of the project
hibernate.cfg.xml:

  | 
  | 
  |
  |   java:/SupplySideDS
  |   org.hibernate.dialect.MySQLDialect
  |   org.jboss.test.hibernate.SimpleInterceptor
  |   create
  |   jboss:service=Naming
  |   jboss:service=TransactionManager
  |
  | 
  | 
  | 

HibernateUtil.java:

  | import org.hibernate.HibernateException;
  | import org.hibernate.Session;
  | import org.hibernate.SessionFactory;
  | import org.hibernate.cfg.AnnotationConfiguration;
  | 
  | 
  | public class HibernateUtil {
  | 
  | private static final SessionFactory sessionFactory;
  | 
  | static {
  | 
  | try {
  | 
  | AnnotationConfiguration config = new AnnotationConfiguration();
  | config.addAnnotatedClass( User.class );
  | config.configure();
  | 
  | sessionFactory = config.buildSessionFactory();
  | 
  | } catch (Throwable ex) {
  | 
  | // Log exception!
  | throw new ExceptionInInitializerError(ex);
  | }
  | }
  | 
  | public static Session getSession() throws HibernateException {
  | 
  | return sessionFactory.openSession();
  | }
  | 
  | }
  | 

User.java:

  | import javax.persistence.Column;
  | import javax.persistence.Entity;
  | import javax.persistence.Id;
  | import javax.persistence.Table;
  | 
  | 
  | @Entity
  | @Table( name="UserInfo" )
  | public class User {
  | 
  | private String Username;
  | private String EMail;
  | private String FirstName;
  | private String LastName;
  | private String Phone;
  | 
  | //private Set vendor;
  | 
  | @Id
  | public String getUsername() {
  | 
  | return Username;
  | }
  | 
  | @Column( name="EMail" )
  | public String getEMail() {
  | 
  | return EMail;
  | }
  | 
  | @Column( name="FirstName" )
  | public String getFirstName() {
  | 
  | return FirstName;
  | }
  | 
  | @Column( name="LastName" )
  | public String getLastName() {
  | 
  | return LastName;
  | }
  | 
  | @Column( name="Phone" )
  | public String getPhone() {
  | 
  | return Phone;
  | }
  | 
  | public void setUsername( String username ) {
  | 
  | Username = username;
  | }
  | 
  | public void setEMail( String mail ) {
  | 
  | EMail = mail;
  | }
  | 
  | public void setFirstName( String firstName ) {
  | 
  | FirstName = firstName;
  | }
  | 
  | public void setLastName( String lastName ) {
  | 
  | LastName = lastName;
  | }
  | 
  | public void setPhone( String phone ) {
  | 
  | Phone = phone;
  | }
  | }
  | 

MainView.java

  | Session session = null;
  | 
  | try{
  | 
  | //SessionFactory sf  = new 
Configuration().configure().buildSessionFactory();
  | session = HibernateUtil.getSession();
  | 
  | User usr = new User();
  | usr.setUsername( "thetikigod" );
  | usr.setFirstName( "tiki" );
  | usr.setLastName( "god" );
  | usr.setPhone( "9377668982" );
  | usr.setEMail( "[EMAIL PROTECTED]" );
  | 
  | session.beginTransaction();
  | session.save(usr);
  | session.getTransaction().commit();
  | }
  | catch(NoClassDefFoundError ncdfe){
  | 
  | log.error( "Error" + ncdfe.getMessage(), ncdfe );
  | notification.addError( "No class definition found: " + 
ncdfe.getMessage() );
  | }
  | catch( ExceptionInInitializerError eiie) {
  | 
  | log.error( "Error" + eiie.getMessage(), eiie );
  | notification.addError( eiie.getMessage() );
  | }
  | catch(Exception e) {
  | 
  | log.error( "Error" + e.getMessage(), e );
  | notification.addErr

[jboss-user] [JBoss Tools (users)] - Errors testing a simple Seam action with the latest toolset

2008-06-16 Thread [EMAIL PROTECTED]
I'm using SeamTools 2.1.0.GA and get the following error when I try to test 
(using testNG) a simple action bean created with File->New->Seam Action wizard:

org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of 
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** CONTEXTS IN ERROR: Name -> Error

SARDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

ServiceDeploymentDeployer -> java.lang.ClassNotFoundException: 
[Ljava.lang.Class;

ServiceClassLoaderDeployer -> java.lang.ClassNotFoundException: 
[Ljava.lang.Class;

BeanDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

ServiceDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

BeanMetaDataDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;

KernelDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;


at 
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:576)
at 
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:559)
at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:149)
at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:183)
at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:195)
at 
org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
at 
org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1041)
at org.jboss.seam.mock.BaseSeamTest.startSeam(BaseSeamTest.java:935)
at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:923)
at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
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:597)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
at 
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
at 
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:166)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
at org.testng.TestRunner.runWorkers(TestRunner.java:689)
at org.testng.TestRunner.privateRun(TestRunner.java:566)
at org.testng.TestRunner.run(TestRunner.java:466)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:301)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:296)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:276)
at org.testng.SuiteRunner.run(SuiteRunner.java:191)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:808)
at org.testng.TestNG.runSuitesLocally(TestNG.java:776)
at org.testng.TestNG.run(TestNG.java:701)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)

This references an incomplete deployment and "previous errors", but there are 
none in the TestNG view in Eclipse.

My testNG configuration is the one created with the File->New->Seam Web Project 
wizard. I just us the wizards to create the project and an action bean with an 
action method and run the test without modification. Am I missing something in 
the configuration?

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

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


[jboss-user] [JBoss Portal] - Re: Portal Admin customization

2008-06-16 Thread Shazzaam
Thanks for the replies.  I was looking through the admin portlet code.  In 
editPageLayout.xhtml it appears to pull in another portlet to get a list of 
instances:



Can someone explain how this jbp:portlet tag works and where this add'l portlet 
is located?

Thanks!

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Documentation for jboss-5.0.0

2008-06-16 Thread henk53
No one from Jboss wants to answer the question? 

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

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


[jboss-user] [JBoss Tools (users)] - Re: No inplaceSelect in DevStudio 1.1.0 Beta 1

2008-06-16 Thread [EMAIL PROTECTED]
I gave up using the Seam  and richfaces implementations in the Jboss DevStudio 
1.1.0 Beta 1 and am now using Seam 2.0.2.SP1 and richfaces 3.2.0.SR1. 

The issue is pretty simple: 

In richfaces-ui-3.2.0.SR1.jar and earlier versions, there is an 
\org\richfaces\taglib\inplaceSelect tag. There isn't one in the richfaces ui 
jar that is included in the DevStudio beta. So any facelets files that use that 
tag are failing when run in DevStudion beta 1.

Is that an oversight, or is inplaceSelect coming back?

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

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


[jboss-user] [JBoss jBPM] - Re: TaskInstance.setActorId(String) causes set TaskInstance

2008-06-16 Thread Octomac
It might be a bug, but I think it may be more likely that Hibernate is 
receiving the wrong data -- that is, it's expecting a '1' or a '0' perhaps, and 
is instead getting, say, a "T" or "F" string, which is causing it to always 
assume "TRUE".

This is a newbie question, but is there a way to turn on transaction logging so 
that I can see each statement and its corresponding data that is sent to the 
database?  I have the hibernate.show_sql property in my hibernate.cfg.xml set 
to "true," but this only gives me the query or statement, not the data that 
goes along with it (that is, I see "UPDATE  SET  = ? WHERE blah blah," 
but the '?' in the statement doesn't have a corresponding value).  Being able 
to see what data is being put into the database will help me immensely.

Thanks again for everyone's help!

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

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


[jboss-user] [Beginners Corner] - Proxy Client

2008-06-16 Thread ivanjohnson
I am trying to evaluate the capabilites of Jboss ESB and I ran into an issue. 
It seem like Jboss ESB does well with Web Service endpoint when they are hosted 
in the AS and are recognize as Web services under the Jboss.ws heading in the 
JMX console. I am finding it rather diffucult to connect to a Web Services that 
don't meet these criterias. Have anyone been able to host any external 
endpoints? or any Services that don't met these two criteria described?

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

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


[jboss-user] [JBoss jBPM] - Re: Node as a milestone

2008-06-16 Thread pjacobsen
Thanks for the quick reply Ronald.  

I was aware of the term milestone being used in a workflow pattern for 
synchronizing parallel branches... although I assume this was not fully baked 
yet as the "milestone-node" doesn't appear the jPDL schema.  Looks like there 
is a test case that exercises it, though.

Anyway... I was having trouble understanding you last sentence or two.  Are you 
saying that what I'm proposing is not inherently bad when using reporting tool 
like SeeWhy?  And what did you mean by anonymous wrote : not use specific 
queries to retrieve start and end date of normal tasks/nodes/joins/... whatever

FYI... the reason we are doing this is that processes can involve tens or 
sometimes 100+ steps and process designers want to place milestones to 
logically mark of points that are of importance to them.  Their goal is to set 
up processes so that any could be viewed from a macro perspective by looking at 
the progress of the milestone nodes.






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

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


[jboss-user] [JBoss/Spring Integration] - Spring integration via AbstractSpringAction

2008-06-16 Thread jakkur
Not sure if this is the right group to post this in, but I will try...

I am integrating Spring framework into my ESB project using 
AbstractSpringAction where I extend my action classes as shown in the 
jboss-soa-p.4.2.0 spring_helloworld quickstart sample. While I can 
build/deploy/run fine the sample, I am getting the following exception when I 
did the same in my app. Can somebody explain what these exceptions mean and 
what I am missing if any. Thanks,

2008-06-16 15:49:39,170 WARN  [org.jboss.system.ServiceController] Problem 
starting service jboss.esb:deployment=NDE_DHS_INS.esb
org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Error 
configuring action processing pipeline
at 
org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:188)
at 
org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:133)
at 
org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:150)
at 
org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:69)
at 
org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:83)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor165.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 org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor9.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 $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor27.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.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.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 $Proxy9.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Abstract

[jboss-user] [JBoss Cache: Core Edition] - Re: jboss cache 1.4.1.GA + Eviction Policy problems

2008-06-16 Thread [EMAIL PROTECTED]
According to the docs, your expectation is correct in that setting time to live 
to 0 means that there is no time to live.  And hence the JIRA to enhance this 
such that we are able to specify a ttl of 0 such that elements are evicted 
pretty much immediately.

I suspect that the reason you see your nodes being removed so quickly has to do 
with something else.  Have you got log messages showing that elements are being 
evicted almost as soon as they are put into the cache?

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Tomcat 6 comet support in 4.2.2

2008-06-16 Thread jonasb
Thanks for answering.

You're referring to org.jboss.web.comet.CometProcessor, right? But that 
interface is not available in 4.2.2, I can only find 
org.apache.catalina.CometProcessor in the jbossweb jar. Also, the rename was 
made in january this year according to some svn commit log I found, so I guess 
it's in a later jbossweb than the one bundled with 4.2.2.

I tried to simply copy catalina.jar from a jbossweb 2.1.0 GA to the jboss-web 
deployer in my jboss 4.2.2 installation, and my "event" method was called, so 
I'm guessing that I need to upgrade. 
However, I can't find any documentation on how to properly upgrade the version 
of jbossweb that is bundled with 4.2.2 to jbossweb 2.1.0. Could you help me 
out? Would it work to just replace the jbossweb* jars with the jars found in 
the lib directory of jbossweb-2.1.0?


Thanks / Jonas



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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Encrypted Passwords in LDAP

2008-06-16 Thread kc5mzr
So nobody else has this issue?  It's just me?

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

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


[jboss-user] [JBoss jBPM] - Re: Node as a milestone

2008-06-16 Thread kukeltje
Milestones as a node in BPM are for 'synchronizing' 2 parallel branches. 
Generic nodes just for the sake of reporting is overkill imo. Although it is 
'common' practice when using e.g. SeeWhy and not specifically bad.  not use 
specific queries to retrieve start and end date of normal tasks/nodes/joins/... 
whatever

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

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


[jboss-user] [JBoss jBPM] - Node as a milestone

2008-06-16 Thread pjacobsen
We have a need for process designers to place nodes in their processes to 
pattern a milestone that fulfills some reporting needs.  For instance, they may 
want to report on what date each instance of a process started and then on what 
date each of their their milestones were reached.

Is doing this as a plain "Node" the best way to achieve this?  And then to 
gather the execution data from the JBPM_LOG table?  My only concern about this 
approach would be filtering out Nodes that may have been utilized to execute 
logic and weren't placed there to serve as milestones.

Thanks!
Paul

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

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


[jboss-user] [JBoss AOP] - Re: JBoss AOP 2.0 with JBoss AS 4.2.2 - jboss-aop javaagent

2008-06-16 Thread kringdahl
Thanks for the clarification.  It was unclear from the JBC docs whether that 
was for standalone only.  That seemed to do the trick though.

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 2.0 Clustering

2008-06-16 Thread timfox
Or visit us on our irc channel

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

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


[jboss-user] [Remoting] - Re: Remoting and seam app

2008-06-16 Thread grolland
Yes, I have special requirement. I have to write a program in embedded C on a 
ARM processor (UMTS Wavecom modem for M2M apps) to communicate with my JBoss 
Server (and my App). 

The API I have supports only TCP Sockets, that's why I want to use Remoting to 
acess my EJB.

So my question is about the class cast exception when I deploy the SAR in the 
EAR, and could I just access my EJB by a JNDI lookup.

Thank you


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

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


[jboss-user] Considered UNSOLICITED BULK EMAIL from you

2008-06-16 Thread Content-filter at localhost
Your message to:
-> [EMAIL PROTECTED]

was considered unsolicited bulk e-mail (UBE).
Subject: 
=3D?windows-1251?B?yO307vDs4Pbo/yDuIMHl6+7pIOfg8O/r4PLlIPPv8ODi6//++eXs8w=3D=3D?=3D
=3D?windows-1251?B?IPTg4fDo6ug=3D?=3D
Return-Path: 
First upstream SMTP client IP address: [85.96.198.165] unknown
According to the 'Received:' trace, the message originated at: [85.96.198.165]
Our internal reference code for your message is 27456-09/9Go1Onn27iua.

Delivery of the email was stopped!
Reporting-MTA: dns; localhost
Received-From-MTA: smtp; localhost ([127.0.0.1])
Arrival-Date: Mon, 16 Jun 2008 23:05:54 +0400 (MSD)

Final-Recipient: rfc822; ivan@pinco.ru
Action: failed
Status: 5.7.1
Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, UBE, id=27456-09
Last-Attempt-Date: Mon, 16 Jun 2008 23:05:56 +0400 (MSD)
Received: from mailkoncern.lm-gruppen.dk (unknown [85.96.198.165])
	by localhost (Postfix) with ESMTP id 28A351214032
	for <[EMAIL PROTECTED]>; Mon, 16 Jun 2008 23:05:28 +0400 (MSD)
Received: from [192.168.90.59] ([192.168.90.59]) by 85.96.198.165 with Microsoft SMTPSVC(6.0.3790.1830)
  16 Jun 2008 20:12:17 +0200
From: =?windows-1251?B?xevl7eAgy+Xu7ejk7uLt4A==?= <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: =?windows-1251?B?yO307vDs4Pbo/yDuIMHl6+7pIOfg8O/r4PLlIPPv8ODi6//++eXs8w==?=
	=?windows-1251?B?IPTg4fDo6ug=?=
Date: 16 Jun 2008 20:12:17 +0200
MIME-Version: 1.0
Content-Type: multipart/related;
  boundary="=_NextPart_000_0007_01C8CFE1.016DE1D8"
X-Priority: 3
X-MimeOLE: Produced By Microsoft Exchange V6.5
X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0274], KAS30/Release
X-SpamTest-Info: Not protected
X-Spam: Not detected
Message-Id: <[EMAIL PROTECTED]>
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - must specify the fully-qualified name of the Java class erro

2008-06-16 Thread jquintanam
hi everybody, 

I'm trying to deploy my project using the project archives utility of JBoss 
IDE, and an error is shown for all my EJB's. 

WARN [verifier] EJB spec violation: 
Bean : Facade 
Section: 22.2 
Warning: The Bean Provider must specify the fully-qualified name of the Java 
class that implements the enterprise bean's business methods in the  
element. 
Info : Class not found on 'java.pblu.integration.ejb.FacadeBean': No 
ClassLoaders found for: java.pblu.integration.ejb.FacadeBean 

The path is correct, the .ear is build correctly and this is the corresponding 
ejb-jar section: 


Facade 
java.pblu.integration.ejb.interfaces.FacadeHome 
java.pblu.integration.ejb.interfaces.Facade 
java.pblu.integration.ejb.interfaces.FacadeLocalHome 
java.pblu.integration.ejb.interfaces.FacadeLocal 
java.pblu.integration.ejb.FacadeBean 
Stateless 
Container 


I think everything seems to be right, so I can't find the problem. 

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 2.0 Clustering

2008-06-16 Thread timfox
[EMAIL PROTECTED]|redhat].com

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

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


[jboss-user] Delivery Failure

2008-06-16 Thread Postmaster

-
The message you sent to etaj.ru/monika was rejected because it would exceed the 
quota for the mailbox.

The subject of the message follows: 
Subject: =?windows-1251?B?xOv/IOHz9ePg6/Ll8OjoIO7w4+Dt6Ofg9ujo?=


-

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


[jboss-user] [JBoss Messaging] - Re: JBM 2.0 Clustering

2008-06-16 Thread blublinsky
Which email should I use?

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

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


[jboss-user] [JBoss Cache: Core Edition] - jboss cache 1.4.1.GA + Eviction Policy problems

2008-06-16 Thread andre.rigon
Hi everyone,

I'm using jboss cache 1.4.1.GA with jboss 4.0.5.GA. 
I'm trying to use an eviction policy. 
Here is  part of my tree-service.xml file:



  | 
  | org.jboss.cache.eviction.LFUPolicy
  | 
  | 
  | 
  | 5
  | 
  | 
  | 5000
  | 500
  | 
  | 
  | 5697
  | 
  | 
  | 
  | 2
  | 
  | 
  | 
  | 
  | 

It seams that is a concept issue for me here. 
When I set  timeToLiveSeconds=0, the cache is not filled, or its cleaned up to 
fast.
The expected behaviour of this configuration, for me is:

timeToLiveSeconds=0 --> the cache will 'never' be cleaned up.
maxNodes=5 -> when the cache fqn "/company" have 2 objects and a third  one is 
going to be put in the cache, the eviction policy is applied and one of the 
previous objects is removed.

am I understanding the behavior of the eviction policy?
or there is something that I'm missing?

thanks for help.

andre




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

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


[jboss-user] [JBoss Portal] - Bleed from 2.7 into 2.6.6 in the producer.xhtml admin page

2008-06-16 Thread Lightguard
I don't think these two lines should be here, or they need to be mapped up in 
the backing bean :)

 15 
 16 


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

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


[jboss-user] [JBoss jBPM] - Re: Get Task Name in a ActionHandler

2008-06-16 Thread Octomac
The task name (and I'm guessing a bit at this point) might be null there 
because you've already passed out of the task node at the point where your 
handler is getting called.

One workaround solution that comes to mind is to have an action on the 
nodeEnter event of your task node that stores the name of the task in a Process 
Variable.  Then, in your transition action, you can retrieve the name of the 
last task by reading the value of the process variable, which should persist 
throughout the execution of the entire process.

There's an example in section 3.3 of the user guide 
"http://docs.jboss.org/jbpm/v3/userguide/tutorial.html#d0e622";.

Hope that helps![/url]

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

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


[jboss-user] [JBoss Portal] - Re: WSRP w/ SAP (or other non-conforming wsrp implementation

2008-06-16 Thread [EMAIL PROTECTED]
Good to know! :)

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

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


[jboss-user] [JBoss Messaging] - Re: Help on JBoss Messaging

2008-06-16 Thread ebenezerlovelin
Yes, I will go through the JBM 1.4.0 SP3 documentation.  

Thanks a lot Tim and Clebert.  I really appreciate the help you guys have done. 
 I know I bothered you people :) thanks once again

Cheers, 
Ebe


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

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


[jboss-user] [JBoss Messaging] - Re: Redelivery order

2008-06-16 Thread szhigunov
1) Queue is deployed on the remote server.
2) My consumer is not an MDB. It is a normal JMS consumer deployed as MBean. It 
gets connection to the queue through JCA adapter.
3) I control the transaction using TransactionManager interface.
4) On RuntimeException, I close all JMS objects (consumer, session, connection) 
and rollback the transaction.
5) Then if I restart queue on the remote server and start my consumer again - 
messages are delivered in the correct order (in tests I did).

What happens if you not just restart the queue but restart the JBoss? Not a 
solution, just for information. 

My logic was that restart would clear all buffers and force JBM to reread 
messages from DB (hopefully in the order they were written in the first place)

I am in a prototype phase, not sure if will try to use it or not. 


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Specifying the schema for EJBTimerService's TIMERS datab

2008-06-16 Thread jaikiran
"[EMAIL PROTECTED]" wrote : The brackets are there to denote the schema is 
optional :-)
  | 
  | 

Oops, my bad! :-)

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

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


[jboss-user] [JBoss jBPM] - Get Task Name in a ActionHandler

2008-06-16 Thread Fornachari
Hi everybody,

I have a simple process. In this process, I have one transition that have an 
action. This action invokes a Handler. So, I implemented a handler and in this 
handler I need to know what are the name of the last task.

For example, my process:

START
|
TASK1
|  -> in this transaction I invoke my handler
  END

For the process above, I would like that my handler get the task name. The task 
name in this case is TASK1.

I tried a lot of things but without success. Some code that I tried are below:


  | public void execute(ExecutionContext context) throws Exception 
  | {
  |   try
  |   {
  | String taskName = context.getTaskInstance().getName();
  |   }
  | 
  |   catch(Exception e)
  |   {
  |   }
  | }
  | 

AND 


  | public void execute(ExecutionContext context) throws Exception 
  | {
  |   try
  |   {
  | TaskInstance taskInstance = context.getTaskInstance();
  | String taskName = taskInstance.getName();
  |   }
  |   
  |   catch(Exception e)
  |   {
  |   }
  | }
  | 

Just to debug better, inside the catch method, I call a method to write the 
error in a TXT file. The error that I receive, to both cases above, is: NULL

Anybody know How can I do it?

Thank you.

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results

2008-06-16 Thread jaikiran
I have a simple native query:

select distinct usr.userid from user usr where usr.name like '%jai%'

which returns me the expected output when used with setFirstResult and 
setMaxResult. Not sure whether its a problem with your query or something else.

You can try enabling TRACE level logs of Hibernate package by adding the 
following to your jboss-log4j.xml file under the %JBOSS_HOME%\server\< 
serverName>\conf folder. Then in your server.log see if you can find something 
which will help you understand what's going on. For me, i see logs like this:

2008-06-16 20:38:57,932 TRACE [http-0.0.0.0-8080-2] 
[org.hibernate.jdbc.AbstractBatcher] preparing statement
  | 2008-06-16 20:38:58,011 DEBUG [http-0.0.0.0-8080-2] 
[org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 
0, globally: 0)
  | 2008-06-16 20:38:58,011 TRACE [http-0.0.0.0-8080-2] 
[org.hibernate.loader.Loader] processing result set
  | 2008-06-16 20:38:58,011 DEBUG [http-0.0.0.0-8080-2] 
[org.hibernate.loader.Loader] result set row: 0
  | 2008-06-16 20:38:58,011 DEBUG [http-0.0.0.0-8080-2] 
[org.hibernate.loader.Loader] result row: 
  | 2008-06-16 20:38:58,011 TRACE [http-0.0.0.0-8080-2] 
[org.hibernate.type.BigIntegerType] returning '7' as column: ID
  | 2008-06-16 20:38:58,011 DEBUG [http-0.0.0.0-8080-2] 
[org.hibernate.loader.Loader] result set row: 1
  | 2008-06-16 20:38:58,011 DEBUG [http-0.0.0.0-8080-2] 
[org.hibernate.loader.Loader] result row: 
  | 2008-06-16 20:38:58,011 TRACE [http-0.0.0.0-8080-2] 
[org.hibernate.type.BigIntegerType] returning '8' as column: ID
  | 2008-06-16 20:38:58,011 DEBUG [http-0.0.0.0-8080-2] 
[org.hibernate.loader.Loader] result set row: 2
  | 2008-06-16 20:38:58,011 DEBUG [http-0.0.0.0-8080-2] 
[org.hibernate.loader.Loader] result row: 
  | 2008-06-16 20:38:58,026 TRACE [http-0.0.0.0-8080-2] 
[org.hibernate.type.BigIntegerType] returning '9' as column: ID
  | 2008-06-16 20:38:58,026 TRACE [http-0.0.0.0-8080-2] 
[org.hibernate.loader.Loader] done processing result set (3 rows)
  | 2008-06-16 20:38:58,026 DEBUG [http-0.0.0.0-8080-2] 
[org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 
1, globally: 1)
  | 2008-06-16 20:38:58,026 DEBUG [http-0.0.0.0-8080-2] 
[org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open 
PreparedStatements: 1, globally: 1)
  | 2008-06-16 20:38:58,026 TRACE [http-0.0.0.0-8080-2] 
[org.hibernate.jdbc.AbstractBatcher] closing statement
  | 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can Exists Jboss and Adicional Tomcat Server in the same

2008-06-16 Thread Subemontes
Thanks.
Gonna check the conf and make a shot :)

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - EJB3 Entity persistence OK with JBoss 4.2.2GA, but fails wil

2008-06-16 Thread mlavannis
I wrote a very basic EJB3 entity and deployed it on JBoss 4.2.2GA - it worked 
fine. But when I tried to deploy the exact same EAR on JBoss 5.0.0 Beta4, the 
deployment failed with the following error:

10:42:51,673 INFO  [SchemaUpdate] Running hbm2ddl schema update
10:42:51,673 INFO  [SchemaUpdate] fetching database metadata
10:42:51,674 INFO  [SchemaUpdate] updating schema
10:42:51,686 INFO  [DatabaseMetadata] table not found: Book
10:42:51,689 INFO  [DatabaseMetadata] table not found: Book
10:42:51,691 ERROR [SchemaUpdate] Unsuccessful: create table database.Book (id 
integer not null auto_increment, author varchar(255), title varchar(255), 
primary key (id))
10:42:51,698 ERROR [SchemaUpdate] CREATE command denied to user 
'jboss'@'localhost' for table 'book'
10:42:51,698 INFO  [SchemaUpdate] schema update complete

It appears like it is unable to create the "Book" table ("Book" is the name of 
my entity EJB class).

However, note the SQL query it uses the create the table:
create table database.Book (id integer not null auto_increment, author 
varchar(255), title varchar(255), primary key (id))

It qualifies the table name "Book" with the identifier "database" - this is 
what is causing it to fail. In my EJB, I have set the schema to "jbossdb" wich 
is a valid database. It is not clear to me why the query does not use 
"jbossdb.Book" instead of "database.Book"

I am using MySQL 5.1



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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: double-naming of ejb's in jboss-4.2 +

2008-06-16 Thread airdrik
No, I mean the path name used in the web service url.  
When I open up the Tomcat Status page for Jboss, after deploying the ears, they 
show up in the application list as:
localhost/name-name-ejb
rather than:
localhost/name-ejb

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Connection Pooling

2008-06-16 Thread wenzelpi
To All,

This may seem like a basic question, however I'm still getting a feel for all 
that JBoss Operations Network can do.  If I'd like to monitor my connection 
pool between my application server and my database, how will I go about 
configuring JON to do this?  Can this be done via the Monitoring Tab, or will 
we have to write our own plugin?  Thanks!

Sincerely,
Peter Wenzel

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

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


[jboss-user] [JBoss jBPM] - Re: Multithreaded JobExecutor with ForEachForkActionHandler

2008-06-16 Thread kadlecp
Hello Ed,

I don't know why but I thought that StaleObjectStateExceptions are errors. But 
in docs (chapter 6.5) and in JIRA 

http://jira.jboss.com/jira/browse/JBPM-995 

is clearly written that StaleObjectStateExceptions are expected behaviour and 
it doesn't matter if these exceptions occur. Now I have tried to hide those 
excetions, unfortunately I had problems with that. I was able to hide them only 
with changes to source code. See 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=137456, I think that 
it is bug in jBPM. Not all StalebjectStateExcetions are hidden.

I hope that all my "problems" were caused by StaleObjectStateExceptions that 
are not errors, I can ignore those exceptions. I have some block in my mind 
against those exception.

When I am finished with my process I will report whether it works in cluster.

Thank all for help and sorry for perplexes.

Regards
Pavel 

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

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


[jboss-user] [JBoss jBPM] - Re: TaskInstance.setActorId(String) causes set TaskInstance

2008-06-16 Thread Octomac
Changing to a request bean instead of a session bean fixed the refresh problem, 
since I'm now forcing JBPM to hit the database on every call to the controller. 
 This is a little slow, but it's working well, which is fine by me.

I'm still seeing, though, that when I assign a task from a PooledActor to an 
ActorID by means of setActorId(String), the boolean properties ISCANCELLED, 
ISSUSPENDED, ISOPEN, ISSIGNALILNG, and ISBLOCKING are all set to TRUE.  This is 
a major problem, because JBPM now thinks that the assigned task is canceled.  
That means that the task disappears from both the group list and the users list.

Does anyone have any idea as to why these boolean properties may be getting set 
this way?

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

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


[jboss-user] [JNDI/Naming/Network] - Configuring InitialContext in JBoss AS

2008-06-16 Thread gjwilk01
I am attempting to configure Data Source and some additional environment 
properties in JBoss AS 4.2.2 using JNDI.  My DS configuration worked just fine 
by placing my-ds.xml in the deploy directory of my site.  No problem there.  My 
next step is to add more xml files with initial context properties to 
initialize my application using JNDI.  In addition, I am also interested in 
being able to manage multiple sets of initial context configuration files for 
various runtime environments (development, QA, production) in such way that 
they can be stored in a directory structure i.e.

/var/initcontext/prod
/var/initcontext/qa
/var/initcontext/dev.


How do I configure JNDI to load both the DS resource and other environmental 
variables from a directory on the local file system?  Is there 
tutorial/resource on this that I could access?

Thanks,
~george

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

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


[jboss-user] [JBoss Portal] - Re: Portal-Cluster: REPL_ASYNC vs. REPL_SYNC

2008-06-16 Thread [EMAIL PROTECTED]
Your problem seems to be tied to your use case and it will be very hard 
(resource issues) for me to dig into it. I suggest that you use our support 
services and they will be able to replicate and fix your issues more quickly.

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

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


[jboss-user] [JBoss Portal] - Bleed from 2.7 into 2.6.6 in the producer.xhtml admin page

2008-06-16 Thread Lightguard
I don't think these two lines should be here, or they need to be mapped up in 
the backing bean :)

 15 
 16 


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

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


[jboss-user] [JBoss Portal] - Re: Bleed from 2.7 into 2.6.6 in the producer.xhtml admin pa

2008-06-16 Thread Lightguard
Sorry for the duplicate, browser was acting weird.  You can delete this one.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Deployment error for MDB bound to remote queue

2008-06-16 Thread AJSTL
Hi rbb2007, 

Can you please post what all you did to connect to a JBoss Messaging remote 
Queue from an EJB3 MDB ? I am having some problem in configuring the MDB to 
connect to a Queue on a different server. The MDB works for local queue.

Thanks,
AJSTL.

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

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


[jboss-user] [JBossWS] - Creating web service endpoints on-the-fly

2008-06-16 Thread DrPizza
Hello,

We would like to generate web service endpoints dynamically (rather than 
statically configured using the annotations).

Is there any reasonably simple way of doing this?



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

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


[jboss-user] [JBoss jBPM] - Re: How to start a JBPM Work Flow remotely???

2008-06-16 Thread Octomac
It looks like your program is trying to find an existing process definition by 
the name of 'Gestion de Problemas', but there isn't a process by that name in 
your database.  Have you deployed that process yet?  That's about the only 
thing that comes to mind off the top of my head.

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

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


[jboss-user] [JBoss jBPM] - Re: How to start a JBPM Work Flow remotely???

2008-06-16 Thread cr3
Thanks Octomac for your reply!!!

But I got a bad new (for me).  I got this error:

09:29:22,625 [main] WARN  JDBCExceptionReporter : SQL Error: -22, SQLState: 
S0002
09:29:22,625 [main] ERROR JDBCExceptionReporter : Table not found in statement 
[select top ? processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME3_4_, 
processdef0_.DESCRIPTION_ as DESCRIPT4_4_, processdef0_.VERSION_ as 
VERSION5_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_4_, 
processdef0_.STARTSTATE_ as STARTSTATE7_4_ from JBPM_PROCESSDEFINITION 
processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc]
org.hibernate.exception.SQLGrammarException: could not execute query
at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2214)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
at org.hibernate.loader.Loader.list(Loader.java:2090)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:388)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:804)
at 
org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:153)
at org.jbpm.JbpmContext.newProcessInstance(JbpmContext.java:408)
at org.jbpm.stateTest.FlowInstance.main(FlowInstance.java:63)
Caused by: java.sql.SQLException: Table not found in statement [select top ? 
processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME3_4_, 
processdef0_.DESCRIPTION_ as DESCRIPT4_4_, processdef0_.VERSION_ as 
VERSION5_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_4_, 
processdef0_.STARTSTATE_ as STARTSTATE7_4_ from JBPM_PROCESSDEFINITION 
processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
at 
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:497)
at 
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:415)
at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1538)
at org.hibernate.loader.Loader.doQuery(Loader.java:661)
at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2211)
... 11 more
09:29:22,828 [main] ERROR GraphSession : 
org.hibernate.exception.SQLGrammarException: could not execute query
Exception in thread "main" org.jbpm.JbpmException: couldn't find process 
definition 'Gestion de Problemas'
at 
org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:170)
at org.jbpm.JbpmContext.newProcessInstance(JbpmContext.java:408)
at org.jbpm.stateTest.FlowInstance.main(FlowInstance.java:63)
Caused by: org.hibernate.exception.SQLGrammarException: could not execute query
at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2214)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
at org.hibernate.loader.Loader.list(Loader.java:2090)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:388)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:804)
at 
org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:153)
... 2 more
Caused by: java.sql.SQLException: Table not found in statement [select top ? 
processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME3_4_, 
processdef0_.DESCRIPTION_ as DESCRIPT4_4_, processdef0_.VERSION_ as 
VERSION5_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_4_, 
processdef0_.STARTSTATE_ as STARTSTATE7_4_ from JBPM_PROCESSDEFINITION 
processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqld

[jboss-user] [JBossWS] - Re: Bug? SOAP response causes ArrayIndexOutOfBoundsEx

2008-06-16 Thread tomstrummer
I hate to bump this but I was really hoping for some help since JBossWS seemed 
to be the only toolkit that was getting me anywhere with this old RPC/encoded 
service.  Most of the other Java WS frameworks wouldn't even generate the 
client stub classes from the WSDL.  

I'd be happy to give more details, file a bug report, dig into code, etc but 
I'm at a loss as to where to start.  Is this even supported by JBossWS anymore? 
 I know RPC/encoded services are not WS-I compliant and all that jazz, but that 
doesn't help me since I have an old 3rd party service that I have to integrate 
with :(

My last resort will be hand-crafting the request and response!  And the WSDL is 
not trivial since there are a number of complex types.  Any help would be 
greatly appreciated!  

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

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


[jboss-user] [Clustering/JBoss] - Clustering EJB3 Timers

2008-06-16 Thread hpalma
Hi,

i would like to use EJB Timer services in a clustered JBoss 4.2.1 environment. 
We are using active / passive cluster configuration so only one cluster node 
will be active at a given time. My questions are:

- Are the timer services state persisted across the cluster ?
- Does this state in the JBoss implementation include timer restoration ? As 
in, if my timer is supposed to expire in 10 minutes when the cluster node goes 
down is it going to expire in 10 minutes when the new cluster node takes over ?

Thanks.

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

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


[jboss-user] [JBossWS] - Re: @PostConstruct never invoked

2008-06-16 Thread ben.lidgey
I am also seeing this behaviour with JAX-WS 2.0 web services deployed to JBoss 
4.2.2.

@PostConstruct and @PreDestroy are called when the web service is run 
"manually" by defining an Endpoint in a main method, but not when deployed.

Does anyone know why this is? 

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

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


[jboss-user] [Beginners Corner] - Re: Loading servlets from jar files

2008-06-16 Thread moorix
I'm sending the required information:
java version: Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
axis: 1.4
the reference to related JIRA issue: 
http://jira.jboss.org/jira/browse/JBAS-3000;jsessionid=C732282C552A62868280485A80AF03DC

full exception stacktrace:
=

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/share/jboss-5.0.0.Beta4

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m 
-XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 
-Djava.net.preferIPv4Stack=true

  CLASSPATH: /usr/share/jboss-5.0.0.Beta4/bin/run.jar

=

19:06:52,882 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
19:06:52,886 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta4 
(build: SVNTag=JBoss_5_0_0_Beta4 date=200806121911)
19:06:52,918 INFO  [ServerImpl] Home Dir: /usr/share/jboss-5.0.0.Beta4
19:06:52,919 INFO  [ServerImpl] Home URL: file:/usr/share/jboss-5.0.0.Beta4/
19:06:52,919 INFO  [ServerImpl] Library URL: 
file:/usr/share/jboss-5.0.0.Beta4/lib/
19:06:52,920 INFO  [ServerImpl] Patch URL: null
19:06:52,921 INFO  [ServerImpl] Server Name: default
19:06:52,921 INFO  [ServerImpl] Server Home Dir: 
/usr/share/jboss-5.0.0.Beta4/server/default
19:06:52,921 INFO  [ServerImpl] Server Home URL: 
file:/usr/share/jboss-5.0.0.Beta4/server/default/
19:06:52,921 INFO  [ServerImpl] Server Data Dir: 
/usr/share/jboss-5.0.0.Beta4/server/default/data
19:06:52,922 INFO  [ServerImpl] Server Temp Dir: 
/usr/share/jboss-5.0.0.Beta4/server/default/tmp
19:06:52,922 INFO  [ServerImpl] Server Config URL: 
file:/usr/share/jboss-5.0.0.Beta4/server/default/conf/
19:06:52,922 INFO  [ServerImpl] Server Library URL: 
file:/usr/share/jboss-5.0.0.Beta4/server/default/lib/
19:06:52,922 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
19:06:53,974 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/usr/share/jboss-5.0.0.Beta4/server/default/conf/bootstrap-beans.xml
19:06:56,585 INFO  [ProfileImpl] Using profile 
root:/usr/share/jboss-5.0.0.Beta4/server/default
19:06:57,791 INFO  [ServerInfo] Java version: 1.6.0_06,Sun Microsystems Inc.
19:06:57,791 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
10.0-b22,Sun Microsystems Inc.
19:06:57,792 INFO  [ServerInfo] OS-System: Linux 2.6.18-53.1.21.el5xen,i386
19:06:57,932 INFO  [JMXKernel] Legacy JMX core initialized
19:07:09,348 INFO  [WebService] Using RMI server codebase: 
http://moorix.sh.cvut.cz:8083/
19:07:11,268 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA 
version) - JBoss Inc.
19:07:11,269 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
19:07:11,936 INFO  [TransactionManagerService] Starting recovery manager
19:07:12,307 INFO  [TransactionManagerService] Recovery manager started
19:07:12,307 INFO  [TransactionManagerService] Binding TransactionManager JNDI 
Reference
19:07:54,462 INFO  [AspectDeployer] Deploying xml into [EMAIL PROTECTED] for 
[EMAIL 
PROTECTED]:/usr/share/jboss-5.0.0.Beta4/server/default/deploy/ejb3-interceptors-aop.xml}
19:07:55,987 INFO  [JMXConnectorServerService] JMX Connector server: 
service:jmx:rmi://moorix.sh.cvut.cz/jndi/rmi://moorix.sh.cvut.cz:1090/jmxconnector
19:07:58,206 INFO  [AprLifecycleListener] The Apache Tomcat Native library 
which allows optimal performance in production environments was not found on 
the java.library.path: 
/usr/java/jdk1.6.0_06/jre/lib/i386/server:/usr/java/jdk1.6.0_06/jre/lib/i386:/usr/java/jdk1.6.0_06/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
19:07:59,611 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on 
http-0.0.0.0-8080
19:07:59,613 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
19:07:59,613 INFO  [Catalina] Initialization processed in 2967 ms
19:07:59,613 INFO  [StandardService] Starting service jboss.web
19:07:59,620 INFO  [StandardEngine] Starting Servlet Engine: JBoss 
Web/2.1.0.CR12
19:07:59,735 INFO  [Catalina] Server startup in 122 ms
19:08:00,091 INFO  [RARDeployment] Required license terms exist, view 
vfsfile:/usr/share/jboss-5.0.0.Beta4/server/default/deploy/jms-ra.rar/META-INF/ra.xml
19:08:00,104 INFO  [RARDeployment] Required license terms exist, view 
vfsfile:/usr/share/jboss-5.0.0.Beta4/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
19:08:01,751 INFO  [SimpleThreadPool] Job execution threads will use class 
loader of thread: main
19:08:01,802 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
19:08:01,808 INFO  [RAMJobStore] RAMJobStore initialized.
19:08:01,809 INFO  [StdSchedulerFactory] Quartz scheduler 
'DefaultQuartzScheduler' initialized from default resource file in Quartz 
package: 'quartz.properties'
19:08:01,810 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
19:08:01,811 INFO  [QuartzScheduler] 

[jboss-user] [JBoss jBPM] - Re: where forms.xml & other task forms(.xhtml) are stored in

2008-06-16 Thread kukeltje
I think I already answered this... they are in the database

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

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


[jboss-user] [JBoss jBPM] - Re: Get Task Name in a ActionHandler

2008-06-16 Thread Fornachari
Thanks a lot for the help Octomac. 

I'll try it.

Thanks!

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

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


  1   2   >