[jboss-user] [Installation, Configuration & DEPLOYMENT] - how to Optimize jboss and its contents?

2008-02-24 Thread ritesh163
Hello everybody,
I am having problem with Jboss. I am using jboss-4.2.2.GA, 512MB RAM, window OS 
and jboss default contents. When I run jboss, it takes a lot of resources and 
web pages also display very slowly. Is there any way to open web pages faster? 
or is there any way to configure Jboss so that it works faster with less 
resources in use?

Thank you.

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

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


[jboss-user] [JBoss Portal] - Re: help needed in LDAP authentication in portal environ.

2008-02-24 Thread Antoine_h
sorry, but I don't understand what is your question, and what is the problem...

if you read the jboss reference doc, it is explained how to use the LDAP 
features.

from this, you can also see where to adapt the source code, for some more 
specific features... (if needed !...)

so... may be if you tell more precisely what you don't understand, or what you 
call "the issue"

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

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


[jboss-user] [JBoss jBPM] - Just a Question Regarding Change in Process Definition

2008-02-24 Thread zahidmaqbool
Hello Everyone, 

I am using JBPM with Seam. I just wanted to know how easy is it to modify 
process definition once  it is deployed. Just for example I want to delete 
tasks node or add a couple more of them. In Seam with JBPM, what is the best 
way of doing so. I also do  not want to loose my existing data in the Database, 
so is there any way that by just changing the process definition file and 
restarting, the changes will take automatically. 

If anyone can help it will be really great.. I would appreciate any help. 

Thanks in Advance...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131674
___
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: Entity Inheritence with primitive datatypes causes a Pro

2008-02-24 Thread gecco
after two days of debugging, it seems the embedded hsql database in JBoss4.2.2 
creates a wrong result set from the join statement.

The statement:

  | select 
  |   person0_.ID as ID0_0_, 
  |   person0_.NAME as NAME0_0_, 
  |   person0_.SSN as SSN1_0_, 
  |   person0_.clazz_ as clazz_0_ 
  | from 
  |   ( 
  | select 
  |   null as SSN, 
  |   NAME, 
  |   ID,
  |   0 as clazz_ 
  | from PERSON union select 
  |   SSN, 
  |   NAME, 
  |   ID, 
  |   1 as clazz_ 
  | from Employee 
  |   )
  | person0_ where  
  |   person0_.ID=?

results in a unexpected NULL value in the SSN Field of the resultset. which 
causes Hibernate to produce the PropertyAccessError.

with the hsqldb embedded in jboss 4.0.5 the statement produces a correct 
resultset.

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

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


[jboss-user] [JBoss Portal] - Customized CMS

2008-02-24 Thread sisepago
Hi all,

My Goal is to create a new page with a cms content. May be some one can check 
these descriptor configurations and gives me some advice, if that correct or 
not.

Thanks in advance.

my web archive structure looks like this:

myCMSPortlet.war
  | +---WEB-INF
  |+-portlet.xml
  |+-portlet-object.xml
  |+-portlet-instance.xml
  |+-web.xml

I know that in JBP any windows of the portal can be configured to display CMS 
content.

1) portlet.xml ( is that correct?)


  | http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
  |  
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
  |  version="1.0">
  |
  |   My Content Management System Portlet
  |   MyCMSPortlet
  |   My Content Management System Portlet
  |   org.jboss.portal.core.cms.ui.CMSPortlet
  |   
  |  text/html
  |  VIEW
  |  EDIT_CONTENT
  |   
  |   
  | 
  |  indexpage
  | /default/myfile.html
  | 
  | 
  |
  | 

2-portlet-object.xml ( is that correct?)


  | http://www.jboss.org/portal/dtd/portal-object_2_6.dtd";>
  | 
  | 
  | overwrite
  | default
  | 
  | MyCMSPage
  | 
  | 
  |  MyCMSWindow
  | 
  |cms
  |
/default/myfile.html
  |
  |center
  |1
  | 
  | 
  | 
  | 
  | layout.id
  | 1column
  | 
  | 
  | 
  | 
  | 
  | 

3- portlet-instance.xml ( is that correct?)

http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd";>
  | 
  | 
  |
  |   
  |  CMSPortletInstance
  |  MyCMSPortlet
  |   
  |
  | 


I got the same exceptional error when I deployed  the firstly application  in 
$JBOSS_HOME/server/default/deploy and secondly in 
$JBOSS_HOME/server/default/deploy/jboss_portal.sar

ERROR: 14:19:46,989 ERROR [STDERR] Caused by: javax.portlet.PortletException: 
Cannot start CMS portlet due to service unavailability


  | 
  | 
  | 14:19:46,978 ERROR [STDERR] 
