[jboss-user] [JBoss Portal] - NoClassDefinitionFound on IPC example

2007-09-04 Thread habicht
hi!

i have the following problem with the IPC example from the reference manual 
(PortletA/PortletB) when i deploy the sar with the jboss-service.xml i receive 
the exception:
 java.lang.ClassNotFoundException: No ClassLoaders found for: 
test.PortletB$Listener
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.portal.core.event.PortalEventListenerServiceImpl.startService(PortalEventListenerServiceImpl.java:78)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
  | at 
org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.execute(JBossServiceModelMBean.java:488)
  | at 
org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.startService(JBossServiceModelMBean.java:454)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
  | at 
org.jboss.portal.jems.as.system.JBossServiceModelMBean$6.invoke(JBossServiceModelMBean.java:376)
  | 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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | 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.deploy(MainDeployer.java:819)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.GeneratedMethodAccessor117.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 $Proxy8.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.AbstractDep

[jboss-user] [JBoss Seam] - problem with Authenticator

2007-09-04 Thread mnrz
Hi

I have an Authenticator component in my application and it was working fine 
until yesterday and now it's treating weird, I had no changes since yesterday 
but it throws following exception. 


  | Hibernate: select user0_.username as username3_, user0_.address as 
address3_, user0_.group_id as group13_3_, u
  | ser0_.password as password3_, user0_.position as position3_, user0_.idCity 
as idCity3_, user0_.mobileContact a
  | s mobileCo6_3_, user0_.phoneNo1 as phoneNo7_3_, user0_.phoneNo2 as 
phoneNo8_3_, user0_.speciality as specialit
  | y3_, user0_.statusCode as statusCode3_, user0_.uPIN as uPIN3_, 
user0_.enabled as enabled3_ from user user0_ wh
  | ere user0_.username=? and user0_.password=?
  | Hibernate: select group0_.id as id1_1_, group0_.name as name1_1_, 
group0_.permissionGroup as permissi3_1_1_, g
  | roup0_.exportPermission as exportPe4_1_1_, permission1_.groupId as 
groupId3_, permission1_.id as id3_, permiss
  | ion1_.id as id2_0_, permission1_.permission as permission2_0_, 
permission1_.groupId as groupId2_0_, permission
  | 1_.fieldName as fieldName2_0_, permission1_.category as category2_0_, 
permission1_.displayablePermission as di
  | splaya5_2_0_, permission1_.searchablePermission as searchab6_2_0_ from 
group_permission group0_ left outer joi
  | n permission permission1_ on group0_.id=permission1_.groupId where 
group0_.id=?
  | java.lang.IllegalStateException: No transaction.
  | at org.jboss.tm.TxManager.setRollbackOnly(TxManager.java:751)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.markAsRollback(AbstractEntityManagerImpl.java:392)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.jav
  | a:545)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.jav
  | a:567)
  | at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:72)
  | at 
com.payvand.search.model.business.Authenticator.authenticate(Authenticator.java:59)
  | at 
com.payvand.search.model.business.Authenticator$$FastClassByCGLIB$$28b8687e.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | at 
org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | at 
org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:29)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | at 
org.jboss.seam.interceptors.BijectionInterceptor.bijectNonreentrantComponent(BijectionInterceptor.j
  | ava:79)
  | at 
org.jboss.seam.interceptors.BijectionInterceptor.bijectComponent(BijectionInterceptor.java:58)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | at 
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationI
  | nterceptor.java:52)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |  

[jboss-user] [JBoss Seam] - Re: Error on core:resource-loader

2007-09-04 Thread wise_guybg
Oops, sorry. Seam doesn't find any problems in the xml code. It's IntelliJ IDEA 
that was complaining. I restarted the system and now it's fine. Thanks...

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

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


[jboss-user] [JBoss Seam] - SEAM POJO: ROLE BASED ACCESS CONTROL?

2007-09-04 Thread rmadabusi
I have read "No support for container managed security" if we use POJO beans 
instead of EJB3. Does this mean I can't use Role based access control using 
POJO's? (For example, Can I use s.hasRole, s.hasPermission in either JSF or at 
Bean level if I implement my application in SEAM + HIBERNATE (NO EJB3)?)

Thanks
rmadabusi

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

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


[jboss-user] [JBoss Seam] - FacesMessages Does not work with jPDL navigation???

2007-09-04 Thread curtney
Greetings everyone!!

 I am using Seam 2.0 Beta 1 running on JBoss 4.2.0.GA.

The problem I am having is that I am unable to show error messages on forms 
that are submitted in a jPDL flow / page navigation. I can see that the error 
messages were enqueued, but somehow they are not displayed on the page when my 
flow navigates back to that page. Here is an example of a simple flow that does 
not work if validation fails.


  | 
  | http://jboss.com/products/seam/pageflow";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://jboss.com/products/seam/pageflow 