org.jboss.portal.portlet.container.PortletInitializationException: The portlet 
MyCMSPortlet threw a portlet exception during init
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:260)
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.portlet.impl.container.PortletApplicationContextImpl.startPortletApplication(PortletApplicationContextImpl.java:135)
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:151)
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:96)
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99)
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.add(PortalDeploymentInfoContext.java:84)
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.registerFactory(ServerDeployer.java:134)
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory.registerFactory(AbstractDeploymentFactory.java:113)
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.server.deployment.jboss.AbstractDeploymentFactory.start(AbstractDeploymentFactory.java:152)
  | 14:19:46,979 ERROR [STDERR] at 
org.jboss.portal.portlet.deployment.jboss.PortletAppDeploymentFactory.start(PortletAppDeploymentFactory.java:217)
  | 14:19:46,979 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 14:19:46,979 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 14:19:46,983 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 14:19:46,983 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 14:19:46,983 ERROR [STDERR] at 
org.jboss.portal.jems.as.system.JBossServiceModelMBean$Ser

[jboss-user] [JBoss jBPM] - Re: jboss jbpm developer guide

2008-02-24 Thread kukeltje
loads of testcases in the source that demonstrate the usage

custominzing the console? to what extend?

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

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


[jboss-user] [JBoss Portal] - Re: How do JBossPortal support multi lingual?

2008-02-24 Thread littleprince

  | you have to manage the way you want the language to be choosen (at first 
visit, with the user preference, or let the user choose it when he wants). 
  | and manage the way you store the choice... 
  | that is a business choice... not a portal requierement... so you have to do 
it. 
  | but it is not difficult. 
  | 

I have problem on manage the way of storing the choice. Can anyone advise me on 
this?

i put a language selection box on the header, and when the user change the 
language, it suppose to change the language of the portal and portlets. 
However, i have no idea how to pass the parameter from servlet to the portal 
and portlets.

i tried to use setAttribute with application_scope, but seems is not working 
because of they are not in the same war.



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

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


[jboss-user] [JBoss/Spring Integration] - Jboss 5 Beta 4 Spring Problems

2008-02-24 Thread ragavgomatam
Hi all,

I successfully deployed spring injection in Ejb's 3.0 with Jboss 5 Beta 3 but 
in Jboss 5 Beta 4 it seems broken. Not sure where the problem lies. 

I have downloaded latest spring deployer and put it under 
$JBOSS_HOME/server/default/deployer.

My ejb3-interceptors.xml is as follows :- 


  | http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd";>
  | 
  | 
  |
  |
  |
  |
  |
  |
  | 
  |
  | 
  |
  |   
  |   
  |   
  |   
  |
  | 
  |
  |   
  |   
  |   
  |   
  |
  | 
  |
  |   
  |   
  |   
  |   
  |
  | 
  |
  |   
  |   
  |   
  |   
  |
  | 
  |
  |   
  |   
  |   
  |   
  |
  | 
  |
  |   
  |   
  |   
  |   
  |   
  |
  | 
  |
  |   
  |   
  |   
  |   
  |   
  |
  | 
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  | 
  |
  |   
  |  
  |  
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |  
  |  
  |  
  |  
  |  
  |   
  |   
  |  @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", 
maxSize=30, timeout=1)
  |   
  |   
  |  @org.jboss.ejb3.annotation.JndiBindingPolicy 
(policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  |   
  |
  | 
  |
  |   
  |  
  |  
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |  
  |  
  |  
  |  
  |  
  |   
  |   
  |  @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", 
maxSize=30, timeout=1)
  |   
  |   
  |  @org.jboss.ejb3.annotation.JndiBindingPolicy 
(policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  |   
  |
  | 
  |
  |   
  |  
  |  
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |  
  |  
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |  
  |   
  | 
  |   
  |  
  |   
  | 
  |   
  |  
  |   
  | 
  |   
  |  @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", 
maxSize=30, timeout=1)
  |   
  |   
  |  @org.jboss.ejb3.annotation.JndiBindingPolicy 
(policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  |   
  |
  | 
  |
  |   
  |   
  |  @org.jboss.ejb3.annotation.Cache ("SimpleStatefulCache")
  |   
  |   
  |  @org.jboss.ejb3.annotation.PersistenceManager 
("StatefulSessionFilePersistenceManager")
  |   
  |   
  |  @org.jboss.ejb3.annotation.CacheConfig (maxSize=10, 
idleTimeoutSeconds=300, removalTimeoutSeconds=0)
  |   
  | 
  |   
  |   
  |  @org.jboss.ejb3.annotation.Cache ("StatefulTreeCache")
  |   
  |   
  |  @org.jboss.ejb3.annotation.CacheConfig 
(name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=10, 
idleTimeoutSeconds=300, removalTimeoutSeconds=0)
  |   
  |
  | 
  |
  |   
  |  
  |  
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |  
  |  
  |  
  |   
  |   
  |  
  |   
  |   
  |  
  |  
  |  
  |   
  | 
  |   
  |  
  |   
  |   
  |  @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", 
maxSize=30, timeout=1)
  |   
  |   
  |  @org.jboss.ejb3.annotation.JndiBindingPolicy 
(policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
  |   
  | 
  |   
  |   
  |  @org.jboss.ejb3.annotation.Cache ("SimpleStatefulCache")
  |   
  |   
  |  @org.jboss.ejb3.annotation.PersistenceManager 
("StatefulSessionFilePersistenceManager")
  |   
  |   
  |  @org.jboss.ejb3.annotation.CacheConfig (maxSize=10, 
idleTimeoutSeconds=300, removalTimeoutSeconds=0)
  |   
  | 
  |   
  |   
  |  @org.jboss.ejb3.annotation.Cache ("S

[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 4 Spring Problems

2008-02-24 Thread ragavgomatam
Forgot to add...I am running it on Jrockit 1.6.02

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

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


[jboss-user] [Security & JAAS/JBoss] - Reload keystore in basecertloginmodule

2008-02-24 Thread mengyi
I managed to configure the BaseCertLoginModule to work together with 
DatabaseServerLoginModule to work properly.

but now i have a problem, every time i have a new client. I add the client's 
cert to the keystore(also the truststore), i have to restart the jboss server 
so that the new certificate is in effect.

is there a parameter somewhere that i can configure the login module to auto 
reload the keystore when it is modified?  thanks.

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

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


[jboss-user] [JBoss Portal] - Upgrade jBoss portal from 2.6.3 to 2.6.4

2008-02-24 Thread gluk
Hi all.

I have jBoss portal 2.6.3 (under Linux), downloaded and installed as binary 
distribution, bundled with jBoss. Now I need to upgrade it to 2.6.4. The 
problem is that the developers deployed a lot of software, and it would take 
long to deploy it again. So I cannot just download and unpack binary 
distribution 2.6.4 to the new directory. I also cannot delete 
$JBOSS_HOME/server/default/deploy/jboss-portal.sar directory and replace it 
with the new version as described in Upgrading section of the reference guide - 
all the deployed software will be deleted. Please, tell me how to upgrade the 
portal.

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

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


[jboss-user] [EJB 3.0] - Re: PersistenceContext injection into a JSF-technology manag

2008-02-24 Thread snarff
I see that this thread is antique, so I hope a solution is available. 
Nevertheless, I'm having the same problem, so I'd really appreciate a pointer...

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

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


[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?

2008-02-24 Thread cdc08x
Thank you very much, Martin, for your help!

Sadly, the solutions you suggested me aren't suitable for my case, because the 
other fields into the DocumentoData class are tightly connected to the 
DataHandler - that is, it's a design issue: they're all meta-information about 
the pdf file the DataHandler holds, so the wrapper should wrap a Collection of 
DocumentoData objects, and not a Collection of DataHandlers "alone"!
I tried to wrap a Collection of DocumentoData instances, but it doesn't work 
anyway.

On the other hand, the client is not MTOM/XOP enabled, because it's a PHP 
PEAR::SOAP client.

I think I will have to abandon the idea of putting as attachment the files, 
then, and use the base64-encoding.

Thank you, anyway!

Best regards,
Claudio

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Several jars sharing the same persistence unit

2008-02-24 Thread jmpdesign
Hi,

I would like to know if it is possible to share the same persistence unit 
between several jars.

I would like to split my ORMLayer in several modules (each one corresponding to 
one jar file). Kernel module will defined persistence unit and other will 
reference it.

If you have any idea, I will be very delighted :-)

Regards,

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

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


[jboss-user] [The Lizzard's corner] - Where can I find info about test gui in Seam?

2008-02-24 Thread khalidelmeknesi
Hi everybody,

Im looking for some information or examples about how to test an gui in seam. I 
have searching arround on google but can't find anything. I hope someone can 
help me.

gr,

Khalid

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS provider failure

2008-02-24 Thread memema
Hi Francois, Hi Thom
I have the same identical problem with JBoss 4.0.4 GA in cluster and JDK 1.5.07 
on HP-Unix.

It seems a JBoss bug... :-(

Did you have found a solution to that problem?

Thanks for any suggestion,
Claudio

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 4 Spring Problems

2008-02-24 Thread alesj
Can you check if the info that exceptions describe hold:

  | 10:53:14,016 WARN  [ClassLoaderManager] Unexpected error during load 
of:org.springframework.aop.framework.ProxyCreatorSupport
  | java.lang.VerifyError: 
org/springframework/aop/framework/ProxyCreatorSupport: attempting to override 
final method org/springframework/aop/framework/AdvisedSupport.adviceChanged()V
  | 
attempting to override final method

  | 10:53:14,156 WARN  [ClassLoaderManager] Unexpected error during load 
of:org.springframework.aop.support.MethodMatchers$ClassFilterAwareUnionMethodMatcher
  | java.lang.IllegalAccessError: 
org/springframework/aop/support/MethodMatchers$ClassFilterAwareUnionMethodMatcher
 : org/springframework/aop/support/MethodMatchers$UnionMethodMatcher
  | 
IllegalAccessError

It could be that beta3 didn't output this at warn level, perhaps only at trace 
or debug.

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

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


[jboss-user] [JNDI/Naming/Network] - Intermittent java.rmi.ConnectException

2008-02-24 Thread doktora
I know there have been a million posts about these kind of errors but mine 
seems to happen intermittently which is still quite unacceptable for a 
production environment.

This happens about half a dozen times a day. Where do I even begin to look?

My setup:

Box A: IP A.A.A.A with Jboss 4.2.1 on Linux 

Box B: IP B.B.B.B with Tomcat 5.5.25 on Linux

Tomcat on Box B is started with:
-Djava.naming.provider.url=jnp://box1:1099  
-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory 
-Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

and in /etc/hosts box1 is mapped to A.A.A.A


The details of the exception:

Tools::lookup() -> Could not discover class 
  | javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectException: Connection refused to host: A.A.A.A; nested 
exception is:
  |   java.net.ConnectException: Connection timed out]
  |   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
  |   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
  |   at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |   at Tools.lookup(Tools.java:17)
  |   ...

Many thanks for any ideas!
(pls don't mention firewalls. it's not that!)

dok

P.S. Tools::lookup() does a simple InitalContext.lookup(classname).



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

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


[jboss-user] [JBoss jBPM] - Re: Just a Question Regarding Change in Process Definition

2008-02-24 Thread kukeltje
how easy it is is completely dependend on what you want to change and what 
states the processinstances are in. E.g. deleting a tasknode where there are 
processintances that have tokens in those nodes requires repositioning those 
tokens. There are many issues similar issues that have to be taken into 
account. You have to figure out which will apply to you. 

But once these are done, changes will be reflected in the  running intances.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 4 Spring Problems

2008-02-24 Thread ragavgomatam
Checked it...Beta 3 did not have these errors...Also the application deployed 
beautifully with spring-deployer & spring injection.Makes me wonder if this 
is something very specific to Beta 4 ?

I am going to re-install Beta 4 once again & try it out...I'll post back after 
reinstall & try

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 4 Spring Problems

2008-02-24 Thread ragavgomatam
Tried again...Actually this happens only with one WAR file in Beta 4.
I am using OracleRowSet there . My spring-context.xml is as follows :- 


  | http://www.springframework.org/schema/beans";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xmlns:jee="http://www.springframework.org/schema/jee";
  | xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
  | http://www.springframework.org/schema/jee 
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

My bean code is as follows :- 

/*
  |  * DAOImpl.java
  |  *
  |  * To change this template, choose Tools | Template Manager
  |  * and open the template in the editor.
  |  */
  | 
  | package com.myapp.db;
  | 
  | import java.sql.Connection;
  | import java.sql.SQLException;
  | import javax.sql.DataSource;
  | import javax.sql.RowSet;
  | import javax.sql.rowset.CachedRowSet;
  | import org.springframework.jdbc.support.JdbcUtils;
  | import javax.sql.rowset.spi.SyncProviderException;
  | import oracle.jdbc.rowset.OracleCachedRowSet;
  | import org.apache.struts.action.ActionForm;
  | import org.apache.struts.action.DynaActionForm;
  | 
  | public class DAOImpl implements DAOIntf{
  | 
  | //Spring Injected
  | private DataSource ds;
  | private CachedRowSet rowSet;
  | 
  | public Connection getConnection() throws SQLException {
  | return this.ds.getConnection();
  | }
  | 
  | 
  | public void setDataSource(DataSource datasrc) {
  | this.ds = datasrc;
  | }
  | 
  | public DataSource getDataSource() {
  | return this.ds;
  | }
  | 
  | public CachedRowSet getRowSet() {
  | return this.rowSet;
  | }
  | 
  | public void setRowSet(CachedRowSet r) {
  | this.rowSet = r;
  | }
  | 
  | public RowSet getBooks(int isbn) {
  | 
  | Connection conn = null;
  | 
  | try {
  | conn =  getConnection();
  | rowSet.setCommand("select ISBN,TITLE,AUTHOR,RATING,PRICE from 
BOOKROWSET where isbn = " + isbn);
  | rowSet.execute(conn);
  | } catch (SQLException ex) {
  | ex.printStackTrace();
  | } finally {
  | JdbcUtils.closeConnection(conn);
  | }
  | return rowSet;
  | }
  | 
  | 
  | public RowSet getAllBooks() {
  | 
  | Connection conn = null;
  | 
  | try {
  | conn = getConnection();
  | rowSet.setCommand("select ISBN,TITLE,AUTHOR,RATING,PRICE from 
BOOKROWSET ");
  | rowSet.execute(conn);
  | } catch (SQLException ex) {
  | ex.printStackTrace();
  | } finally {
  | JdbcUtils.closeConnection(conn);
  | }
  | return rowSet;
  | }
  | 
  | public RowSet addBooks(ActionForm form) {
  | 
  | rowSet =  getRowSet();
  | 
  | try {
  | rowSet.setReadOnly(false);
  | rowSet.afterLast();
  | rowSet.moveToInsertRow();
  | 
rowSet.updateDouble(1,(Double)(((DynaActionForm)form).get("isbn")));
  | 
rowSet.updateString(2,(String)(((DynaActionForm)form).get("title")));
  | 
rowSet.updateString(3,(String)(((DynaActionForm)form).get("author")));
  | 
rowSet.updateString(4,(String)(((DynaActionForm)form).get("rating")));
  | 
rowSet.updateDouble(5,(Double)(((DynaActionForm)form).get("price")));
  | rowSet.insertRow();
  | rowSet.setReadOnly(true);
  | rowSet.beforeFirst();
  | commit(rowSet);
  | } catch(SQLException sqe) {
  | sqe.printStackTrace();
  | }
  | 
  | return rowSet;
  | 
  | }
  | 
  | public RowSet deleteBook(ActionForm form) {
  | 
  | rowSet =  getRowSet();
  | try {
  | rowSet.setReadOnly(false);
  | rowSet.absolute(Integer.parseInt((String) 
(((DynaActionForm)form).get("rowNo";
  | rowSet.deleteRow();
  | rowSet.setReadOnly(true);
  | rowSet.beforeFirst();
  | commit(rowSet);
  | } catch(SQLException sqe) {
  | sqe.printStackTrace();
  | }
  | return rowSet;
  | 
  | }
  | 
  | private void commit(RowSet r) {
  | 
  | Connection conn = null;
  | 
  | try {
  | conn = getConnection();
  | OracleCachedRowSet rowSet = (OracleCachedRowSet)r;
  | rowSet.acceptChanges(conn);
  | } catch (SyncProviderException ex) {
  

[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 4 Spring Problems

2008-02-24 Thread ragavgomatam
Sure...I checked it out in tomcat 6...Had same issuesWill keep forum posted 
if i run into anything

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 4 Spring Problems

2008-02-24 Thread alesj
"ragavgomatam" wrote : 
  | Error from jboss 5 beta 4 is :- If I remove this WAR file, everything 
appears fineSurprising this was that this was working with spring 
2.0...Moment I upgraded to spring 2.5 I started to get this errorChecked 
out the spring forums & they say it is becos spring is returning a proxy 
instead of OracleCachedRowSet...Question is why should spring 2.5 do this ? 
OracleCachedRowSet implements javax.sql.rowset.CachedRowset & jdk proxy should 
be ok ...Else jboss 5 beta 4 seems to be okGuess this is something with 
spring 2.5To be sure I deployed this WAR in tc 6  and had the same error
  | 
OK, so this is clearly Spring problem, and not of JBoss SpringDeployer.
I'll leave this post here, so anyone else who also stumbles will be able to 
identify this.
But make sure you post any findings.

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

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


[jboss-user] [JBossWS] - Client timeout

2008-02-24 Thread rjaros
I've read many different comments about this subject on this forum and tried 
all of them but without luck. I'm trying to set timeout on web service call. My 
code looks like this:

Service service = Service.create(wsdlLocation, serviceName);
  | BWSRemoteInterface port = (BWSRemoteInterface) service.getPort(new 
QName(url, "http://url";),BWSRemoteInterface.class);
  | 

I've tried this, hoping it will work:
  
((BindingProvider)port).getRequestContext().put(StubExt.PROPERTY_CLIENT_TIMEOUT,
 new Integer(500));

but it doesn't. I'm using JBoss 4.2.1 and JBossWS 2.0.1. My WS timeouts always 
after about 3 minutes. I would be very grateful for any help.


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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 4 Spring Problems

2008-02-24 Thread ragavgomatam
OK AlesI think the problem is with the spring deployer...I did the 
following 
(1) I installed twice jboss 5 beta 4  with and without spring deployer.
(2) In the jboss 5 beta 4 without spring deployer, I installed a WAR file ( 
spring 2.5 + struts + ibatis ) This installed fine and worked without any 
problem.
(3) I installed this same WAR in tomcat 6.0.1.4 and it installed fine without 
errors and worked fine.
(4) I installed the same WAR file in jboss 5 beta 4 WITH spring deployer ( 
deployer + change in ejb3-aop-interceptors.xml) 
(5) Problems started top appear..
(6) Removed the WAR (spring 2.5 + struts 1.2.9 + ibatis ) 
(7) Installed JUST my Ejb 3 EAR with spring injection ( Ejb 3 + Spring 
injection into ejb 3) ...Worked fine.

Guess problem is ONLY when you have a Spring WAR with a Spring 
deployer...Errors start to appear and application does not install
Using spring deployer 3.0

Error trace :- 

18:50:01,562 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta4 (build: 
SVNTag=JBoss_5_0_0_Beta4 date=200802091115)] Started in 42s:0ms
  | 18:50:20,578 WARN  [ClassLoaderManager] Unexpected error during load 
of:org.springframework.aop.framework.ProxyCreatorSupport
  | java.lang.VerifyError: 
org/springframework/aop/framework/ProxyCreatorSupport: attempting to override 
final method org/springframework/aop/framework/AdvisedSupport.adviceChanged()V
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:58)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader$1.run(BaseClassLoader.java:362)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader$1.run(BaseClassLoader.java:321)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:320)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:293)
  | at 
org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:75)
  | at 
org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:91)
  | at 
org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:449)
  | at 
org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:251)
  | at 
org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:145)
  | at 
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:193)
  | at 
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1006)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:584)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:234)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.deployment.AnnotatedClassFilter.accepts(AnnotatedClassFilter.java:112)
  | at 
org.jboss.deployment.AnnotatedClassFilter.visit(AnnotatedClassFilter.java:93)
  | at 
org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)
  | at 