http://jboss.com/products/seam/pageflow-2.0.xsd"; 
  | name="changepassword">
  |  
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  | 
  | 
  | 

  | 
  | Neither of the following works:
  | 
  | facesMessages.addFromResourceBundle("customerChangePasswordError");
  | 
  | facesMessages.add("changePasswordForm:newPasswordConfirm", new 
FacesMessage(FacesMessage.SEVERITY_ERROR, "Re-enter new password.", "Re-enter 
new password."));
  | 
  | 


I have being trying for 3 days now and I am unable to solve this problem. I 
have search the forum and did not find any solution. However, there was one 
mention of a similar problem but with no resolution.

So, does FacesMessages works with jPDL page navigation? I really  need some 
help with this. Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Switching to Hibernate or not

2007-09-04 Thread samdoyle
Unfortunately you cant have more then OneToMany mappings with EAGER FetchType 
or your application blows ups. If you set one to be LAZY it blows up.  Please 
see my recent post.

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

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


[jboss-user] [JBoss Seam] - failed to lazily initialize a collection of role exception

2007-09-04 Thread samdoyle
So I want to use Hibernate 3.2 for my EM in a JEE5 environment. However, I have 
an entity that has and requires TWO mappings of the following:


  | @OneToMany(cascade={CascadeType.ALL}, fetch=FetchType.EAGER, mappedBy = 
"owningILDA")
  | 

The FetchType is EAGER. This is not against he spec. and should be allowed by 
Hibernate but it is not. So if I change one to be LAZY I get this exception:

  | Caused by: org.hibernate.LazyInitializationException: failed to lazily 
initialize a collection of role: 
com.covaluate.infotek.ilda.ejb.entity.ILDAEntityBean.ilda15MinUpdates, no 
session or session was closed
  | at 
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
  | at 
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
  | at 
org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343)
  | at 
org.hibernate.collection.AbstractPersistentCollection.write(AbstractPersistentCollection.java:183)
  | at 
org.hibernate.collection.PersistentBag.add(PersistentBag.java:274)
  | 

Is there another way around this besides switching back to TopLink Essentials 
which doesn't result in this problem?

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

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


[jboss-user] [JBoss Portal] - Re: ClassCastException when using MyFacesGenericPortlet

2007-09-04 Thread [EMAIL PROTECTED]
Have you looked at: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces? 
As far as running MyFaces portlets together with Portal 2.6, Portal itself is 
an example of a success since the administration portlets use a bundled MyFaces 
to run.

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

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


[jboss-user] [JBoss Portal] - Re: Emergent:cannot running the examples?

2007-09-04 Thread ljd19821103
Emergency!Emergency!Emergency!Emergency!Emergency!Emergency!Emergency!Emergency!Emergency!Emergency!

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

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


[jboss-user] [JBoss Portal] - Emergent:cannot running the examples?

2007-09-04 Thread ljd19821103
I have download the Jboss Portal 2.4.2 bundled.zip,and the test page 
http://localhost:8080/portal have successfully runned.And,the examples,such as 
HelloWorldPortalPage,HelloWorldPortlet and HelloWorldJspPortlet have 
successfully runned.But when I add other examples(download from current 
website,such as 
struts-demo-for-jboss-portal,springMVC,portletbridge-portlet-1.0.war) to the 
server/default/deploy directory, something wrong come up! The error page says 
like this,"cannot found StrutsPortletInstance"!
Now, I have an application,which is based on spring,hibernate and struts,and I 
want to transfer it to a portal app.Now I have no idea, hope for someone kind 
to help me! It's ergent, Thank you!

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

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


[jboss-user] [The Lizzard's corner] - JEFF FLYNN TOMMY GAY GLOBAL CAPITAL PROJECTS LIMITED BLACKLI

2007-09-04 Thread HARRISON50
JEFF FLYNN IS THE PRESIDENT OF GLOBAL CAPITAL PROJECTS LIMITED INCOPORATED IN 
HONG KONG. JEFF FLYNN LIVES IN VIRGINIA. HIS TELPHONE NUMBER IS 540-446-5913. 
TOMMY GAY LIVES OUTSIDE HOUSTON, TEXAS. HIS PHONE NUMBER IS 972-387-8223. 

FLYNN AND GAY WERE BOTH BROKERS IN THE PETROLEUM PRODUCTS TRADING BUSINESS. 

FLYNN AND GAY ARE DISHONEST. THEY LIE, THEY CHEAT, THEY STEAL. 

THIS TIME THEY HAVE BEEN CAUGHT. 

THEY ATTEMPTED TO GO AROUND THE BROKERS WHOM INTRODUCED THEM TO A MAJOR BUYER 
OF PETROLEUM PRODUCTS LOCATED IN THE STATE OF NEW YORK. 

THEY EVEN ATTEMPTED TO GO AROUND THE MANDATED AGENT OF THE NEW YORK COMPANY. 

HOW THEY THOUGHT THEY WOULD NOT BE DISCOVERED IS BEYOND THE LOWEST LEVEL OF 
HUMAN INTELLIGENCE. 

THEY TOLD THE STRAWMAN SELLER OF THE JET FUEL THEY MUST REMAIN INVISIBLE IN THE 
TRANSACTION IN ORDER NOT TO BE DETECTED. 

JEFF FLYNN'S EMAIL IS BELOW AS WELL AS THE OTHER INFORMATION. 
From: Jeff Flynn < [EMAIL PROTECTED]> 
Date: Sep 4, 2007 4:28 PM 
Subject: ICPO_6M_Spot_Jet Fuel 
To: XX 
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] 



Dear Dick, 

Please see attached signed ICPO from New World. Let me know if you need 
anything else and or how your conversation went with Jack. 

Best regards, 

Jeff 

Jeff Flynn 

President 

Global Capital Projects Limited 

No.C, 16/F, Chinaweal Centre 

414-424, Jaffe Road 

Wanchai, Hong Kong 

Mobile: +1 571 246 1105 

Fax: +1 212 500 2727 

[EMAIL PROTECTED] 



Bota Akimbekova 

Vice President 

Mobile: +7 701 742 7181 

Fax: +1 212 500 2727 

[EMAIL PROTECTED] 


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

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


[jboss-user] [JBoss Seam] - JEFF FLYNN TOMMY GAY Global Capital Projects Limited BLACKL

2007-09-04 Thread HARRISON50
JEFF FLYNN IS THE PRESIDENT OF GLOBAL CAPITAL PROJECTS LIMITED INCOPORATED IN 
HONG KONG. JEFF FLYNN LIVES IN VIRGINIA. HIS TELPHONE NUMBER IS 540-446-5913. 
TOMMY GAY LIVES OUTSIDE HOUSTON, TEXAS. HIS PHONE NUMBER IS 972-387-8223.

FLYNN AND GAY WERE BOTH BROKERS IN THE PETROLEUM PRODUCTS TRADING BUSINESS.

FLYNN AND GAY ARE DISHONEST. THEY LIE, THEY CHEAT, THEY STEAL.

THIS TIME THEY HAVE BEEN CAUGHT.

THEY ATTEMPTED TO GO AROUND THE BROKERS WHOM INTRODUCED THEM TO A MAJOR BUYER 
OF PETROLEUM PRODUCTS LOCATED IN THE STATE OF NEW YORK.

THEY EVEN ATTEMPTED TO GO AROUND THE MANDATED AGENT OF THE NEW YORK COMPANY.

HOW THEY THOUGHT THEY WOULD NOT BE DISCOVERED IS BEYOND THE LOWEST LEVEL OF 
HUMAN INTELLIGENCE.

THEY TOLD THE STRAWMAN SELLER OF THE JET FUEL THEY MUST REMAIN INVISIBLE IN THE 
TRANSACTION IN ORDER NOT TO BE DETECTED.

JEFF FLYNN'S EMAIL IS BELOW AS WELL AS THE OTHER INFORMATION.

From: Jeff Flynn < [EMAIL PROTECTED]>
Date: Sep 4, 2007 4:28 PM 
Subject: ICPO_6M_Spot_Jet Fuel
To: XX
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]


 
Dear Dick,

Please see attached signed ICPO from New World. Let me know if you need 
anything else and or how your conversation went with Jack. 

Best regards,

Jeff

Jeff Flynn

President 

Global Capital Projects Limited 

No.C, 16/F, Chinaweal Centre 

414-424, Jaffe Road 

Wanchai, Hong Kong 

Mobile: +1 571 246 1105 

Fax: +1 212 500 2727 

[EMAIL PROTECTED]

 

Bota Akimbekova 

Vice President 

Mobile: +7 701 742 7181 

Fax: +1 212 500 2727 

[EMAIL PROTECTED]



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

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


[jboss-user] [EJB 3.0] - Re: ejb-jar.xml file

2007-09-04 Thread changemylife
1. If you need ejb-jar.xml, you can add it into your app.
2. You add SecurityDomain into jboss.xml. Ex:
anonymous wrote : MyDomain
3. Enter the jboss-install-dir>/server/default/conf to add your SecurityDomain 
(MyDomain).
  Hope this helps. Regards. 

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

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


[jboss-user] [JBoss Seam] - Re: FetaureRequst disabling the buttons after a user presses

2007-09-04 Thread [EMAIL PROTECTED]
jQuery(".mySubmitButtonsHaveThisStyleClass").disabled = true;


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

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


[jboss-user] [JBoss Seam] - Re: Last try - Conversational Feature let me feel like an id

2007-09-04 Thread [EMAIL PROTECTED]
Any seam-gen application uses propagation="join".


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

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


[jboss-user] [JBoss Seam] - Re: stored proc reverse engineered into ORM/JPA code???

2007-09-04 Thread [EMAIL PROTECTED]
This question should be asked on the Hibernate forum. No, you can't reverse 
engineer stored procedures into something else with the Hibernate Tools. There 
is nothing to "reverse engineer", what you are asking for would be a code 
translator from one procedural programming language (PL/SQL) into another 
procedural programming language (Java).


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081151
___
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 let

2007-09-04 Thread changemylife
I don't sure that I understand your problem. "system" is a role that you 
declared in code. If SecurityDoamin is valid, all things are Ok.

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

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


[jboss-user] [JBoss Seam] - Re: Switching to Hibernate or not

2007-09-04 Thread [EMAIL PROTECTED]
Of course not. I use the Hibernate JPA provider, cast to org.hibernate.Session 
when I have to, and s:convertEntity works fine as well.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to secure beans ?

2007-09-04 Thread changemylife
Hi!
  1. I declared SecurityDomain (ex: ClientDomain) inside jboss.xml file. And 
then, I package my bean to jar file (ex: myBean.jar).
  2. The Stranger get it (myBean.jar), he can extract it. And he can see all 
things in jboss.xml file. (Here, I know SecurityDomain that I declare).
  I understand your mind! And it's very useful. I also think that I the 
Stranger can access JBoss Server (and can know about login-config.xml) --> my 
beans are not security.
  Thanks sir!

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

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


[jboss-user] [JBoss jBPM] - [Workaround] Re: Combo Box in Form

2007-09-04 Thread karstendausb
"kukeltje" wrote : please what is so difficult about my previous post 
this is JSF stuff, not jBPM. So please ask in the correct forum and learn 
JSF 

I wouldn't say this is totally wrong, but it is pretty far away from the truth, 
as jBPM is probably very well involved in this problem.

I ran into the same problem today, and spent many hours to figure this out. 
There are many postings in this forum, but not a solution. I will describe  a 
workaround and one possible cause for this problem.

Setup:
jbpm-3.2.1-ear on jboss 4.0.4

Same problem as Riket44: After adding a collection of SelectItem as a process 
variable like this in an  actionhandler

  | Collection selectItems=new ArrayList();
  | selectItems.add(new SelectItem("BLA","Fasel"));
  | selectItems.add(new SelectItem("BLoe","Fasel2"));
  | 
executionContext.getContextInstance().createVariable("selectit1",selectItems);
  | 
using it in a task form like this:

  | ...
  |  
  |
  | 
  | ...
  | 
got me this Exception:

  | java.lang.IllegalArgumentException: Argument Error: An option for component 
j_id48 was not an instance of javax.faces.model.SelectItem. Type found: 
java.util.ArrayList.
  | 

I also tried
* List of SelectItem
* Collection of SelectItem
* SelectItem []
,all with similar Exceptions.

When I changed the form to

  |  
  |  
  | 
  |  

I got this very nice Exception:

  | java.lang.IllegalArgumentException: "Argument Error: An option for 
component bla22 was not an instance of javax.faces.model.SelectItem.  Type 
found: javax.faces.model.SelectItem.
  | at 
com.sun.faces.renderkit.RenderKitUtils.getSelectItems(RenderKitUtils.java:315)
  | 

Wow. How is that?  It is not a SelectItem, it is a  SelectItem!

Looking at RenderKitUtils.java  I found that the comparison
 (value instanceof SelectItem)  must have returned false. This is weired, 
because instances of javax.faces.model.SelectItem is exactly what has been put 
into the collection in the actionhandler.

I am not sure what causes this. I first thought that it would be a 
persistence-related classloading problem (persistence layer using myfaces-jars 
from tomcat-sar instead of sun's ri vom jbpm-ear), but that doesn't seem to the 
problem: I replaced the myfaces-jars in tomcat-sar/jsf-libs with the 
sun-ri-jars, but that didn't help. 

Any ideas? I would love to here the solution to this (not only, but especially 
from Ronald (time to prove that this is a JSF-problem ;-)) ?

Ah, I promised a workaround:
Furtheron in the code, I found that the value attribute of SelectItems also 
takes a map (key->label, value->value). So I tried this one, and that worked 
like it was expected to be:
Put

  | Map mymap=new HashMap();
  | mymap.put("bla", "fasel");
  | executionContext.getContextInstance().createVariable("selectit1",mymap);
  | 
in the handler.
And the snippet

  |  
  |
  | 
  | 
in the form.

Hope this helps, but I would very much appreciate a proper solution!



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

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


[jboss-user] [JBoss Seam] - Re: FetaureRequst disabling the buttons after a user presses

2007-09-04 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : I think you'd need a new commandButton subclass.  
Maybe s:button could do that, but I think it is something that is more likely 
to be done by a component library like ajax4jsf/richfaces.

Humm... tying it to Ajax is a big overhead. I am trying to avoid Ajax 
(ICEfaces/Ajax4JSF/RichFaces etc.) and add that as a veneer after the projects 
are done; if required!

I have achieved this functionality before by using a bit of javascript that 
fires on a button press that finds, and disables, all buttons on the page (by 
using getElementById or similar).

On a page initial/reload it sets them all available again...

:/


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

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


[jboss-user] [JBoss Seam] - Re: Are Seam and JBoss 4.2.0.GA available for AS/400 ?

2007-09-04 Thread [EMAIL PROTECTED]
I do believe that JBoss/RedHat has several customers running on AS/400.  I 
don't know of anything in 4.2 that would cause any problems.  I don't know 
about Java 5 on it, but if it is available then Seam should not be a problem on 
it.

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

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


[jboss-user] [JBoss Seam] - Re: best practice for handling double-click during a long-ru

2007-09-04 Thread eghchang
one more thing ... while i do see multiple requests from the browser, i only 
see one request (well actually, set of requests, but this is "normal") on the 
server.  in other words, the server looks the same whether i single-click or 
double-click.

thanks-eric

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

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


[jboss-user] [JBoss Seam] - Re: ExpressionLanguage Vs. XPath

2007-09-04 Thread andres.testi
I've found that bean methods in JXPath, are invoked as functions. An invocation 
to enterprise.createEmployee("name") is invoked as createEmploye(enterprise, 
"name"). The target of the message is the first argument in the function call.

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

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


[jboss-user] [JBoss Seam] - Are Seam and JBoss 4.2.0.GA available for AS/400 ?

2007-09-04 Thread cfranky
We have a Seam application working very well in Linux-intel and MS-Windows.

We have to migrate this Seam application to an AS/400 machine with OS system 
and DB2 database, but we do not have any experience with AS/400.

We would appreciate any comment about this situation in the following aspects:

1- There exist JDK 1.5 for AS/400 with OS system ?
2- Can JBoss 4.2.0.GA be installed in AS/400 with OS system ?
3- Does a Seam application (version 2.0.0)  have any chance of running in 
AS/400 with OS System ?

Thanks for any help.

Maria Consuelo Franky


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

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


[jboss-user] [JBossCache] - Re: Searching a Pojo Cache?

2007-09-04 Thread [EMAIL PROTECTED]
We don't yet have a query language. However, there is a project out there that 
adds search to core jboss cache (not pojo cache):

[url]http://www.jofti.com/[/urll]

You could however use this with POJO Cache, since it could return the FQN, that 
you could then pass to POJO Cache.



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

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


[jboss-user] [JBoss Seam] - Re: communicating between two seam applications

2007-09-04 Thread koenhandekyn
the fundamental question is in fact a question of granularity

my application (as many do prob) exists out of a collection of 'modules' 
(jars), a group of classes that together offer a more or less independent 
service.

i could put alle the modules (jars) inside one big ear and avoid inter ear 
communication but that reduces (hot) redeployment options and has a negative 
impact on my development cycle.

ideally i would have OSGi like possibilities to load jars dynamically and 
control very specifically which interfaces they expose to the outside world

i have been wondering about the role of JMX. however, at this time there is not 
yet a link between JMX services and/or SEAM components and/or SF or SL session 
beans.

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

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


[jboss-user] [JBossWS] - Re: jbossws-2.0.1 released

2007-09-04 Thread narayam
Hi Thomas, 

All the links mentioned here are not working. Where else can I get hold of the 
Quick Start / User Guide?



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

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


[jboss-user] [JBoss Seam] - Multiple validation contexts

2007-09-04 Thread gonzalad
Hello,

I have a strange application (requirement) which implies different validation 
rules depending on the execution context.

Here's the explanation :
- the application will be used by 4/5 different organizations. Those will 
manipulate the same entities (same database) but each one of those 
organizations have some business specificities [1].
- the UI will be different for each of these clients.

[1] For instance field1 of EntityA will be optional for organization 1, whereas 
it will be mandatory for organization 2 (and min length = 2...).

We're going for the following decomposition :
1 - there will be a common module containing all the common rules. This will be 
a jar module with entities/dao/services.
2 - we'll create a web module for each organization. 
Specific business rules will be coded in actions or in specific services 
located in each web module.

So here's my question :
- where can I put validation logic (using Hibernate validation tags) ?
For common rules, it will be on jpa entities in the common module.
But for specific rules ?

I see only 2 solutions :
1 - use plain Jsf validators for the specific validation rules on the jsf pages.
2 - use or create a contextual validation module (see 
http://forum.hibernate.org/viewtopic.php?t=974761, also seen this kind of 
validation in the roadmap of Spring modules), and just put the context in the 
thread local (using some sort of filter for instance).

Do you have some ideas on thos approaches ? Is there sthing better I didn't 
thought about ? (surely...)

Thanks in advance !


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

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


[jboss-user] [JBoss Seam] - Need to write entity object to XML

2007-09-04 Thread tim_ph
I got a need to serialize the object out as XML, but current persistent entity 
gives too much unrelated stuff. I can't break out of current transaction to get 
to detached object because it is needed in another step.
So, I just wonder if any of you see the same problem and has a work-around 
solution to share.
I use the fast XStream to write it out to xml.


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

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


[jboss-user] [JBoss Seam] - Re: communicating between two seam applications

2007-09-04 Thread koenhandekyn

i have the classloading issues fixed, but had to do this in a jboss specific 
way. 

i was wondering if there is an elegent and standardized approach.


for other readers info : i have the different ears configured with the same 
jboss-app.xml loader-repository configuration (which makes jboss 4.2.0 load the 
ears in the same classloader namespace)



  seam.jboss.org:loader=up

 

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

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


[jboss-user] [JBoss Seam] - stored proc reverse engineered into ORM/JPA code???

2007-09-04 Thread asookazian
Is it possible to reverse engineer sproc (PL/SQL or T-SQL based) into entity 
beans, Hibernate, Toplink, iBATIS, etc.??

otherwise, if we need to do this, what is the recommended path?  convert to 
pseudo-code first and then go from there???

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

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


[jboss-user] [JBoss Seam] - Re: Switching to Hibernate or not

2007-09-04 Thread IGx89
FYI, the decision between JPA and Hibernate also affects Seam functionality 
available to you. For example,  strangely only works with 
JPA and not Hibernate.

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

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


[jboss-user] [EJB 3.0] - Re: EJB 2.1 and 3 coexisting?

2007-09-04 Thread goldrimtang
OK, so after much effort, (frustration), and time, I can confirm that it does 
not work. I'm giving up on JBoss 4.2.1. We'll stick to 3.2.6 until an stable 
release EJB3/Java EE 5 is made.

I hope this helps the JBoss team to improve their product. 

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

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


[jboss-user] [JBoss Seam] - with simultaneous action and view attributes applie

2007-09-04 Thread asookazian
Is it possible to do that?  I need to pre-populate a multi checkbox 
(h:selectManyCheckbox) in an .xhtml page by calling a method in a SFSB first, 
then rendering the JSF as follows:


  | 

behavior i'm getting is no test() method call (output from method is not in the 
server.log) and successfully forwarding to filterRoles.xhtml.