org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:196)
  | at 
org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:208)
  | at 
org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:208)
  | at 
org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:208)
  | at 
org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:208)
  | at 
org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:141)
  | at org.jboss.virtual.VFS.visit(VFS.java:336)
  | at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:363)
  | at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:157)
  | at 
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:90)
  | at 18:50:20,609 WARN  [ClassLoaderManager] Unexpected error during 
load 
of:org.springframework.aop.support.MethodMatchers$ClassFilterAwareUnionMethodMatcher
  | java.lang.IllegalAccessError: 
org/springframework/aop/support/MethodMatchers$ClassFilterAwareUnionMethodMatcher
 : org/springframework/aop/support/MethodMatchers$UnionMethodMatcher
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:58)
  | at 
org.jboss.cla

[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?

2008-02-24 Thread mrostan
Hi Claudio.

Maybe I was not clear enough, I'm not sure you have tried my solution, so here 
is an example:
Create a wrapper class, let's say Documentos:

  | public class Documentos {
  |   @XmlMimeType("application/octet-stream")
  |   private String dummy;
  | 
  |   private List documentos;
  | }
  | 

It should work, the trick is the annotation in the dummy string, simply put the 
field, you don't need to use it

Btw, I will upload a patch later, and I will test a case similar to yours, so I 
expect this problem to be fixed on jbossws 2.0.4 .

Regards, 
Martin

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Basic Authentication Using Oracle XE

2008-02-24 Thread ragavgomatam
PLease turn on the logs & post the output.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Security role re-assignment

2008-02-24 Thread ragavgomatam
Check this out from jboss-web.xml



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

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


[jboss-user] [Security & JAAS/JBoss] - Re: How to set custom authenticator for JBoss 5.x

2008-02-24 Thread ragavgomatam
Do you mean custom login module ? If yes...check the code posted at :- 

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=125169

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

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


[jboss-user] [JBoss Portal] - can get to jboss portal via localhost - nothing else can

2008-02-24 Thread steverar
- downloaded JBoss Portal + JBoss AS 4.2.2
- unzipped and running on Windows XP SP2 and OS X 10.5.2 and OS X 10.4.11
- going to http://localhost:8080/portal/index.html works
- cannot get to it from any other machine

Turned off firewalls on all of he machines.  Still couldn't get in.  The 
windows box is now a hungarian porn loader but the Macs are OK.

Thought it was port, so I changed the port.  No go.

Thought it was router, so I connected directly and manually set IP addr's.  
Still no go.

I can bring Alfresco up and get to it OK from all over.

What am I missing ?  I'm thinking it's really, really simple.  Pity, please...

Thank you

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

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


[jboss-user] [EJB 3.0] - requiresnew

2008-02-24 Thread Mr_Anonymous
I have a 2 methods on a session bean:
1. void sendEmail(SomeEmailBean)  # marked as REQUIRED
2. void saveFailedEmailToDatabase(SomeEmailBean) # REQUIRESNEW

I want the first method to call the second internally when the email fails (ex: 
SMTP server down).  So I have:
try { // code to send email
}
catch (Exception e) {
  // lookup remote interface to EmailServiceBean (using remote on purpose to 
try to force the REQUIRESNEW)
  // call saveFailedEmailToDatabase method on the remote interface
  // throw a runtime exception at this point in case we are part of a larger 
transaction so it will rollback
}