How can I achieve both in the proper order?  Is it something to be configured 
in pages.xml via page navigation with extra method call (if possible??)


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - update to hibernate 3.2.5 causes query exception

2007-09-04 Thread sgollery
I'm trying to move from hibernate 3.2.1 to 3.2.5, but I've run into a query 
that used to work and now throws this exception: 

Illegal attempt to dereference collection 
[patient0_.patient_key.studiesSubmittedTo] with element property reference 
[submittedDate]...

The query code looks like this:

Date cutoffDate = new Date((new Date()).getTime() - 
weeksToMillis(pendingPatientCutoff));
String qStr = "select distinct p from Patient p where 
p.studiesSubmittedTo.submittedDate >= :date and p.studiesSubmittedTo.status != 
'Randomized' and p.studiesSubmittedTo.status != 'NotRandomized' and 
p.studiesSubmittedTo.status != 'Billed' order by p.lastName";
Query q = session.createQuery(qStr);
q.setParameter("date", cutoffDate);
List patients = (List)q.list();



The mapping for studiesSubmittedTo defines a composite-element in the Patient 
mapping. The relevant part of the mapping file is this:


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  |   
  | model.StudyPatientAssociation$Status
  |   
  |  
  | 
  | 
  | 
  | 
  | 
  | 

This query is supposed to return only those patients that have at least one 
element in their studiesSubmittedTo collection whose date is at or after some 
other date. The element also has to not have a certain list of values for the 
status, but I think that's not part of the problem.

So: why did this query work in 3.2.1 but not in 3.2.5, and is there some other 
query that would accomplish the same thing and be acceptable to 3.2.5?

Thanks in advance.

Steven Gollery

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

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


[jboss-user] [JBoss Seam] - Re: best practice for handling double-click during a long-ru

2007-09-04 Thread eghchang
thanks norman and amitev for your replies.

norman, when double-clicking i can see (using firebug) that two requests are 
being sent to the application server before any response is received.  
furthermore, i don't see any errors in the server log that would suggest a 
double insert/optimistic locking.  yet i still get the same "the conversation 
ended, timed out, or was processing another request" error message.  in this 
particular case, i'm posting back to the same page in the context of a 
long-running conversation (simple "save" functonality that does not navigate 
away).

i had been setting no-cache http headers to force refresh of pages (via a JSF 
phase listener), but i disabled these headers thinking that perhaps they are 
complicating things.  the one other thing that's odd is that i can see that 
even with single-click requests, action methods are being called twice.  
however, this has been the case for a while and we haven't had any other 
problems (e.g. optimistic locking) as a result.  we are using keep-alive 
connections, but i wouldn't think that should have any impact.

just as a sanity check, if i am seeing multiple requests from the browser 
before any response, would you expect the error message i'm seeing?

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

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


[jboss-user] [The Lizzard's corner] - MICHAEL GAMBINO MG PETROLEUM UPEC HOLDINGS

2007-09-04 Thread HARRISON50
PLEASE BE ADVISED THAT MICAHEL GAMBINO dba MG PETROLEUM IS A BROKER. ANY CLAIMS 
HE MAKES TO THE CONTRARY ARE FALSE. HE IS CURRENTLY CLAIMING THAT UPEC HOLDINGS 
IS A CHEVRON MANDATE. 
UPEC IS HEADED BY A PERSON FROM HAITI. UPEC IS NOT A CHEVRON MANDATE. 

GAMBINO HAS FALSELY CLAIMED THAT HE IS A MEMBER OF THE ARAMCO BOARD OF 
DIRECTORS AND THAT HE AND KING ABDULLAH DECIDED TO HAVE 4 ARAMCO MANDATES PER 
TIME ZONE DURING A 2 HOUR CONVERSATION. 

GAMBINO HAS CIRCUMVENTED EVERYONE WITH WHOM HE HAS SIGNED AN NCNDA. RECENTLY, 
HE CALLED RAPID OIL'S HEADQUARTERS AND WENT AROUND EVERYONE INVOLVED IN A 
TRANSACTION INCLUDING RAPID'S DIRECTOR OF MARKETING. 

GAMBINO PRESENTS SYMPTOMS OF BEING MENTALLY ILL AND SHOULD BE AVOIDED. 

PROCEED WITH GAMBINO AND UPEC AT YOUR OWN PERIL. 

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-09-04 Thread gonzalad
Hello,

I'd like to know what the status betwwen Seam 2.0 and Websphere. 
I've read on this thread you had some hard times with this appserver. 
Do you plan to support it ?

Thanks for the information



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

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


[jboss-user] [JBoss Seam] - Re: Last try - Conversational Feature let me feel like an id

2007-09-04 Thread [EMAIL PROTECTED]
Stephen - sure, I'm not really expecting a full example (with nice explanation 
text etc.) - but something is better than nothing.  At least like this we can 
get a better understanding of what you are after.  Despite what Christian says, 
I do feel we are lacking an example that uses workspace management well (apart 
from the wiki, which does, but isn't exactly easily understandable by the 
casual user).

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

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


[jboss-user] [JBoss Seam] - Re: Last try - Conversational Feature let me feel like an id

2007-09-04 Thread stephen.friedrich
Now I, too, feel like an idiot because each example should be showing this, but 
I still don't get it after looking at several different examples.

"[EMAIL PROTECTED]" wrote : ?! It's not different from any of the existing 
examples. You need to understand how propagation="none" and propagation="join" 
work, and that's it.
  | 
That seems to be quite an exaggeration.
After a quick scan it seems that exactly a single example uses 
propagation="join" and that's the ui example - hardly a place where I would 
check how conversations should be used.

Of course most examples make use of conversations somehow.
It may also be true that after you understand conversation propagation the 
proposed example isn't much different from the others, but again that's a 
technical point of view.

Also I think each example should highlight a specific feature or concept.

Pete, obviously I can't supply a ready made example. What I can do however is 
to provide a working example that maybe you - or another 'insider' - can 
comment on, so that I can enhance it  to make use of conversations in the best 
way.
I am thinking about a drastically stripped down version of our app, containing 
three "areas": "Employees", "Projects", "Project Assignments".


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

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


[jboss-user] [JBoss Seam] - Re: best practice for handling double-click during a long-ru

2007-09-04 Thread amitev
There actually no concurent requests but the action method is called twice. 
This may cause double insert into database.

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

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


[jboss-user] [JBoss Seam] - Re: Switching to Hibernate or not

2007-09-04 Thread rlhr
Thanks for the info :)

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

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


[jboss-user] [JBoss Seam] - Re: dataTable/selectItems woes

2007-09-04 Thread binabik
ok, going home from the office and not thinking about this helped. :)

i updated to the current CVS and it works now. so just ignore me for now, sorry.