.. now I have debug code in the saveFailedEmailToDatabase method, so I see it 
getting called from the catch block and I see it trying to write data to the 
database (I use db generated sequence #s and I see those getting populated 
after the db calls).  *But* when I actually look at the database the table is 
empty (which makes it look like the call on the remote interface is getting 
tied to the current transaction so it is rolling back).  Has anyone seen 
anything like this?  FYI: I'm on JBoss 4.2.1.




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

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


[jboss-user] [JBoss jBPM] - Problem with Timer, Scheduler

2008-02-24 Thread sid82
I am facing a problem while trying to use the Timer and Scheduler service of 
jBPM.


The process definition that I am using is:-

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


Within jbpm.cfg.xml, I am using 'DbSchedulerServiceFactory' :-


  | ...
  | 
  | ...
  | 


Everything works fine with this except that no action (named ActionClass) is 
executed at the specified time i.e. after 3 seconds of coming onto the node 
named 'next'. The action is not even called once so no wonder that it never 
gets repeated after every 1 second.

I have used the same action while transitioning from the 'StartState' to 
'next', and it gets executed when a signal is given. But the same action is not 
called with the Timer.

I am using Timer along with persistence, i.e. all the data goes into database. 
So, I create jbpmContext before using timer (which is required). Also, till the 
time I am at node 'next', timer data still remains in database in JBPM_JOB 
table but when the process instance moves forward to the next state (i.e. 
'EndState') the timer gets cancelled and deleted from database, which is also 
correct. So, the point is that everything is working as expected but still the 
action specified on the timer is not getting executed at all.