sb

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Steps for Deploying the new EAR file (Hot Deployment ??

2007-09-04 Thread pmohanan
Hi..Peter,

 Thanks a lot for the reply. Hot deployment did not work in most of the cases. 
(Even though we are more interested in getting this work)

Until & unless step 3 & 4 are done, we still have issues once the new ear is 
deployed.

Regards,

Praveen



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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Steps for Deploying the new EAR file (Hot Deployment ??

2007-09-04 Thread PeterJ
Those steps are correct if you want to start with a clean deployment.

Hot deployment is easy - simply copy the EAR file to the deploy directory. The 
app server will undeploy the old app and deploy the new one. There are various 
situations under which this will fail, mostly having to do with how your 
application attempts to maintain state and the fact that the new app will have 
a different class loader than the old app.

My rule-of-thumb. If hot deployment works, great. If not, do the steps you 
outlined (usually you do not need steps 3 and 4).  

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: DataSource Problem JBoss/Tomcat Only Configuration

2007-09-04 Thread PeterJ
It looks like deployment of *-ds.xml files is handled by 
org.jboss.deployment.EARDeployer, which implies to me that you need for EAR 
functionality to be able to deploy *-ds.xml files.

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

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


[jboss-user] [JBoss jBPM] - Re: signalling custom task

2007-09-04 Thread kukeltje
Lots of detailed info... thanks for that, but this is one the developers should 
answer. I'll inform them.

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

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


[jboss-user] [EJB 3.0] - Re: Extensions to EJB3: Message Driven POJOs

2007-09-04 Thread maximuszen
testsuite link is broken


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

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


[jboss-user] [JBoss Seam] - Re: ExpressionLanguage Vs. XPath

2007-09-04 Thread andres.testi
Thanks for your suggestions, norman! Apache JXPath is very extensible. I will 
try to create an extension for Seam ;)

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

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


[jboss-user] [JBoss jBPM] - Re: Transitions not being followed correctly

2007-09-04 Thread kukeltje
anonymous wrote : However, whatever i do, the token always moves along the 'no' 
transition and i end up in an infinate loop! Any suggestions?!  Yes, known 
issue, patch is attached to the jira issue

Please file a jira issue for the security role thing

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

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


[jboss-user] [JBoss Seam] - Re: FetaureRequst disabling the buttons after a user presses

2007-09-04 Thread [EMAIL PROTECTED]
I think you'd need a new commandButton subclass.  Maybe s:button could do that, 
but I think it is something that is more likely to be done by a component 
library like ajax4jsf/richfaces.

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

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


[jboss-user] [JBoss Seam] - Re: ExpressionLanguage Vs. XPath

2007-09-04 Thread [EMAIL PROTECTED]
As I said, I'd rather focus on improving EL, but that shouldn't stop you from 
exploring the other possibilities.  In working on jboss-el, we discovered that 
the web servers (tomcat, in specific) are very sensitive to the EL and will try 
to parse the EL.  There's very little you can do there.  With some help from 
facelets, you could probably make xpath work there.  Beyond that, you need to 
look at the integration options provided by whatever technologies you are 
interested in.  

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

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


[jboss-user] [JBoss Seam] - Re: Last try - Conversational Feature let me feel like an id

2007-09-04 Thread [EMAIL PROTECTED]
?! It's not different from any of the existing examples. You need to understand 
how propagation="none" and propagation="join" work, and that's it.


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

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


[jboss-user] [JBoss Seam] - instanceof in Expression Language?

2007-09-04 Thread EricJava
I can see that instanceof is a reserved word, but is it implemented?  I'm 
displaying a table with links to detail pages.  But those pages will be 
different depending on what sub-type of object is in the table.  It would be 
great to be able to say: rendered="shape instanceof Rectangle" and then have it 
link to a page that shows info about the rectangle.  Any suggestions on this?

Thanks


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

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


[jboss-user] [JBoss Seam] - Re: Switching to Hibernate or not

2007-09-04 Thread [EMAIL PROTECTED]
It's the same persistence context. You are simply casting to a proprietary API 
when you have to. That's perfectly OK.


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

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


[jboss-user] [JBoss Seam] - Switching to Hibernate or not

2007-09-04 Thread rlhr
Hello,

I started project using Seam-managed persistence context with JPA. Later I 
needed some of the hibernate feature, so I used the delegation pattern wherever 
I needed it


  | Session session = (Session)entityManager.getDelegate();
  | session.persist(myEntity);
  | 

Now I'm wondering if I should just switch to hibernate, instead of using both.

I'd like to know if there is no need for me to completely switch to hibernate 
or if this is definitively better than dealing with the 2 persistence contexts.

Thanks.

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

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


[jboss-user] [JBoss Messaging] - Re: Messaging bridge question

2007-09-04 Thread chip_schoch
OK.  I set up two servers, JBossAs 4.2.0.GA with JBM 1.4.0.CR2.  

I configured a bridge that successfully deployed.  

I posted a message to server1 then listed all messaged from server1 
jmx-console.  No messages listed.  

I listed all messages from server2 jmx-console.  No messages listed.  

I undeployed my bridge ( removed the service xml).  Then I listed all messages 
from server1 jmx-console.  My message listed.  

I restratesd the bridge and listed the server1 messages.  No message listed. 
 
Shut down the bridge.  The message listed.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Steps for Deploying the new EAR file (Hot Deployment ??)

2007-09-04 Thread pmohanan
Hi..,

  What are the steps when you want to deploy the new war file to the server. 
Here are the steps I follow :

1. Shutdown the App server
2. Remove the EAR file from deploy folder
3. Go to the tmp folder & remove all the files related to the earlier app
4. Go to the work folder & remove all the files related to the earlier app
5. Deploy the new war file.
6. Start the app server.

Are these steps correct. ?

If I don't deploy the app as per the steps mentioned above, the App doesn't 
work fine & throws all kind of exceptions.

Our is a linux RH ES , HP bladed env. 

Also , please let me know if there is any way to do the hot deployment on JBoss.

Regards,

Praveen


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

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


[jboss-user] [JBoss Tools (users)] - Re: Deplyemnet Problems with JBPM in Eclipse

2007-09-04 Thread kukeltje
known issue  in the JBoss IDE 1.6, solved some time ago. What version of the 
jbpm plugin are you using? Btw, look in the jBPM user forum for more info on 
this subject.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - DataSource Problem JBoss/Tomcat Only Configuration

2007-09-04 Thread kdolan
I need to create an application packaged as a .war file that updates a database 
and supports transactions.  I also need to deploy this application in JBoss but 
in the Tomcat Only configuration.

I created a test application, deployed it in the "default" installation of 
JBoss (along with a test-ds.xml file identifying the location of the database) 
and everything worked as expected.  I then installed JBoss taking the Tomcat 
only option, deployed the application and test-ds.xml file and things would not 
deploy.  Specifically, the errors on the console revealed it could not deploy 
the test-ds.xml file: deployer unknown.

>From here, I've tried a variety of things (e.g., removing test-ds.xml and 
>configuring Tomcat's config.xml) and they all result in some kind of problem 
>(e.g., .war will not deploy because resource-ref is not resolved).  I've 
>looked at lots of documentation - including Tomcats - to understand what the 
>problem is and what I can do about it.  Ideally, I would be able to specify 
>everything (e.g., web.xml, jboss-web.xml) and configure everything (e.g., 
>test-ds.xml) just like I do for the default installation of JBoss because I am 
>running Tomcat in JBoss (but I got the "deployer unknown" error above).  But 
>I've also tried modifying things according to the Tomcat documentation and 
>this does not appear to satisfy JBoss either.

Does anyone know how to do this?  Is there any documentation I can read?  Is 
there a "deployer" I need to activate or turn on (without adding a lot of 
overhead)?

Thanks!
Kelly

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

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


[jboss-user] [JBoss Seam] - FetaureRequst disabling the buttons after a user presses a s

2007-09-04 Thread [EMAIL PROTECTED]
Do you think we could add another seam tag , like:


   


That would force the button to be disabled once ANY submit button on the page 
was pressed?

This would have to be though out pretty well as may not be useful when using 
Ajax on your page as the page actually won't reload but VERY useful for 
stopping multiple submits!

+1 vote


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

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


[jboss-user] [JBoss Seam] - Re: s:graphicImage and images being shared by users!

2007-09-04 Thread g.blanco
Thanks, Shane. I will try from CVS.

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

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


[jboss-user] [JBoss Seam] - Re: Last try - Conversational Feature let me feel like an id

2007-09-04 Thread [EMAIL PROTECTED]
Yes, an example application of this sort would be a great addition to the Seam 
examples I think.  Does anyone have something they can donate?

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

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


[jboss-user] [JBoss Seam] - Re: ExpressionLanguage Vs. XPath

2007-09-04 Thread andres.testi
method expression can be done with a special Seam defined XPath function like 
s:call(object, method, argument1, argument2...) . Then, s:call(enterprise, 
createEmployee, "andres") has the same effect than 
enterprise.createEmployee("andres")
I know this solution is not coolest than the point operator, but it works.

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

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


[jboss-user] [JBoss Seam] - Re: Seam-Managed Persistence Context

2007-09-04 Thread [EMAIL PROTECTED]
I would do something like - obviously you need to deal with the case your id is 
null better...

@Name("currentUserManager")
  | @Scope(CONVERSATION)
  | public class CurrentUserManager {
  | 
  |@In(required="false", value="currentUserId") @Out(scope=SESSION, 
value="currentUserId")
  |private Object id;
  | 
  |@In
  |EntityManager entityManager;
  | 
  |@Factory
  |public User getCurrentUser() {
  |   if (id != null) {
  |  return entitymanager.find(User.class, id);
  |   }
  |   return new User("noone");
  |}
  | 
  | }

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

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


[jboss-user] [EJB 3.0] - ejb 3.0 deploy/environment error for jboss 5 beta2

2007-09-04 Thread billmil
Hi,

I see an error when trying to deploy my application in jboss 5 beta2. 
Caused by: java.io.IOException: invalid constant type: 60
  | at javassist.bytecode.ConstPool.readOne(ConstPool.
  | 


The log "is giving me mixed signals". The error appears in the ejb3 deployer 
class, but the final log suggests the problem lies in my .war file. Regarldess, 
'reading bytecodes' implies that jboss class can't properly read a class. 

Any ideas on this?
stack trace:

org.jboss.deployers.spi.DeploymentException: java.io.IOException: invalid 
constant type: 60  at 
org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrati
  | onDeployer.java:167)
  | 

more stack trace:

at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.
  | java:403)
  | at 