If you can please find out some time and look into the issue, it will be of 
great help.

Thanks in Advance.



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

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


[jboss-user] [JBoss Portal] - Re: help needed in LDAP authentication in portal environ.

2008-02-24 Thread rammy1984
first of all thanks for the response for which i was waiting ,

this is the code iam using to retrieve users from the LDAP. here i try to get 
the usermodule reference. 

UsernamePasswordHandler handler = new UsernamePasswordHandler(userName, 
password.toCharArray());
LoginContext loginContext = new LoginContext("portal", 
handler); 
loginContext.login(); 

Subject subject = loginContext.getSubject();
System.out.println("Subject: "+subject);
Set groups = subject.getPrincipals(Group.class);
Group roles = (Group) groups.iterator().next();

UserModule module ;
  module = (UserModule) new 
InitialContext().lookup("java:/portal/UserModule");



am i goin in a right way ? i have configured the server for authenticating 
against the LDAP. 

i have added the entry in joss-service.xml , and in ldap_identity-config.xml.

in login-config.xml i  added the following :
http://www.jboss.org/j2ee/dtd/security_config.dtd";>










com.sun.jndi.ldap.LdapCtxFactory
ldap://localhost:10389/
simple
cn=Directory 
Manager
password
ou=People,dc=example,dc=com
(uid={0})
ou=Roles,dc=example,dc=com
(member={1})
cn
-1
1
SUBTREE_SCOPE
false