org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.ja
  | va:342)
  | at org.jboss.Main.boot(Main.java:210)
  | at org.jboss.Main$1.run(Main.java:522)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.io.IOException: invalid constant type: 60
  | at javassist.bytecode.ConstPool.readOne(ConstPool.java:967)
  | at javassist.bytecode.ConstPool.read(ConstPool.java:910)
  | at javassist.bytecode.ConstPool.(ConstPool.java:127)
  | at javassist.bytecode.ClassFile.read(ClassFile.java:630)
  | at javassist.bytecode.ClassFile.(ClassFile.java:52)
  | at 
org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:409)
  | at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:398)
  | at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:363)
  | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:318)
  | 
  | 

The final 'deployment status' message says this:

*** DEPLOYMENTS IN ERROR: Name -> Error
  | 
  | 
vfsfile:/home/bmilbratz/projects/devtools/jboss-5.0.0.Beta2/server/myserver/deploy/myenterpriseapp.ear/my.war/
 -> java.io.IOException: invalid constant type: 60
  | 
  | 




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

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


[jboss-user] [JBoss Seam] - Re: Last try - Conversational Feature let me feel like an id

2007-09-04 Thread stephen.friedrich
That's exactly my use case and I don't have a solution either.
Currently the first version of my app works without using conversations which 
of course seems to waste quite a lot of seams value.

A big problem is that _all_ the explanations teach you about the technical 
side, e.g. what a conversation is, how it is started and ended, etc.
But there isn't any documentation at all how to do user interface design with 
conversations in mind or how to apply conversations to an existing UI design.

This particular scenario (different areas/tabs, list in each area, detail view 
for selected item) which is quite typical has come up several times already in 
the forum and it was never really answered.

I think I need to start a conversation to avoid reloading the list (in an 
"area") from DB again and again if I just sequentially select multiple items to 
view each one's details.
Also when I currently edit, say, a project's details I would like to be able to 
shortly switch to the customer view to be able to look up some information 
there and then continue back in the project details.

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

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


[jboss-user] [JBoss Seam] - Re: communicating between two seam applications

2007-09-04 Thread [EMAIL PROTECTED]
Are you experiencing classloader issues the way you are doing it now, or are 
you just concerned about non-portability by using JBoss-specific configuration?

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

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


[jboss-user] [JBoss Seam] - Re: ExpressionLanguage Vs. XPath

2007-09-04 Thread [EMAIL PROTECTED]
The limitations of regular EL prompted the Seam EL extensions in jboss-el.  
We'd like to further enhance the EL, but I'm not sure XPATH itself is the best 
approach.  The selection notion might work ok for values, but we also need  a 
method expression syntax.   It would be great to borrow some things from xpath 
for EL.   If there is interest in the community, we can definitely look at a 
more formal development structure for jboss-el.

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

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


[jboss-user] [EJB 3.0] - Re: EJB 2.1 and 3 coexisting?

2007-09-04 Thread goldrimtang
Hi Wolf,

Thanks for your reply. Yes, the method has a transaction attribute 
(RequiresNew). If I change the parameter from an array (Object[]) to a type 
'Vector', it stops complaining about this during deployment type. I can live 
with that ... the problem is that then another exception happens, also at 
deployment time:


  | 2007-09-03 14:58:50,737 WARN  [org.jboss.system.ServiceController] Problem 
starting service 
jboss.j2ee:ear=jbilling.ear,jar=jbilling.jar,name=com/xxx/yyy/server/item/ItemSession,service=EJB3
  | 
  | java.lang.ClassCastException: $Proxy76 cannot be cast to 
javax.naming.Context
  | 
  | at org.jboss.util.naming.Util.createSubcontext(Util.java:69)
  | 
  | at org.jboss.util.naming.Util.rebind(Util.java:125)
  | 
  | at org.jboss.util.naming.Util.rebind(Util.java:113)
  | 
  | at 
org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.start(StatelessRemoteProxyFactory.java:115)
  | 

Which makes me wonder why all these problems just because a totally unrelated 
stateless session bean EJB 3 is being deployed.

Thanks again for your time.


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

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


[jboss-user] [JBossWS] - Re: Error: Could not transmit message

2007-09-04 Thread palin
Hi Paoletto,

"paoletto" wrote : 
  |   | Caused by: java.net.UnknownHostException: fornost
  |   | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
  |   | at java.net.Socket.connect(Socket.java:507)
  |   | at java.net.Socket.connect(Socket.java:457)
  |   | at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
  |   | at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
  |   | at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
  |   | at sun.net.www.http.HttpClient.(HttpClient.java:214)
  |   | at sun.net.www.http.HttpClient.New(HttpClient.java:287)
  |   | at sun.net.www.http.HttpClient.New(HttpClient.java:299)
  |   | 

it seems you're trying to access an unknown host "fornost"... I would suggest 
to check whether you can reach it from the host your jboss is running on. Also 
consider upgrading from 1.0.3 (if you're using this) to 2.0 and using jaxws, 
you might have a lot of benefits.


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

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


[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-09-04 Thread srpantano
Please momochone11, you resolved the "createFullTextQuery()" problem, because I 
am with the same problem and I can´t fix it.

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081049

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


[jboss-user] [JBossWS] - Re: How di I get detail in SOAPFault

2007-09-04 Thread oskar.carlstedt
The response I get from JBoss is:

  | http://schemas.xmlsoap.org/soap/envelope/";>
  |
  |
  |   
  |  http://schemas.xmlsoap.org/soap/envelope/";>codeNS:Server
  |  javax.xml.ws.soap.SOAPFaultException
  |   
  |
  | 
  | 

//Oskar


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

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


[jboss-user] [JBoss Seam] - exception redirect - missing message

2007-09-04 Thread gstacey
Hi,

This may be an issue of integration with IceFaces rather than a Seam issue, but 
I'm posting on both forums in the hope that someone can offer some insight.

I'm using exception redirects in my project and while they work fine, after the 
first time the associated message is not displayed.

e.g.

  | 
  | 
  | 
  | 
  | You do not have the necessary security privileges to
  | perform this action.
  | 
  | 
  | 
  | 

I am using a simple  tag to display the message.

When the message is not displayed I see the following error:

  | ERROR [org.jboss.web.tomcat.service.jca.CachedConnectionValve] Application 
error: Persistent Faces Servlet did not complete its transaction
  | 

Has anyone seen something like this before?  or can offer some ideas on what 
the problem might be?

Thanks

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

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


[jboss-user] [JBossWS] - How di I get detail in SOAPFault

2007-09-04 Thread oskar.carlstedt
Hello!

I can't get the detail element of the SOAPFault. Is there a magic way to do 
this. I have a Provider< SOAPMessage > implementation. When I do the following 
...

  | @Local
  | @Stateless
  | @WebServiceProvider(
  | serviceName = "MyService",
  | portName = "MyServiceSoap11Port",
  | targetNamespace = "http://my.service.com/something";,
  | wsdlLocation = "META-INF/wsdl/my-service.wsdl")
  | @ServiceMode(value = Service.Mode.MESSAGE)
  | public class MyServiceEndpointProvider implements Provider {
  | 
  |public SOAPMessage invoke(SOAPMessage requestSoapMessage) {
  |   ...
  | 
  |   SOAPFault theSOAPFault = SOAPFactory.newInstance().createFault();
  |   Detail soapFaultDetail = soapFault.addDetail();
  |   SOAPElement myFaultElement = soapFaultDetail.addChildElement(new 
QName("http://my.service.com/common-ws/types";, "myFault"));
  |   SOAPElement myCodeElement = myFaultElement.addChildElement(new 
QName("http://my.service.com/common-ws/types";, "code"));
  |   myCodeElement.setNodeValue("SC_BAD_REQUEST");
  |   SOAPElement myMessageElement = myFaultElement.addChildElement(new 
QName("http://my.service.com/common-ws/types";, "message"));
  |   myMessageElement.setNodeValue("This is a faked error");
  |   throw new SOAPFaultException(theSOAPFault)
  | 
  |   ...
  |}
  | }
  | 

... the detail part of the fault is missing, i.e. the serialized response does 
not contain my detail information, just the top fault element. Am I missing 
something obvious here or is it a bug. I'm using JBoss 4.2.1.GA with JBossWS 
2.0.1.GA. And yes, my wsdl points out a fault element specifying the detail 
above.

Thanks in advance
/Oskar
 

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

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


[jboss-user] [JBoss Seam] - dataTable/selectItems woes

2007-09-04 Thread binabik
hi,

i'm in the middle of whacking together a timetable-generating application for 
the institute i work at. and i'm banging my head against the wall because of 
some weird stuff that seam is doing.

i have a list of TimetableItems, each of which has a list of 1..n 
TimetableItemTimes. I have a stateful session bean, TimetableGenerator 
(@Name("timetable")) which queries the database (over which i have no control), 
mashes the data from the database into an ArrayList of TimetableItems 
(#{timetable.bscPracticals}) in the way i need it.

then i have this JSF snippet in my form where the user should be able to select 
a timeslot for the course he/she wants to take:


  | 
  | 
  | Name
  | #{bscPr.title} [#{bscPr.times.size} Groups] (#{bscPr.type})
  | 
  | 
  |   Available Times
  | #{bscPr.times}
  | 
  | 
  |   Time slot selection
  | 
  | 
  | 
  | 
  | 
  | 

the "Name" column is populated correctly, the "Available Times" column then 
correctly shows all the timeslots available for each course, BUT the "Time slot 
selection" selectOneMenus show the available timeslots for the first course in 
my listing in each row.

now, i'm thinking i'm probably doing something wrong. but i have ABSOLUTELY no 
clue as to what that might be.

seam version is 1.3.0-ALPHA (according to the readme.txt) checked out from CVS 
at the end of june. i'm thinking this issue might be fixed in the 2.0-BETA 
release, but am not too sure how to go about upgrading (is it just a matter of 
swapping out the jboss-seam*.jar libraries in my project?).

so, can anyone help me on this?

thanks in advance,
sb

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

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


[jboss-user] [JBoss Seam] - Re: ExpressionLanguage Vs. XPath

2007-09-04 Thread andres.testi
I'm sorry for my grammatical faults, I'm not an native english speaker :P

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

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


[jboss-user] [JBoss Seam] - Re: Seam-Managed Persistence Context

2007-09-04 Thread rjstanford
I should add that I'm currently doing mostly extended persistence in SFSBs, but 
I do have the occasional LIE where I wasn't exepcting one (and have ended up 
with a bit more in the way of defensive .merge() calls than I really like).

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

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


[jboss-user] [JBoss Seam] - Re: best practice for handling double-click during a long-ru

2007-09-04 Thread [EMAIL PROTECTED]
Seam serializes requests in a conversation.  Are you actually seeing multiple 
concurrent requests, or are you just seeing the annoying message?

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

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


[jboss-user] [JBoss Seam] - Re: Seam-Managed Persistence Context

2007-09-04 Thread rjstanford
Fantastic, that's the way I'll proceed then.  For something like this, where 
would you suggest having the factory?  I don't really like adding that into the 
datamodel piece (although that seems to be very common for example-scale apps); 
is it more realistic to have a generic Factory class that contains all of these 
types of factories, or is it better to have smaller, more specific ones (or 
should I just embrace the future and have a factory method on the entity bean)?

Thanks for the advice, by the way.  Very useful.  It also seems like for most 
conversations I should be using SMPC rather than PersistenceContext (from this 
and other threads) - is that a valid take-away from this as well?

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

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


[jboss-user] [JBoss Seam] - Re: Reducing size of the default JBoss AS 4.2.1 server for S

2007-09-04 Thread [EMAIL PROTECTED]
You probably need most of the default config for the base Java EE support.   
You can get by without the invokers, management console, and the other misc 
services.  However, even if you slim up JBoss, I think you are going to have a 
hard time living within those memory constraints.   And, honestly, the cost of 
trying is probably MUCH greater than the cost of extra memory.  

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

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


[jboss-user] [JBoss Seam] - ExpressionLanguage Vs. XPath

2007-09-04 Thread andres.testi
Hi people:

I think XPath is a powefull expresion language, and has high selection skills. 
The apache JXPath project, allows we to use XPath over beans and define new 
functions, just like our java ExpressionLanguage does. Are there technical 
restrictions to implement XPath as alternative to ExpressionLanguage? I'm 
thinking in use an special char to mark XPath, just "#" and "$" in traditional 
expression languaje ( maybe &{ ... } , %{ ... } or @{ ... }  I don't know ).
What do you think?

Andrés

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081037

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


[jboss-user] [JBoss Seam] - Re: @Create vs. @Factory

2007-09-04 Thread [EMAIL PROTECTED]
Please see the documentation/examples.  @Create and @Factory are covered fairly 
well.

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

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


[jboss-user] [JBoss Seam] - Re: @Create vs. @Factory

2007-09-04 Thread [EMAIL PROTECTED]
Please see the documentation/examples.  @Create and @Factory are covered fairly 
well.

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

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


[jboss-user] [JBoss Seam] - Re: @Create vs. @Factory

2007-09-04 Thread [EMAIL PROTECTED]
Please see the documentation/examples.  @Create and @Factory are covered fairly 
well.

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

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


[jboss-user] [JBoss Seam] - Re: Error on core:resource-loader

2007-09-04 Thread [EMAIL PROTECTED]
Is Seam complaining, or is it your XML tools?

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

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


[jboss-user] [JBoss Seam] - Re: JBoss rules

2007-09-04 Thread mtpettyp
If you have your logging level set to INFO you should see the following log 
message printed out:


  | 14:39:48,750 INFO  [RuleBase] parsing rules: /META-INF/security.drl
  | 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: SSL-Connector - problem with keystore format

2007-09-04 Thread nathandennis
thank you for posting your discover. it saved me days. just for that,, i 
promise to post all my revelations of tedium. :)

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

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


[jboss-user] [JNDI/Naming/Network] - basic JNDI beginners problems - cant do look up from applica

2007-09-04 Thread wiggy
just trying to get to grips with JBOSS AS4.2 and new to the environment.  
Really trying to get to EJB3 but doing it bit by bit and want to be able to 
call session bean services from a test application client - that i can run in 
eclipse.

deployed 4.2 and configured a My sql XA datasource as follows.


  | 
  | 
  |
  | jdbc/willsDS
  | false
  | 
com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
  | 
  | jdbc:mysql://localhost:3306/test
  | 
  | will
  | will
  | 
TRANSACTION_READ_COMMITTED   

  | 5
  | 1
  | 
  | 2000
  | 2
  | true
  | false 
  | 
  | 
  | org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
  | 
  | mySQL
  |  
  | 
  |   
  | 
  | 

This all goes well - and when i start the server inside eclipse i can see the 
datasource in the JNDIView tree

i've registered the datasource in the global tree and not the java: default 
part as the JNDI FAQ says you cant see the java: tree unless its in the same VM.

i've checked netstat - a and port 1099 is being listened on when i run the 
server up.

next created a simple client app (as an EJB project in eclipse to pickup the AS 
libraries if nothing else) 

my simple app client looks like this - at the mo i'm just trying to get a 
simple JNDI lookup to the datasource in the AS (no DI here as its an standalone 
client)

 
  | 
  | package org;
  | 
  | import java.sql.Connection;
  | import java.util.Hashtable;
  | 
  | import javax.naming.InitialContext;
  | import javax.sql.DataSource;
  | 
  | 
  | /**
  | * @author Will
  | *
  | */
  | public class Test 
  | {
  | 
  | 
  | public static void main(String[] args) throws Exception 
  | {
  | 
  | 
  | InitialContext ctx = getInitialContext();
  | DataSource ds;
  | Connection conn;
  | 
  | //llookup ds via jndi in global tree - using 
jnp://localhost:1099 - see helper function above
  | ds = (DataSource) ctx.lookup("jdbc/willDS");
  | conn = ds.getConnection();
  | conn.close();
  | 
  | 
  | }
  | 
  | public static InitialContext getInitialContext() throws Exception
  | {
  |Hashtable props = getInitialContextProperties();
  |return new InitialContext(props);
  | }
  | 
  | private static Hashtable getInitialContextProperties()
  | {
  | 
  |Hashtable props = new Hashtable();
  |props.put("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
  |
props.put("javax.naming.Context.PROVIDER_URL","jnp://localhost:1099");
  |props.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces" );
  |return props;
  | }
  | }
  | 

when i run the app however i get varying errors depending on whether  i set the 
provider_url or not.

code shows me setting the provider_url and get error 

anonymous wrote : 
  | Exception in thread "main" javax.naming.CommunicationException: Receive 
timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  | at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1317)
  | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1446)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at org.Test.main(Test.java:32)
  | Caused by: java.net.SocketTimeoutException: Receive timed out
  | at java.net.PlainDatagramSocketImpl.receive0(Native Method)
  | at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
  | at java.net.DatagramSocket.receive(Unknown Source)
  | at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1287)
  | ... 5 more
  | 