true
true
Authenticated
User
java:/portal/UserModule
java:/portal/RoleModule
java:/portal/MembershipModule
java:/portal/UserProfileModule






can u tell me how to retrieve users stored in LDAP?

is there anything wrong iam doing? i read the jboss docs and followed them to 
configure LDAP.



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

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


[jboss-user] [JBoss Tools (users)] - Seam Generate Entities

2008-02-24 Thread nsakiya
Seam Generate Entities 

I'd like this take this opportunity to thank Max Andersen and the gangs at 
JBossWorld for hand-on lab. I was a Seam virgin there, but learn a lot from you 
guys.  The lab was excellent, and everything works great.

The problem I got here now is when I tried to adapt this and use my Oracle 
database.  Using "Seam Generate Entity -> Reverse Engineer from Database" 
doesn't seem to work.  I have like 100 tables in schema in the schema, and 
maybe they're causing the problem.  The dialog box just sit there and got 
locked up after clicking Finish button.  I wait for hours, but nothing changed 
or happened.  I tried this in both Linux and Windows version, and they both 
seemed to stuck at the same place.

If I may, I'd also like to suggest one thing in "Reverse Engineer from 
Database."  It would be nice if we can pick and choose which tables and their 
dependend tables include instead of importing the entire schema.

Thanks! :)


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

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