on an earlier go i got errors about cant find bound class jdbc - but i cant get 
that at present - and now stuck on the above.

I'll never progress to anything smarter if i cant sort the basics out - what am 
i doing wrong, any ideas please?



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

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


[jboss-user] [JBoss Seam] - Re: Problems using ajax validation in seam-gen

2007-09-04 Thread [EMAIL PROTECTED]
Damien, removing the ignoreDupRequests attribute from a:support makes our test 
case work - this is actually seriously breaking Seam's conversation handling 
currently as it attempts to abort the current request and sends the next.  
Unfortunately request isn't aborted. I'll look into why.

I've added some docs

http://fisheye.jboss.org/browse/JBoss/jboss-seam/doc/reference/en/modules/conversations.xml?r1=1.34&r2=1.35

I'll look at the onblur/submit case next.

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

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


[jboss-user] [EJB 3.0] - EntityManager.lock and database connections

2007-09-04 Thread ablevine1
When you use EntityManager.lock, does it hold on to the same database 
connection the whole time, not allowing other threads to use that connection??  
 I seem to be running out of connections in my connection pool, as I am getting 
the following exception:

  | INFO  [WorkManager(4)-53846][2007-09-03 
04:23:33,657][org.hibernate.event.def.DefaultLoadEventListener] 
Log4JLogger.java(99): Error performing load command
  | org.hibernate.exception.GenericJDBCException: Cannot open connection
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:420)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:661)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  | at org.hibernate.loader.Loader.loadEntity(Loader.java:1784)
  | at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
  | at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2977)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:393)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:374)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:137)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:193)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:101)
  | at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
  | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:815)
  | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:174)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManager.find(TransactionScopedEntityManager.java:164)
  | at 
com.squaretrade.stateful.AbstractStateEngineImpl.loadObject(AbstractStateEngineImpl.java:118)
  | at 
com.squaretrade.stateful.AbstractStateEngineImpl.process(AbstractStateEngineImpl.java:31)
  | at sun.reflect.GeneratedMethodAccessor1671.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | at 
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterce

[jboss-user] [JBoss Seam] - Re: Save conversation state in client

2007-09-04 Thread [EMAIL PROTECTED]
You can specify how the conversation propagates when following a link.  Look 
for the conversationPropagation parameter in the docs.

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

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


[jboss-user] [EJB 3.0] - Re: EJB 2.1 and 3 coexisting?

2007-09-04 Thread wolfc
Have you got by any chance a deployment descriptor containing a transaction 
attribute override on the setAgeingSteps method?
If so, try the following method parameter: [Lcom.xxx.yyy.server.process.MyClass;
Or try without any method parameters.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring the JBoss to redirect the console messages

2007-09-04 Thread PeterJ
Between the boot.log and server.log, you should already have all of the 
messages that display on the console. The information about JVM arguments and 
other environment variables at the start of the console output are generated by 
the run.sh script, not by the app server. You could redirect that information 
for another file under server/xxx/log, if you really need it.

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

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


[jboss-user] [JBoss Seam] - Hibernate Search

2007-09-04 Thread srpantano
Where is the error in the code? Because doesn´t work. I´m using JPA + Seam 2.0.




  | List result = null;
  | 
  | try {   
  | 
  | org.apache.lucene.queryParser.QueryParser parser = 
  | new org.apache.lucene.queryParser.QueryParser("sistem", 
  | new 
org.apache.lucene.analysis.standard.StandardAnalyzer(BrazilianAnalyzer.BRAZILIAN_STOP_WORDS));
  | 
  | org.apache.lucene.search.Query query = parser.parse("sistema");
  | org.hibernate.search.FullTextQuery hibQuery = 
  | getFullTextSession().createFullTextQuery(query, 
Sistem.class);
  | 
  | result = hibQuery.list();
  | 
  | return result;
  | 
  | } catch (ParseException ex) {
  | Logger.getLogger("global").log(Level.SEVERE, null, ex);
  | }
  | 

but when I run: 


  | 14:15:54,671 FATAL [application] java.lang.reflect.InvocationTargetException
  | javax.faces.el.EvaluationException: 
java.lang.reflect.InvocationTargetException
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | 
  | ...
  | 
  | 
  | Caused by: java.lang.NoSuchMethodError: 
org.hibernate.search.FullTextSession.createFullTextQuery(Lorg/apache/lucene/search/Query;[Ljava/lang/Class;)Lorg/hibernate/search/FullTextQuery;
  | at 
com.bcsinfo.security.view.web.util.FullTextSearch.search(FullTextSearch.java:77)
  | at 
com.bcsinfo.security.view.web.util.FullTextSearch.toSearch(FullTextSearch.java:125)
  | ... 87 more
  | 

thanks for help!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081004

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


[jboss-user] [JBoss Seam] - How not to lose data in a partially completed form?

2007-09-04 Thread akwatters
What is the best way to prevent the fields in a partially completed form from 
being lost when you navigate to another page complete an action on the other 
page and then go back to the original page?

The context is:
When adding a new user the administrator chooses to add a new company, after 
adding the company on a different page the system re-displays the add a new 
user page and we want to show the details of the new user as added so far.

I'm wondering if it is best to use a conversational state? A stateful page 
flow? Any pointers in the right direction would be much appreciated.

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

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


[jboss-user] [JBoss Portal] - Custom portlet mode on jboss portal ?

2007-09-04 Thread tinico
Hi... It's still me !!!

I'm studying jboss portal for my company... I need to use a custom portlet mode 
named "config" on vignette which is accessible only by administrator...

On the jbp2.4, this mode wasn't allow !! On 2.6, any custom portlets mode seems 
to be created... 

So, can you confirm that and can you telle me if jbp2.8 or 3.0 will allowed 
some portlets modes ??

Thx !



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

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


[jboss-user] [JBoss Seam] - JBoss rules

2007-09-04 Thread mhissen
I have a problem in the installation of Drools; I have a file ?security.drl? 
which contains the following rule:

  | rule RestrictAccess
  | when
  | check: PermissionCheck(name == "/home.xhtml", action == 
"render", granted == false)
  | Role(name == "user")
  | then
  | check.grant();
  | end;
  | 

My file ?component.xml? contains:

  | 
  |  
  | 

But the rule is not activated. How I can detect if drools is activated?

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

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


[jboss-user] [JBoss Messaging] - Re: JMS Bridge Question

2007-09-04 Thread [EMAIL PROTECTED]
mclu, 

If you read the thread back, what fheldt said is the same thing that Tim Fox 
said back on this thread.

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

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


  1   2   3   >