[jboss-user] [Remoting] - Can a TransporterServer generate port?

2008-02-24 Thread gcollis
I want to randomly generate ports using TransporterServer. Currently I can wrap 
POJO's and beam them with a server with a known port number.

To get around this I am currently storing the last port used and incrementing 
by one, then creating a Locator, then passing it to one of the 
TransporterServer.create??? methods. The issue is that sooner or later I will 
clash on an already in use port.

OK, I can catch the exception and loop but is there a better way.

If I try and use a PORT of 0 for the port in the locator string, when passed to 
the a TranporterServer.create??? this should produce a server on a random port. 
Unfortunately I cannot find a way get the actual PORT it used and therefore 
cannot create a locator for the client.

Note the POJO's carry state so I need a server for each client.

Any suggestions welcome, thanks, Graeme

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with Timer, Scheduler

2008-02-24 Thread kukeltje
I'm wondering what using the search on this forum (e.g. using google) would 
yield probably something like: "start the jobexecutor"

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

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


[jboss-user] [JBoss jBPM] - Eclipse 3.3.1.1 + jbpm-jpdl-3.2.2.zip freeze

2008-02-24 Thread s.rzytki
Hello
  I've just tried migrate from eclipse 3.1 to newest version of eclipse 3.3.1.1 
(Europa) with the new plugin of jbpm designer (3.2.2). There is a problem with 
openning and saving jbpm diagrams. First opening of diagrams there is a 
standard conversion to the newest gpd format it's takes a lot but that could be 
normal. But after all every opening an closing takes 20 seconds - few minutes 
depends on diagram. What is the problem. I was tested it with normal eclipse  
version and with europa the problem is the same.

Other knonw issues:
- creating new swimlane in src devastate all diagram schema
- editing name of node on diagram shows in strange place
- where is the standard property window for node where we can easly change the 
name of the node

Info:
WinXP
Eclipse Europa 3.3.1.1
jbpm-jpdl-3.2.2, jbpm-jpdl-3.2.1

Thx for help

Regards
Sebastian

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

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


[jboss-user] [Remoting] - About the usage of path in InvokerLocator

2008-02-24 Thread andyyeung
Hi, Jboss remoting seems disallowed creation of 2 connectors with 2 
InvokerLocators which has same ip and port but different path. Eg
http://192.168.0.1:8084/Service1
http://192.168.0.1:8084/Service2.
It seems the 2 connector cannot started twice with same ip and port as there 
are Address already in use exception. 
Also when doing client trigger the request to the server. Only transport, ip 
and port are being matched. Is this a correct behaviour?
If so, then what is the purpose of having the path for the Locator  URL?

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

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


[jboss-user] [EJB 3.0] - MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM

2008-02-24 Thread r.parmala
12:43:20,610 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
[EMAIL PROTECTED] { 
url=file:/D:/raghu/tools/jboss-4.0.2/server/default/deploy/appfuse.war/ }
  deployer: [EMAIL PROTECTED]
  status: Deployment FAILED reason: URL 
file:/D:/raghu/tools/jboss-4.0.2/server/default/deploy/appfuse.war/ deployment 
failed
  state: FAILED
  watch: 
file:/D:/raghu/tools/jboss-4.0.2/server/default/deploy/appfuse.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1203921999776
  lastModified: 1203591610451
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.web.deployment:id=1798138287,war=appfuse.war
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL 
file:/D:/raghu/tools/jboss-4.0.2/server/default/deploy/appfuse.war/ de
ployment failed

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:id=1798138287,war=appfuse.war
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL 
file:/D:/raghu/tools/jboss-4.0.2/server/default/deploy/appfuse.war/ de
ployment failed

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

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