[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: howto persist byte[] as varbinary?

2008-08-16 Thread skajotde
Try org.hibernate.type.BinaryType and Type.

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

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


[jboss-user] [Clustering/JBoss] - Re: The host Header in Jboss

2008-08-16 Thread skajotde
It would rather be operatic system issue. Mayby you are turn off reverse DNS or 
wrong hostname.

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

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


[jboss-user] [Clustering/JBoss] - Re: The host Header in Jboss

2008-08-16 Thread skajotde
It is correct forum: Installation, Configuration & DEPLOYMENT 
http://www.jboss.com/index.html?module=bb&op=viewforum&f=61

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Xerces.jar upgradation

2008-08-16 Thread skajotde
Maybe this helps: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170078#4170078.

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

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


[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

2008-08-16 Thread skajotde
Plain java ;)

File() with absolutes filesystem paths. You may be supported by system 
properties 

new File(System.getProperty("system.booking.drirectory" + File.sep + "xxx");

Remember put all in finally block to ensure close resources. It is server 
environment. 

I know is JCA, nut there is no much sources hot to use it ;) Solution mentione 
abowe is tested ;)

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

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


[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

2008-08-16 Thread skajotde
Property "system.booking.drirectory" should be set in JBoss start script 
(-Dsystem.booking.directory=/home/booking)

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

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


[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

2008-08-16 Thread skajotde
And there is JCR, example implementation: jackrabbit.apache.org

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

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


[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

2008-08-16 Thread skajotde

Correct url is http://jackrabbit.apache.org

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

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


[jboss-user] [JBossWS] - Re: Web Service URL pattern

2008-08-17 Thread skajotde
You can apply annotation @RolesAllowed, eg.:

holder for auth roles constant:

public class Roles {
  | private static final XXX = "033";
  | 
  | }

and in Webservice:

@WebMethod
  | @RolesAllowed(Roles.XXX)
  | public void youMethod(

This annotation is same as in EJB and use JAAS to configuration.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring a non-JBoss JMS Provider (Weblogic) in JBoss

2008-08-17 Thread skajotde
foresight

It looks that this attribute is wrong type. Where foresight is defined ?


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

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


[jboss-user] [Clustering/JBoss] - Re: non serialization object is put into application which i

2008-08-17 Thread skajotde
You put org.hibernate.impl.ScrollableResultsImpl  in HttpSession (which is 
replicated on cluster).

ScrollableResultsImpl is not Serializable but replication requires this.

Try to put in session something like list not scroll from hibernate and all 
objects in this lists also must be serialized  - clustering world of java ;)

There are some solution which doesn't requires Serializable in replication but 
it is other topic.

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

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


[jboss-user] [Clustering/JBoss] - Re: non serialization object is put into application which i

2008-08-17 Thread skajotde
If you have one node of cluster then you don't need replication and can turn 
off its. (eg set cache mode to LOCAL).

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

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


[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-17 Thread skajotde
this Exception:

Caused by: javax.management.InstanceNotFoundException: datang:service=SvrMon is 
not registered. 

is not by twice name SvrMon scheduler-service.xml ?

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

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



[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-17 Thread skajotde
And in main question:

SvrMonService  mayby should be synchronized and is written stateless ?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: lazily initialize collections in their getters

2008-08-17 Thread skajotde
It rather question for hibernate forum... forum.hibernate.org

With getter are problems. Hibernate check getters if object changed. And when 
you get object from database and no explicity write, hibernate invoke flush and 
compare hydrated objects before transaction and after. Getters return other 
values and hibernate executes additional updates (even you only executes 
selects - true in standard way but i guess it is configurable with cache mode 
or something), this may ends with very poor performance with huge amount of 
updates.

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

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


[jboss-user] [JBoss Messaging] - Re: Jboss JMS error - help needed

2008-08-19 Thread skajotde
20 

It is defaults values, You should to suit its to own needs /  average load.

And try check in JMX listConnectionInUse() in CachedConnectionManager or 
something similiar. Mayby you are not release some connections.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Eviction node event queue warning

2008-08-21 Thread skajotde
anonymous wrote : I'm not sure that it is good to have a thread every 1 seconds 
cleaning the cache

This parameter doesn't clean cache - just configure period of scanning cache 
queue to plan cleaning. On heavy load this parameter sometimes would be set to 
milliseconds (it is not available feature). Try 1 second.

This settings helps me in same problem, but maybe my load wasn't so high as 
yours.

Maybe try increase size of region or divide objects into subregions (are you 
using hibernate ?)

ps
Post configurations with tags code.

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

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


[jboss-user] [EJB 3.0] - Re: EJB3 Entity Bean - Date attribute - @Temporal issue

2008-08-26 Thread skajotde
Perhaps you put new java.util.Date() and get java.sql.Date() which have 
distinct implementation on milisecconds. Check "instance of" and Java Docs.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Debugging jboss cache with JBoss 4.2.1

2008-08-26 Thread skajotde
I guess you are doing remote debugging. Check jar version in 
META-INF/Manifest.mf in server/xxx/lib/jboss-cache.jar 

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

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


[jboss-user] [JBossWS] - Confused by JBossWS versioning

2008-08-30 Thread skajotde
Hi All

I have read FAQ, Release notes, wiki and I'm still confused about visioning 
JBossWS:

jbossws-native-2.0.3.GA (which comes with JBossAS 4.2.2 GA)
jbossws-3.0.1-native-2.0.4.GA Is it 3.0 or 2.0 version? 
jbossws-native-3.0.2.GA

Specially confusing is jbossws-3.0.1-native-2.0.4.GA. It is nothing in release 
notes in Jira. According to 
http://jbws.dyndns.org/mediawiki/index.php?title=Supported_Target_Containers 
there is no such release.

Also confusing is number version which is sometimes before "native" and 
sometimes after. 


What is release jbossws-3.0.1-native-2.0.4.GA ?



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

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


[jboss-user] [JBossWS] - Standalone JBossWS

2008-08-30 Thread skajotde
Hi

I have question about standalone JBossWS (thanks to JBoss Microcontainer).

According to http://jbws.dyndns.org/mediawiki/index.php?title=Install_JBossWS 

anonymous wrote : JBossWS Web Service Framework builds on top of JBoss 
Microcontainer which supports direct POJO deployment and standalone use outside 
the JBoss 

I didn't find "standalone" example on wiki, source or forum from one year past. 
Is there any available? 

One founded http://jbws.dyndns.org/mediawiki/index.php?title=Setup_your_IDE is 
about running deployed services on JBoss
anonymous wrote : 
  | Once you have imported the project, you need to start the JBoss application 
server that is configured in your ant.properties file...

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

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


[jboss-user] [JBossWS] - Missing jbossws.integration.target in ant.properties in 3.0.

2008-08-30 Thread skajotde
I think there is missing property jbossws.integration.target in ant.properties 
in jbossws-native-3.0.3.GA. I'm comparing also jboss-native-2.0.3.GA and this 
property is there. Without this is build error ;>

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

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


[jboss-user] [JBossWS] - Re: Missing jbossws.integration.target in ant.properties in

2008-08-30 Thread skajotde
Problem is with ant eclipse after fresh download jbossws-native-3.0.3.GA

  | C:\RG\Instalki\jbossws-native-dist>ant eclipse
  | Buildfile: build.xml
  | 
  | prepare:
  | 
  | init:
  | 
  | BUILD FAILED
  | C:\RG\Instalki\jbossws-native-dist\build.xml:47: jbossws.integration.target 
not set
  | 
  | Total time: 0 seconds
  | C:\RG\Instalki\jbossws-native-dist>

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

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


[jboss-user] [JBossWS] - Problem with Deploy and undeploy JBossWS-native-3.0.3.GA

2008-08-31 Thread skajotde
After deploy JBossWS-native-3.0.3.GA on JBossAS 4.2.2.GA and next undeploy, 
replace with JBossWS-native-2.0.3.GA (which comes with defaults) there is 
problem when server starts.


  | 12:38:22,250 ERROR [MainDeployer] Could not create deployment: 
file:/C:/RG/Labs/jboss-4.2.2.GA/server/default/deploy/jbossws.sar/
  | org.jboss.deployment.DeploymentException: No ClassLoaders found for: 
org.jboss.wsf.container.jboss42.DeployerInterceptorJSE; - nested throwable: 
(java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.wsf.container.jboss42.DeployerInterceptorJSE)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.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.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy9.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.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.A

[jboss-user] [JBossWS] - Re: Problem with Deploy and undeploy JBossWS-native-3.0.3.GA

2008-08-31 Thread skajotde
It is diff from cygwin:


  | [EMAIL PROTECTED] ~/RG/Labs
  | $ diff -r jboss-4.2.2.GA-fresh/ jboss-4.2.2.GA-deploy-undeploy/ -q
  | Files jboss-4.2.2.GA-fresh/bin/wsrunclient.bat and 
jboss-4.2.2.GA-deploy-undeploy/bin/wsrunclient.bat differ
  | Files jboss-4.2.2.GA-fresh/bin/wsrunclient.sh and 
jboss-4.2.2.GA-deploy-undeploy/bin/wsrunclient.sh differ
  | Files jboss-4.2.2.GA-fresh/bin/wstools.bat and 
jboss-4.2.2.GA-deploy-undeploy/bin/wstools.bat differ
  | Files jboss-4.2.2.GA-fresh/bin/wstools.sh and 
jboss-4.2.2.GA-deploy-undeploy/bin/wstools.sh differ
  | Files jboss-4.2.2.GA-fresh/client/jaxb-api.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jaxb-api.jar differ
  | Files jboss-4.2.2.GA-fresh/client/jaxb-impl.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jaxb-impl.jar differ
  | Files jboss-4.2.2.GA-fresh/client/jaxb-xjc.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jaxb-xjc.jar differ
  | Files jboss-4.2.2.GA-fresh/client/jaxws-rt.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jaxws-rt.jar differ
  | Files jboss-4.2.2.GA-fresh/client/jaxws-tools.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jaxws-tools.jar differ
  | Files jboss-4.2.2.GA-fresh/client/jboss-jaxrpc.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jboss-jaxrpc.jar differ
  | Only in jboss-4.2.2.GA-deploy-undeploy/client: jboss-jaxws-ext.jar
  | Files jboss-4.2.2.GA-fresh/client/jboss-jaxws.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jboss-jaxws.jar differ
  | Files jboss-4.2.2.GA-fresh/client/jboss-saaj.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jboss-saaj.jar differ
  | Files jboss-4.2.2.GA-fresh/client/jbossws-client.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jbossws-client.jar differ
  | Files jboss-4.2.2.GA-fresh/client/jbossws-common.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jbossws-common.jar differ
  | Files jboss-4.2.2.GA-fresh/client/jbossws-framework.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jbossws-framework.jar differ
  | Only in jboss-4.2.2.GA-fresh/client: jbossws-jboss42.jar
  | Files jboss-4.2.2.GA-fresh/client/jbossws-spi.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/jbossws-spi.jar differ
  | Files jboss-4.2.2.GA-fresh/client/policy.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/policy.jar differ
  | Only in jboss-4.2.2.GA-fresh/client: stax-api.jar
  | Files jboss-4.2.2.GA-fresh/client/stax-ex.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/stax-ex.jar differ
  | Files jboss-4.2.2.GA-fresh/client/streambuffer.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/streambuffer.jar differ
  | Files jboss-4.2.2.GA-fresh/client/wsdl4j.jar and 
jboss-4.2.2.GA-deploy-undeploy/client/wsdl4j.jar differ
  | Only in jboss-4.2.2.GA-fresh/client: wstx.jar
  | Only in jboss-4.2.2.GA-deploy-undeploy/server/default: data
  | Files 
jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF
 differ
  | Files 
jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml
 and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-clie
  | nt-config.xml differ
  | Files 
jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml
 and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-en
  | dpoint-config.xml differ
  | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jaxb-api.jar 
and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jaxb-api.jar 
differ
  | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jaxb-impl.jar 
and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jaxb-impl.jar 
differ
  | Files 
jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-jaxb-intros.jar 
and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-jaxb-intros.jar
 differ
  | Files 
jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar
 differ
  | Only in jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar: 
jboss-jaxws-ext.jar
  | Files 
jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-jaxws.jar and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-jaxws.jar
 differ
  | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-saaj.jar 
and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-saaj.jar 
differ
  | Files 
jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jbossws-context.war/index.html
 and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jbossws-context.war/index.html
 differ
  | Files 
jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css
 and 
jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css
 differ
  | Files 

[jboss-user] [JBossWS] - Re: Problem with Deploy and undeploy JBossWS-native-3.0.3.GA

2008-08-31 Thread skajotde
Good news ;>

Problem resolved after copying jbossws-jboss42.jar to 
C:\RG\Labs\jboss-4.2.2.GA-deploy-undeploy\server\default\lib

Commands which helped: 

java -jar jarscan.jar -dir C:\RG\Labs\jboss-4.2.2.GA-fresh -class 
DeployerInterceptorJSE
  | 
  | java -jar jarscan.jar -dir C:\RG\Labs\jboss-4.2.2.GA-deploy-undeploy -class 
DeployerInterceptorJSE
  | 

Ant scripts should copy this file ?

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

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


[jboss-user] [JBossWS] - Re: Standalone JBossWS

2008-08-31 Thread skajotde
I'm really impressed by JBossWS Testsuite. One tests only executes 2-3 seconds 
with deploy-execute-undeploy on running JBoss. 

On my project one cycle is 10-20 minutes ;/ Many projects with few ears built 
by maven instead of JBoss Tools, so IDE support is limited. Additionally one 
problem during deployment blocks my developing even It is not really involved. 
It is hard ;> and until now I have too little skills to run this with JBoss 
Embedded (which is not officially supported now)

I have some experience in Spring so move to this library in testing EJB from 
IDE (Pojo services with setters). Now I can tests in couple of seconds instead 
of 10 minutes It looks really nice but doesn't cover full JWS features. My JWS 
is just Pojo ;>

JBossWS Testsuite way (one war per JWS) doesn't match to my case because I 
don't know how to fast deploy EJB which is required by these JWS (create a few 
dozen virtual jars with EJB ?) Other solution which comes me to mind is to 
attach local spring to remote JBoss but I don't know is it good ;> My Spring EM 
Factory is local and JWS is remote deployed.

When I have read 

http://jbws.dyndns.org/mediawiki/index.php?title=Install_JBossWS

anonymous wrote : JBossWS Web Service Framework builds on top of JBoss 
Microcontainer which supports direct POJO deployment and standalone  use 
outside the JBoss 

I had hope that now it just need to wrapper my JWS Pojo in JBossWS Standalone 
and everything go ;> Is it really option ?

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Accessing multiple EJBs on different JBoss AS instances

2008-09-01 Thread skajotde


  | login 1
  | access 1
  | login 2
  | access 2

Why this order is not enough ?

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

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


[jboss-user] [JBoss Getting Started Documentation] - Navigating by JBoss hosted documentation should more friendl

2008-09-01 Thread skajotde
Hi 

I have much bookmarks with JBoss Documentation. Sometime there are obsolete and 
there is no way to find correct URL, eg:

http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta500/html/Transactions_on_JBoss.html

Developing requires links direct to documentation not only to root like 
http://www.jboss.org/jbossas/docs/. I think first step is check 
"...Server_Configuration_Guide/beta500/html/" but jboss.org server shows 
message "Sorry, you don't have access to this resource".

Also link would be some shorter. Eg 
http://docs.jboss.org/jbossas/Server_Configuration_Guide/beta500/html/

Documentation should be more friendly ;> Eg by enter 
"...Server_Configuration_Guide/beta500/html/" I suppose to browse folder. 
Documentation is not secret thing ;> It would be nice if by entering 
http://docs.jboss.org I could browse docs for all JBoss projects only by 
traverse folders.

Even free access should be allowed to read all docs by move/click accross 
folders (up folder). Sometimes I seek enter point to documentation long time 
but click one level up would be much faster. It is standard Apache behaviour.

http://docs.jboss.org
  |   - jbossas
  | - configuration
  |- beta500
  |- 4.2.2.GA
  | - gettingstarted
  |   - jbosstm
  |   - ...

Next implication is documentation will be searchable by Google ;> only type eg 
"gg site:docs.jboss.org transaction manager" and developing will be simpler.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: HTTPConnection in startup servlet works only with hot de

2008-09-04 Thread skajotde
Do you have isolated classloaders ?

If no, probably you are doing something after deploying this is required to 
proper deploy. And on next deploy eg some static variable is on server (it is 
the same classloader) and deploying finish successful.

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

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


[jboss-user] [EJB 3.0] - CNF on Exploded Jar in app.ear/lib

2008-09-04 Thread skajotde
I have commented issue with exploded jar from  in persitence.xml.

Exploded jar (inside EAR) containing persistence.xml with jar-file element 
fails to deploy - 
https://jira.jboss.org/jira/browse/EJBTHREE-1254?focusedCommentId=12428289#action_12428289

Is exploded jar in app.ear/lib on classpath this app.ear ?

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

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


[jboss-user] [EJB 3.0] - Re: CNF on Exploded Jar in app.ear/lib

2008-09-04 Thread skajotde
Like jakiran mention in 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=131914 simplest 
solution is to move to flat ear. So I comment maven-ear-plugin and is ok.

  | 
  | 

I hope new vfs will be more powerful solution to that problems ;> Good job 
folks.

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

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


[jboss-user] [EJB 3.0] - Re: Stateful SB Passivation

2008-09-04 Thread skajotde
In EJB container passivation is invoked by container. If you make public method 
with annotation @Passivate I think you make them additionally invoke. But look 
out that this method maybe additional twice invoked by container so it should 
be written in safe style to check it is second time pasivation...

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

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


[jboss-user] [EJB 3.0] - Re: CNF on Exploded Jar in app.ear/lib

2008-09-04 Thread skajotde
When I move to flat ear I have CNF from three jars. It is strange. I checked 
these Classes are in Jars and it looks that it is random jars..

All jar from root ear are on classpath ? and how to easy check ear classpath ? 
(jmx way ?) When these jars was in app.ear/lib there is no problem with these 
jars.

My ear is exploed and flat.

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

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


[jboss-user] [EJB 3.0] - Re: CNF on Exploded Jar in app.ear/lib

2008-09-05 Thread skajotde
"jaikiran" wrote : [You can name the "lib" to anything else and then add an 
library-directory element in the jboss-app.xml to point to your folder 
containing the jars. 

But then is problem with exploded jar in lib (or something else direcotry) 
pointed from  like in 
https://jira.jboss.org/jira/browse/EJBTHREE-1254?focusedCommentId=12428289#action_12428289

Thanks,  I'll try java module in our maven build.

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

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


[jboss-user] [JBossWS] - Re: Problem with Deploy and undeploy JBossWS-native-3.0.3.GA

2008-09-05 Thread skajotde
It is not important for JBossWS distribution ? 

Should I report Jira bug ?

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

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


[jboss-user] [JBossWS] - Re: Missing jbossws.integration.target in ant.properties in

2008-09-05 Thread skajotde
I know it is not much important but I dont want to lost this issue (nobody 
reply from developer ;>)

Should I report Jira bug ?

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

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


[jboss-user] [JBossWS] - Re: No sources for post 3.0.1 releases ?

2008-09-05 Thread skajotde
Look at 
http://repository.jboss.com/maven2/org/jboss/ws/native/jbossws-native-core/3.0.3.GA/

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

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


[jboss-user] [EJB 3.0] - Re: CNF on Exploded Jar in app.ear/lib

2008-09-05 Thread skajotde
"jaikiran" wrote : 
  | When i had tested it, the jar file was exploded and at the root of the EAR. 
In your case, is the jar file in zip format or is it exploded? And are you 
seeing issues if you place a zipped jar file in the lib folder of the EAR (this 
is something i had not tried)?

In 
https://jira.jboss.org/jira/browse/EJBTHREE-1254?focusedCommentId=12428289#action_12428289
 I think my case is explained ;>

anonymous wrote : After patch mentioned in forum thread (thanks jakiran ;>) On 
JBoss 4.2.1 there is additional problem (but close so comment here):
  | 
  | If library from  is also exploded and is situated in lib 
directory there is problem CNF from this library.
  | 
  | Application.ear\lib\exploded-library-with-persistence-ob.jar has 
persistence.xml with
  | 
  | {quote}
  | ../exploded-library-lib-ob.jar
  | ../../exploded-library-ob.jar
  | ../library-ob.jar
  | {quote}
  | 
  | Structure jars:
  | 
  | Application.ear\lib\exploded-library-lib-ob.jar
  | Application.ear\exploded-library-ob.jar
  | Application.ear\lib\library-ob.jar
  | 
  | On scanning persistence unit from exploded-library-with-persistence-ob.jar 
there is CNF while addind entity from 
Application.ear\lib\exploded-library-lib-ob.jar to PU. Scanning 
Application.ear\lib\library-ob.jar and Application.ear\exploded-library-ob.jar 
is OK.
  | 
  | So Workaround is to move Application.ear\lib\exploded-library-lib-ob.jar to 
Application.ear. Any other options ? 

It is default structure for our project so I don't want be too invasive. Now 
I'm testing exploded deployment to boost developing. We are using maven2.

My ear is exploded (Application.ear)

My persistence library is in lib and is exploded 
(Application.ear\lib\exploded-library-with-persistence-ob.jar)

When library is in lib and not exploded and referenced from  there is 
no problem (Application.ear\lib\library-ob.jar). 

When library is in lib and exploded and referenced from  there is CNF 
(Application.ear\lib\exploded-library-lib-ob.jar)


When library is in root and exploded and referenced from  there is no 
problem (Application.ear\exploded-library2-ob.jar)

"jaikiran" wrote : 
  | "skajotde" wrote : 
  |   | Thanks, I'll try java module in our maven build.
  |   | 
  | 
  | Let us know how it goes.

Thanks for clue ;> It resolved problem ;>

For the moment I need only two jarModule exploded (ejb, war are exploded with 
no problem and are situated in root) so I revert to lib directory and I add 
Application.ear\lib\exploded-library-lib-ob.jar as java module to 
application.xml.

Application deploys successful.


  | org.apache.maven.plugins
  | maven-ear-plugin
  | 
  | ejb,war,sar,rar
  | 
${basedir}/target/30-${project.build.finalName}.${packaging}
  | 
  |  
  | 
  | pl.skajotde.tests
  | 
exploded-library-with-persistence-ob.jar
  | true
  | 
  | 
  | pl.skajotde.tests
  | 
exploded-library-lib-ob.jar
  | true 
  | 
true
  | 
  | 
  | 
  | 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Explded ear deploymeny blocking jars

2008-09-05 Thread skajotde
Hi

I'm testing exploded ear deployment and I see that jar in that ear cant be 
redeployed (delete this jar, paste new and touch application.xml) until I stop 
server (Windows XP, JBossAS 4.2.1.GA, JDK 1.5)

It is true ?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Explded ear deploymeny blocking jars

2008-09-05 Thread skajotde
Touching application.xml works but I cant *delete* old jar on Windows XP from 
Windows Explorer (other process is using this file) - when I stop JBossAS I can 
delete this jar from Windows Explorer.

I dont want to explode all my 15 jars because probably it kills Eclipse - I'm 
using FileSynch Eclipse Plugin to synchronization and it is much work ;>

Few jars on which I'm doing main work are exploded but most less important jars 
are packed and I thought solution is to pack jar, copy to exploded ear and 
touch application.xml but deleting old jar doesn't work.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: HTTPConnection in startup servlet works only with hot de

2008-09-05 Thread skajotde
"venuwin" wrote : there is no question of some variable after deploy. The 
deployer hangs at the line where i try to read the input stream of XML URL. 
Your idea is ruled out. Please avoid giving vague answers .

there was question about cause of problem. I give one of answer and asked are 
you using isolated classloader. Maybe your code (or some jboss code) modify 
java way connecting to http and on next deploy old classess are holded. Thanks 
for rude answer ;/

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Jboss Server Crashed ! ! !

2008-09-06 Thread skajotde
"gothemilan" wrote : Hi Friend,
  | 
  | May be this information could help us to find the solutions. we only have 
100 Max connection pool in this file defined, should we increase this coz as i 
already said before, we have more than 250 users at a time(concurrent).
  | 

This attribute is for Web server threads (check localhost:8080/ and click 
status how many threads are busy) I think you can also check max used threads 
on JMX console.

You have exception from  
"org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73)"
 so you probably you don't close jdbc connection. Are you using finally block 
to close connections ?

"jakiran" wrote : Also, you can access the jmx-console at 
http://localhost:8080/jmx-console and you will find a MBean named 
"name=MerliaDS,service=ManagedConnectionPool" under the jboss.jca section. 
Click on that link which will lead you to a page which shows the various 
attributes of the connection pool. One of them is the InUseConnectionCount. 
Check out the value of this.

Also there is method listConnectionInUse on that JMX bean which show you which 
your code doesn't release connections. It is amazing JBoss feature which I used 
many times on production ;>

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

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


[jboss-user] [Clustering/JBoss] - Re: Is exploded ear directories possible in cluster ??

2008-09-06 Thread skajotde
You can deploy not-exploded ear and edit jsp in tmp/deploy/xxx directory. I was 
using this solution. Sometimes there is problem with refresh changes but I 
think it requires some touching on specific files. And problem is to 
synchronize it over cluster - Maybe you will have to hand copy changes to other 
cluster nodes.

Or If you using cluster maybe you can sequentially execute steps: stop-start 
cluster node with updated ear - and all time you application is available. I 
don't know how JBoss support that solution.

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

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


[jboss-user] [JBossWS] - Re: Missing jbossws.integration.target in ant.properties in

2008-09-07 Thread skajotde
I reported Jira.

https://jira.jboss.org/jira/browse/JBWS-2290

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

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


[jboss-user] [JBossWS] - Re: Problem with Deploy and undeploy JBossWS-native-3.0.3.GA

2008-09-07 Thread skajotde
I reported Jira

https://jira.jboss.org/jira/browse/JBWS-2291

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

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


[jboss-user] [JCA/JBoss] - Re: How to programmatically create datasource in Jboss5.

2008-09-10 Thread skajotde
You can encrypt password in -ds.xml or set permission that only jboss process 
can read this file.

Consider that creating DS in Java has the same security problems how -ds.xml 
because anybody can decompile class files from deployed application (unless you 
use obfuscator or something similar)

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

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


[jboss-user] [JCA/JBoss] - Re: How to programmatically create datasource in Jboss5.

2008-09-24 Thread skajotde
In tests I create datasource in Spring, I'm sure in JBoss there are functions 
to create DS (it really pity if there are inner). If not you can create 
suitable class DS from underlying implementaion which JBoss use and bind it to 
JNDI new NamingContext().bind("java:dsXXX", ds);

It'n not tested it and I'm courious if it is correct. Now I have plan to 
decompose JBoss mechanisms to boost developing (eg programatically create 
war/ear/selected bean ejb3 wich seleceted requirements without scannging all 
classpath - scanning classpath was inflexible with few environment and one code 
tree in our project - eg replace one implementation from classpath without 
deleting it.

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

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


[jboss-user] [EJB 3.0] - Re: Using EntityManager in a abstract super class

2008-10-30 Thread skajotde
My team problem like this resolve with inheritance.

public abstract class GeneralDataAccessManipulator implements 
DataAccessManipulator {
  | 
  | protected abstract EntityManager getEntityManager();
  | 
  | public void delete(Object entity) {
  | if (!getEntityManager.contains(entity)) {
  | entity = doMerge(entity);
  | }
  | try {
  | doDelete(entity);
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | 
  | 
  | public class Specjalization extedns GeneralDataAccessManipulator {
  | 
  |   @PersistenceContext(name="puXXX")
  |   private EntityManager entityManager;
  | 
  |   protected EntityManager getEntityManager() {
  |return entityManager;
  |   }
  | }

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

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


[jboss-user] [EJB 3.0] - Re: Using EntityManager in a abstract super class

2008-10-31 Thread skajotde
"mnrz" wrote : I don't like this sort of approaches but we had to :)
  | 
  | I think it's very useful if they provide an annotation for injections with 
local JNDi names 
  | 

Why ? ;> It is point of inheritance. Write noninvasive generalization which 
model one aspect of system, and every class can specyfy to its needs. Contract 
is only EntityManager, not JNDI. I avoid Jndi if I can, in OO objects should 
have contract betwen themselves not between object and global register like 
JNDI.

You DAO even didnt have inherit GeneralDataAccessManipulator, may have:

@PersistenceContext(name="systemXPU")
private EntityManager entityManager;
property dataManipulatorSystemX = new 
GeneralDataAccessManipulator(enityiyManager);

Also I'm also pro named PU. Every @PersitenceContext should have name. 

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

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


[jboss-user] [EJB 3.0] - JBoss AS 5.0.0.GA doesn't have bundled Ejb3

2009-01-25 Thread skajotde

In topic "EJB 3 1.0.0 installer released for JBoss AS 5.0.0.GA" 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=149232 there is info 
about installing Ejb3 into JBoss AS 5.0 GA. JBoss 5.0 doesn't have bundled Ejb3 
? I think has, so what that post means ? ;)

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

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


[jboss-user] [EJB 3.0] - Sources Ejb3 in zipped form

2009-01-25 Thread skajotde
Can sources be downloaded in zipped form (like binary distribution on 
http://www.jboss.org/jbossejb3/downloads/) or only from 
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/ ?

I understand that JBoss-5.0.0.GA-src doesn't contain sources of Ejb3 but only 
integration with Ejb3 ?

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

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


[jboss-user] [EJB 3.0] - Re: EJB3 and @Table(name =

2009-01-25 Thread skajotde
Sorry, my mistake. I should click "new post, not post reply".

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

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


[jboss-user] [EJB 3.0] - Ejb3 sources in zipped form

2009-01-25 Thread skajotde
Can sources be downloaded in zipped form (like binary distribution on 
http://www.jboss.org/jbossejb3/downloads/) or only from 
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/ ?

I understand that JBoss-5.0.0.GA-src doesn't contain sources of Ejb3 but only 
integration with Ejb3 ?

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

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


[jboss-user] [EJB 3.0] - Re: Ejb3 sources in zipped form

2009-01-26 Thread skajotde
Thanks. Very good that are sources on maven repo at one http adress ;). 

I see that EJB3 project is so mavenized that there is no common tags in 
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/. I think it is 
drawback.

At least there is plus that all ejb3 artifacts have common version number. I'm 
pro develop one component (here ejb3) in coherent one way, even it is divide 
into libraries. My tree cents.

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

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


[jboss-user] [EJB 3.0] - Re: JBoss AS 5.0.0.GA doesn't have bundled Ejb3

2009-01-26 Thread skajotde

It would be nice release notes 
(http://sourceforge.net/project/shownotes.php?release_id=655817&group_id=22866) 
describe this relation. It is great that EJB3 can be standalone product but 
from JEE view is couply integrated with application server so I think version 
matrix with EJB3 vs JBossAS should be documented.

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

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


[jboss-user] [EJB 3.0] - Re: Ejb3 sources in zipped form

2009-01-26 Thread skajotde
"wolfc" wrote : The aim of the game here is to get one set of stable components 
which are certified against EJB 3.0 specs. Since it's a lengthy process to 
ascertain both certification and stability I want these components to stay 
solidly in place for a long time.
  | 
  | On top of this we'll develop new components to add the extra features 
required by EJB 3.1 and other feature packs:
  | - class based queuing for invocations
  | - clustered timer service
  | etc.
  | 
  | The feature packs will have a separate release cycle. So you might see an 
EJB 3.1 installer for AS 5.1 (while the basic installation is JavaEE 5 / EJB 
3.0).
  | 

Yes, EJB 3 specs is challenge.

"wolfc" wrote : 
  | 
  | So you're seeing multiple components in the repository. It is even possible 
to use these components outside of EJB 3 scope.
  | 
  | What we don't have yet is a nice graph which shows a good view of these 
components. So if anybody has some suggestions?

I think it is great that library can be used outside EJB3 and provides model 
and metatada. But main purposes of this libraries are be part of EJB3 product 
so I think it should be versioned in one way with one version number for 
releases of all libraries. So change in library-a should increase version in 
all libraries ?





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

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


[jboss-user] [EJB 3.0] - Re: Ejb3 sources in zipped form

2009-01-26 Thread skajotde
"ALRubinger" wrote : "skajotde" wrote : I think it is great that library can be 
used outside EJB3 and provides model and metatada. But main purposes of this 
libraries are be part of EJB3 product so I think it should be versioned in one 
way with one version number for releases of all libraries. So change in 
library-a should increase version in all libraries ? 
  | 
  | I have two arguments.
  | 
  | 1) It takes time/resources away from dev to re-release projects with no 
changes.
  | 
  | 2) If there's no difference in the code between 1.0.0 and 1.0.1, what does 
bumping the version number accomplish?  You're labelling a new version, 
signalling that some change has been made.
  | 
  | 

Yes, there are true arguments but I very prefer treat these libraries as part 
of EJB3 Project. So when EJB3 Project change releases new version there is one 
number of version.

"ALRubinger" wrote : 
  | It seems like your concerns would be alleviated with another matrix showing 
all component versions that comprise an EJB3 release?
  | 
  | S,
  | ALR
  | 

I'm afraid of versioning madness. I know that libraries have virtues but I 
think they shoudn't introduce additional complex level. Main product is JBossAS 
which is composed from few projects which you can simply download with sources 
and try (one version number). Now there will be hundreds libraries. Are you 
sure there is good solution ?

Maybe tagging all trunk in svn should come back ?


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

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


[jboss-user] [EJB 3.0] - Re: JBoss AS 5.0.0.GA doesn't have bundled Ejb3

2009-01-26 Thread skajotde
Thanks ;)

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

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


[jboss-user] [EJB 3.0] - Re: Ejb3 sources in zipped form

2009-01-26 Thread skajotde
"ALRubinger" wrote : 
  | You can't override logical arguments with preference. :)
  | 

Version madnes is my argument and I describe my way to improve/balance this 
situation ;) (from experience with work on granular libraries).

"ALRubinger" wrote : 
  | AS is an integration technology.  To extend your view on a unified version 
number between the composite and all components would impose that Hibernate, 
AOP, MC, EJB3, Transactions, etc all have the same version number.  And that 
imposes that they all have the same release schedule.
  | 
  | In truth AS brings in components to form the whole.  Each project is 
independently managed.
  | 

Please don't generalise. There are projects as like whole EJB3, dont libraries. 

Indeed eg Hibernate have 4 subprojects (core, annotations, em, validator) but 
on link http://repository.jboss.org/maven2/org/jboss/ejb3/ there is 22 
libraries ;)

In definition I would separate projects from libraries. Project has separate 
vesioning and release schedule but library not necessary.

You say maven releases will have independent releases - ok, so I think there 
should be additional release as zipped whole binary because it is project not 
library. Why EJB3 doesn't release zipped distribution like JBossWS, JBossAS, 
JBM (there is secret installer) ? We are in Linux World and Linux Users don't 
like when something try hide details. I'm not pro shell scripts but 
ejb3-installer imho should be in zipped distro and operates on files in this 
zip. Now I guess it downloads jars from maven repo ?

So my proposition to EJB3 binaries is zip (which always can be unpack) with 
structure:

ejb3-installer.jar
ejb3-installer-sources.jar (shell script can be read to see what to do, so 
sources installer are needed)
other jars of EJB3 without sources

I suspect you are maven fan and it is main reason to using automagic installer. 
I'm not so (I have many trouble with unpredicatble maven dependencies). When 
you download whole distribution there is closed space and you see what you get. 
With maven this space of dependecies are open and very fast grow (to 1GB maven 
repo) and I have many class conflicts because I dont see which library is 
using. Predicable closed dependencies is my prefered way to configure project 
and it is main reason I ask if there is enable one whole binary of EJB3. So 
user is not forced to maven when using EJB3.

Little digression and other question: What is way to get dependency to ejb3 in 
my maven project. I will have to list all libraries explicite, all 22 libraries 
?

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

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


[jboss-user] [EJB 3.0] - Re: Ejb3 sources in zipped form

2009-01-27 Thread skajotde
"ALRubinger" wrote : 
  | Your proposal to address "version madness" involves coupling the release 
schedule of all EJB3 components.  This comes at the cost of the 2 drawbacks I'd 
presented.
  | 
  | Would an additional assembly of all the EJB3 component resources in one 
place solve this?  ie. ejb3-sources-1.0.0.jar, which contains all the sources 
from the various component versions that are in the EJB3 1.0.0 distribution?
  | 

Yes, it would be great. 
"ALRubinger" wrote : You've now defined a difference between "project" (ie. 
EJB3) and "library" (the components that make up a project release); that 
distinction wasn't present before.

Sorry I was unclear.
"ALRubinger" wrote : "skajotde" wrote : In definition I would separate projects 
from libraries. Project has separate vesioning and release schedule but library 
not necessary.
  | 
  | For the reasons laid out previously, separate release schedule for each 
component is necessary (or at least desirable).  This *ensures* that nothing 
has changed when no source changes have been made.  It's about a guarantee of 
stability, one of the reasons we've componentized so heavily in the first place.

OK.

"ALRubinger" wrote : "skajotde" wrote : You say maven releases will have 
independent releases - ok, so I think there should be additional release as 
zipped whole binary because it is project not library. Why EJB3 doesn't release 
zipped distribution like JBossWS, JBossAS, JBM (there is secret installer) ? We 
are in Linux World and Linux Users don't like when something try hide details. 
  | 
  | I think you're just asking for a new assembly to contain all of the EJB3 
binaries in a unified JAR.  And another one for all sources.

Yes, as I write above.

"ALRubinger" wrote : "skajotde" wrote : I'm not pro shell scripts but 
ejb3-installer imho should be in zipped distro and operates on files in this 
zip. Now I guess it downloads jars from maven repo ?
  | 
  | No, the ejb3-plugin contains all artifacts to be installed, and is a 
standard executable JAR.  There's no downloading involved.

Ok,  but I'm suprised. Other JBoss projects release zips with scripts. Why you 
release jar which hide details what to do? As I wrote I'm not pro shell script, 
I think java to instalation is good but in more open form ;) Like zip with jars 
and sources with ejb3-installer (You can see what doing install shell script so 
I think it would be fine to see what doing ejb3-installer). You don't give 
reason why you choose ejb3-installer as jar.

I checked jar and you are right, it contain all libraries and has simple rules 
to work but I many prefer zip and when downloaded jar I was some confused.

"ALRubinger" wrote : "skajotde" wrote : I suspect you are maven fan and it is 
main reason to using automagic installer. I'm not so (I have many trouble with 
unpredicatble maven dependencies). When you download whole distribution there 
is closed space and you see what you get. With maven this space of dependecies 
are open and very fast grow (to 1GB maven repo) and I have many class conflicts 
because I dont see which library is using. Predicable closed dependencies is my 
prefered way to configure project and it is main reason I ask if there is 
enable one whole binary of EJB3. So user is not forced to maven when using EJB3.
  | 
  | I didn't follow a lot of that reasoning.
  | 
  | * We use Maven as a build tool and work through both its benefits and 
shortcomings.  No one I've found has been a "fan" for any non-technical reason.
  | * Maven has nothing to do with the "automagic installer" (ejb3-plugin). 
  | * As an end-user you're not forced to use Maven at all. Take our built 
artifacts and go.
  | * The issue of dependencies isn't just Maven's fault.  The EJB3 project 
must declare dependencies to be built, and AS provides its own dependency 
chain.  So there's a compilation/test set and a runtime set, which may be 
mismatched.  We've been in talks to address this.

Thanks for info. I know you are right about dependencies between libraries. 

"ALRubinger" wrote : "skajotde" wrote : Little digression and other question: 
What is way to get dependency to ejb3 in my maven project. I will have to list 
all libraries explicite, all 22 libraries ?
  | 
  | Just bring in org.jboss.ejb3:jboss-ejb3-as-int:1.0.0.  Everything else will 
come in transitively.
  | 
  | But if you're just building applications that *use* JBoss EJB3, you can get 
by with just the EJB3 API and the JBoss EJB3 External API.  Or more simply, a 
dependency upon jbossall-client.jar.
  | 
  | S,
  | ALR

Thanks.

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

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


[jboss-user] [EJB 3.0] - Re: Ejb3 sources in zipped form

2009-01-28 Thread skajotde
"ALRubinger" wrote : Cool, I'll discuss this w/ the other guys on the team.  
Appreciate your feedback.

Thanks.

"ALRubinger" wrote : Well, the difference between ZIP and JAR is just a format 
specification, right?  ;)

No just specification. Zip is standard format to download files. There is 
Readme, you can view install script when are problems, you can change install 
script to do workaround.

"ALRubinger" wrote : The Plugin, as packaged currently, takes just one step to 
install, making it less error-prone (no need to unzip, run a script; just 
execute the JAR).  
  | 
  | "Why hide details what to do"?  Encapsulation! :D  I don't understand your 
Linux comparison; in standard RedHat packaging a RPM also will self-extract and 
install itself.  I believe implementation details *should* be hidden to the 
user.  The contract is that this artifact patches AS.  The issue of "how" is 
out-of-scope, but you can still get at the working parts underneath if you need 
to.
  | 
  | S,
  | ALR

Hm encapsulation yes, but give additional ways to do workaround problems. So 
attach ejb3-plugin sources to jar ;). Of course sources of all jars are not 
need. And give  README with info from run this script.





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

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


[jboss-user] [JBoss Tools (users)] - Problem with JBoss Tools Runtime 4.2 and JWS Client

2009-02-02 Thread skajotde

Hi

I have JBoss Tools 3.0.CR2 and created ear with ejb-module with webservices 
annotations (so I deploy jws serwice in ear).

When I create jws-client as ejb-module JBoss Tools adds all libraries also 
jaxws-rt.jar
jaxws-tools.jar. These libraries cause problem descirbed example here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132890

Problem is deaper because even I set handy classpath to jws-client.jar, I have 
transitive dependencies from yyy.jar with JBoss runtime.

1. xxx.ear depend: yyy.jar

This cause addding JBoss Runtime to yyy.jar because is packed to ear

2. jws-client.jar also depend yyy.jar
   yyy.jar has JBoss Runtime depencecy (see step 1) and it goes transitive to 
jws-client.jar

Please point some solution.


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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss Tools Runtime 4.2 and JWS Client

2009-02-02 Thread skajotde

In ear properties => Java EE Module Dependencies I cant add library if it is 
casual jar without JBoss Runtime dependency (like yyy.jar should be).

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss Tools Runtime 4.2 and JWS Client

2009-02-02 Thread skajotde
"skajotde" wrote : 
  | In ear properties => Java EE Module Dependencies I cant add library if it 
is casual jar without JBoss Runtime dependency (like yyy.jar should be).

Other solution could be add JBoss Runntime dependency to yyy.jar but without 
jaxws-rt.jar and jaxws-tools.jar.

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

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


[jboss-user] [JBoss Tools (users)] - Re: How-to redeploy application.

2009-02-02 Thread skajotde
"krasig" wrote : 
  | But if i change some class,  application must be restarted (this happen in 
Tomcat) but with JBoss 5 this not happen. [...]
  | So now every time i must  do by hand "Full publish".
  | Is this normal?

So in Tomcat and JBoss application is restarted (by full publish). I also 
restart my application at JBoss by "Full Publish". Serwer is not needed to 
restart. 

You would to say that in Tomcat application is restarted without manual 
intervention ? I think manual Full Publish is better that automatic deploy on 
saving files. In mean size of application take 20 / 120 sec, I woudn't like to 
take this time automagical, but only when I click Publish, Imho ;).

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss Tools Runtime 4.2 and JWS Client

2009-02-02 Thread skajotde

I had simply jar yyy.jar which is for example model-dto with jaxb generated 
classes. So this module is needed by client and serwer.

When I add yyy.jar to ear (ear properties => Java EE Module Dependencies) JBoss 
Tools automaticaty change dependencies of this project and adds jboss runtime 
to it. It is problem.

When I execute jws-client.jar (dependent on yyy.jar) jboss runtime transitive 
depencies going to classpath and jaxws-rt.jr causes problem.

Is there way to add project to ear (the best in exploded form) but not to add 
to it jboss runtime.

Or is the way change JBoss Runtime classpath ?

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

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


[jboss-user] [JBoss Tools (users)] - Problem with lib directory in ear

2009-02-03 Thread skajotde

Hi

When  "Java Project" is selected in Java EE Module Dependencies in Ear 
properties and checkbox lib is selected library then this project not go to lib 
of ear but to root of ear.

When external library is selected all is ok.

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

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


[jboss-user] [JBossWS] - WeFault and throws declaration

2009-02-03 Thread skajotde
Hi

I have that structure

@WebFault public class BaseAppException {
  |   ExceptionXBVO getFaultInfo() { ...}
  | }
  | 
  | @WebFault public class OtherAppException extends BaseAppException {
  |   ExceptionXBVO getFaultInfo() { super.getFa...}
  | }
  | 
  | public interface IServiceOne {
  |   @WebMethod public String one(@WebParam("xxx" xxx) throws BaseAppException;
  | }
  | 
  | @WebService [...other annotations...] public class SerwiceOne  implements 
IServiceOne {
  |@WebMethod public String one(@WebParam("xxx" xxx) throws 
BaseAppException {
  |   throw new OtherAppException("info");
  |}
  | }
  | 
  | 

If web service declare BaseAppException but method throws OtherAppException 
which inherit on it. Should JBoss WS throw SOAPFaultException or 
OtherAppException or BaseAppException ?

I think best solution is to catch OtherAppException by client but in my config 
is catched SOAPFaultException. When I add OtherAppException to throws 
declaration then is works as excepted. Does JBoss WS require adding to throws 
decalarion all possible exception, iheritance doesn't enough ?

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

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


[jboss-user] [JBoss Tools (users)] - Re: problems with downloading of a tools

2009-02-03 Thread skajotde

Yes, I had the same problem. Dont use direct link from JBoss Tools Website but 
from sourceforge.net listing:

http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=242269&release_id=656924

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

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


[jboss-user] [JBossWS] - Re: WeFault and throws declaration

2009-02-04 Thread skajotde
I see that in 3.0.3.GA Tag in svn there is code

void org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.processWebMethod

which add fault metadata from declaring exceptions. 


  |   // Add faults
  |   for (Class exClass : method.getExceptionTypes())
  |  if (!RemoteException.class.isAssignableFrom(exClass))
  | addFault(opMetaData, exClass);

I'm reading JSR-224 but dont see what spec talk about this situation.


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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss Tools Runtime 4.2 and JWS Client

2009-02-04 Thread skajotde
"Grid.Qian" wrote : why do you add the yyy.jar to ear directly? which server do 
you want to deploy the ear to? jboss server?
  | If you want to deploy the ear to jboss server, I think ,when you create the 
web projects for client and server, you should select jboss server for these 
projects and add the yyy.jar to these project. Because your projects have jboss 
runtime, system do not import jboss runtime again when you import yyy.jar to 
these projects. And by this way, the yyy.jar will be added to ear automatically.

Yes, JBoss Server 4.2.3. 

I test and you are right, I can add yyy.jar to dependencies of ejb-module which 
is in ear. But I dont know why it sometimes doest work and sometime work when I 
tested.

Thanks.

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

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


[jboss-user] [JBossWS] - Redeploy Endpoint already registered

2009-02-07 Thread skajotde
Hi all!

Problem like here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=135099 and not solved.h

Case: When deploying application occurs problem like ClassNotFoundException, 
next I remove ear so all beans should be undeployed but seems not all. When 
repair ear and  copying it to deploy dir JBoss again deploy this app (redeploy) 
and while deploying module jws with JBossWs services is problem

anonymous wrote : 11:07:39,018 ERROR [MainDeployer] Could not start deployment: 
file:/systemYYY/jboss-developerski/server/developerski01/tmp/deploy/tmp454525987406062238920-systemYYY-xxx-jee-1.0-SNAPSHOT.ear-contents/ystemYYY-xxx-jws-1.0-SNAPSHOT.jar
  | java.lang.IllegalStateException: Endpoint already registered: 
jboss.ws:context=jws/xxx,endpoint=SerwisyXxxRoleJWS

I think JWS beans should be fully undeployed on first deploy when catch 
ClassCastException. It is bug ?

JBoss 4.2.3 GA
JBossWS Version: jbossws-native-3.0.3.GA


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

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


[jboss-user] [JBossWS] - Re: Redeploy Endpoint already registered

2009-02-07 Thread skajotde
Question from mentioned post "Do the errors you get somehow influence the 
deploy/undeploy?"

Yes, these errors fails redeploy. 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Redeployment loop of ear on jboss AS 5

2009-02-07 Thread skajotde
"wdrai" wrote : This definitely looks like a problem with JBoss AS CR1.
  | When using an exploded ear, the redeployment process redeploys the 
application for each and every file which has changed in any metadata 
directory. 
  | The packaging archiver seems to touch all files at each build, so it ends 
up with a redeploy for each file in META-INF/WEB-INF (in my case, that is 
almost 20 files). After that, the redeployment loop stop.
  | 

It seems that I had the same problem on JBoss 5.0.0.GA na JBoss Tools 3 CR2. I 
had ear with war. When I clicked on ear "Full publish" ejb beans are created 
twice. I resolved this and used in click "Full publish" on war in ear, and 
serivices were created once. 

I thought it is problem with JBoss Tools but maybe with JBossAS.

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

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


[jboss-user] [JBossWS] - Re: Redeploy Endpoint already registered

2009-02-10 Thread skajotde
"richard.opa...@jboss.com" wrote : This should be fixed with latest JBossWS 
3.0.5 release.

Thanks.

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

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


[jboss-user] [EJB/JBoss] - Re: Merging an object twice

2009-03-23 Thread skajotde
Optymistic exception seems correct because you invoke second merge on old 
instance and in database is newest.

I think you should invoke

aMember = getEntityManager().merge(aMember);


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Datasource injection not working on Web Services ?

2009-03-30 Thread skajotde
Try add @Stateless to class, so webserwice will be also ejb bean (we use that 
case in our application). Injection should work.

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

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


[jboss-user] [EJB 3.0] - Re: Manually created Hibernate EntityManager vs. injected on

2008-11-13 Thread skajotde
JBoss uses EnityManager which is involved with TransactioManager and em is 
proxy so em.find/em.save is thread safe.

Your code is also thread safe because beans are thread-safe but creating 
emtnity manager factory has high cost (6 seconds on my machine). 

Persistence.createEntityManagerFactory("em");

Should be invkoned once.

If you move creating emf to singleton then there is question if 
emf.createEntityManager(); has proper transaction if you are using annotations 
on beans. If you using transactional filter (eg. on web.xml in web apps) which 
global begin/commit transaction there should be no problem.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Class.class as cache key - Generic Question

2008-11-13 Thread skajotde

Hi All

I'm writing simple cache which is based on: Java Concurrency in Practise", 09 
2006, Listing 5.19 and have generic cache question.

If java.lang.Class can be key for cache ? I know that java.lang.Class doesn't 
implement hashCode and equals but is only one instance per JVM.

Googling like "java.lang.class key cache" or "java.lang.class equals" return 
nothing matters.

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

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


[jboss-user] [EJB 3.0] - Re: @EJB injection in JBoss 5 application clients?

2008-12-28 Thread skajotde

I think JBoss try resolve speces issues, like here 
https://jira.jboss.org/jira/browse/JBAS-5796.

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

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


[jboss-user] [JBossWS] - Re: NullPointerException with jbossws 2.0.1

2009-01-05 Thread skajotde
thanks guys for pointing solution. Exception is horrible unclear . Before 
Christmas vacation i had added jmx parameter to run.conf to monitor jboss. 
After vacation I did svn update and JBoss doesn't start. I forget about this 
parameter added 2 weeks ago. I thought it is from updating svn repo but it was 
my mistake.

Thanks.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Not sorted forums in search options!

2009-08-26 Thread skajotde
Hi

I have used this forums for 4 years, for that forums on search options on [1] 
are not sorted. It is much less usable and take few minutes to choose one from 
tens. 

Jakiran, PeterJ can you post this question for someone who is reponsible for 
the forum.

Thanks!

1. http://www.jboss.org/index.html?module=bb&op=search

PS. I'm sorry for spam but year ago I sent similiar topic but without response.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Not sorted forums in search options!

2009-08-26 Thread skajotde
"jaikiran" wrote : Kamil,
  | 
  | I have forwarded this request to the right person. I'll update this post 
with the reply, once i get it.
  | 
  | 

Thank you Jakiran!

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

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


[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-04-15 Thread skajotde
"epbernard" wrote : If we are OK to go the non standard route, I can look at 
adding  a method on HibernateEntityManagerFactory. 
  | Set> getEntities();
  |  returning the list of entities.
  | 
  | Or even better you can do
  | 
  | Collection metadatas = (Map) ( (HibernateEntityManagerFactory) emf 
).getSessionFactory().getAllClassMetadata().values();
  | 
  | for(ClassMetadata metadata : metadatas) {
  |   Class entityType = metadata.getMappedClass(EntityMode.POJO);
  |   if (entityType != null) 
  | doStuffCauseItsAnEntity( entityType );
  | }

I think it is good way, so 

public Collection> discoverEntities();

is executed in context of deployed PU. EMF should take responsibility to 
discover which entities belong to it and expose API to get that information. So 
code for hibernate is ready, and for EMF which now doesn't expose similair API 
code discoverEntities should throw exception ..?

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

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


[jboss-user] [JBossWS] - Re: JBossWS with JBoss Embedded

2009-04-15 Thread skajotde
I'm also curious results.

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

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


[jboss-user] [JBossWS] - WebFault and Declared RuntimeException is wrapped by SOAPFau

2009-04-16 Thread skajotde
Hi All !

I'm writing webservice with JBoss 4.2.3 and jbossws-native-3.0.3.GA. When I 
declare checked exception, client can catch right unbinded exception.

@WebMethod
  | public String testWyjatek003(@WebParam(name = "paramString") String 
paramString) throws WyjatekTestowy,
  | WyjatekTestowyDziedziczacy;

When I declare runtime exception, exception is right unmarshalled as cause of 
SOAPFaultException but is not unwrapped.

  | @WebMethod
  | public String testWyjatekRuntime005(@WebParam(name = "paramString") 
String paramString)
  | throws WyjatekTestowyRuntime02;
  | 
  | @WebFault
  | @ApplicationException(rollback = true)
  | public class WyjatekTestowyRuntime02 extends RuntimeException {
  | [...]
  | }
  | 

I was investigating this case and I found ClientProxy.handleException(Exception 
ex)

   private void handleException(Exception ex) throws Throwable
  |{
  |   if (ex instanceof SOAPFaultException)
  |   {
  |  // Unwrap the cause if it is an Application Exception, otherwise 
use a protocol exception
  |  Throwable cause = ex.getCause();
  |  if (cause instanceof Exception)
  |  {
  | // Throw unwrapped WebServiceException
  | if (cause instanceof WebServiceException)
  |throw (WebServiceException)cause;
  | 
  | // Throw wrapped SOAPException
  | if (cause instanceof SOAPException)
  |throw (SOAPFaultException)ex;
  | 
  | // Throw wrapped RuntimeException
  | if (cause instanceof RuntimeException)
  |throw (SOAPFaultException)ex;
  | 
  | // Throw all other causes
  | throw (Exception)cause;
  |  }
  |   }
  |   throw ex;
  |}

So RuntimeException is wrapped with SOAPFaultException. 

Is there way to write transparent code with declaring RuntimException and 
services with JBossWS ?

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

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


[jboss-user] [Javassist user questions] - Re: Generating source code with Javassist

2009-05-07 Thread skajotde
Thanks

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

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


[jboss-user] [EJB 3.0] - Re: Persistence context propagation on remote calls

2009-05-09 Thread skajotde
To simulate remote behaviour you can put remote interfaces in additional ear 
and configure isolation for this ear (default is local). 

I found additional situation: attribute mappedName, it is a pity that semantics 
of global name resource (global in some context) is not standardised.

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

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


[jboss-user] [EJB/JBoss] - Re: EJB deploy before queue is ready

2009-05-15 Thread skajotde
The same problem was on Weblogic 8. I'm courius of proper solution.

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

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


[jboss-user] [Clustering/JBoss] - problem with session, logging log4j

2006-08-23 Thread skajotde
Hi

I have app which were running in cluster and was configured in that way. Now i 
need run this app on one host. I have problem when my app calls function 
request.getSession(). It returns null and i got NullPointerException in code 
like below.


  | request.getSession().getAttribute(...);
  | request.getSession().setAttribute(..., );
  | 

Something is strange, because i see this behavoiur only if I set up log4j with 
ERROR for com.myapp (turn off debugging in production env). When I turn debug 
on, everything is OK.

Version: 4.0.3SP1(build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
JVM Version: 1.5.0-b64 (Sun Microsystems Inc.)
OS: Linux 2.6.11.4-20a-smp (i386)

Any suggestions? It's problem with session replication?

Structure catalogs (show somoething about running services)

  | conf:
  | jacorb.properties  jboss-service.xml  log4j-20060823.xml  login-config.xml  
standardjaws.xml   standardjboss.xml
  | jboss-minimal.xml  jndi.propertieslog4j.xml   props 
standardjbosscmp-jdbc.xml  xmdesc
  | 
  | data:
  | hypersonic  xmbean-attrs
  | 
  | deploy:
  | bsh-deployer.xmlhttpha-invoker.sarjms   
scheduler-service.xml
  | cache-invalidation-service.xml  iiop-service.xml  jmx-console.war   
snmp-adaptor.sar
  | client-deployer-service.xml jboss-aop-jdk50.deployer  
jmx-invoker-service.xml   sqlexception-service.xml
  | cluster-service.xml jboss-bean.deployer   jsr88-service.xml 
myapp-ds.xml
  | deploy-hasingleton-service.xml  jboss-ha-local-jdbc.rar   juddi-service.sar 
myapp-ear-1.1.0.ear
  | deploy.last jboss-ha-xa-jdbc.rar  mail-ra.rar   
myapp-modul-autentykacja-1.0.0.sar
  | ear-deployer.xmljbossjca-service.xml  mail-service.xml  
myapp-service.xml
  | ejb3.deployer   jboss-local-jdbc.rar  management
myapp-xa-ds.bak
  | ejb3-interceptors-aop.xml   jbossweb-tomcat55.sar 
monitoring-service.xmltc5-cluster-service.xml
  | ejb-deployer.xmljboss-ws4ee.sar   
properties-service.xmluuid-key-generator.sar
  | hsqldb-ds.xml   jboss-xa-jdbc.rar 
schedule-manager-service.xml
  | 
  | deploy-hasingleton:
  | jms
  | 
  | farm:
  | cluster-examples-service.xml
  | 
  | lib:
  | activation.jar cglib-2.1_2jboss.jar   jbossha.jar   
jbossmq.jar log4j.jar
  | antlr-2.7.5H3.jar  commons-collections.jar
jboss-hibernate.jar   jboss-remoting.jar  mail.jar
  | asm-attrs.jar  commons-httpclient.jar jboss-iiop.jar
jboss-saaj.jar  mail-plugin.jar
  | asm.jarcommons-logging.jarjboss-j2ee.jar
jbosssx.jar pgsql-20051125.jar
  | autonumber-plugin.jar  hsqldb.jar jboss.jar 
jboss-transaction.jar   properties-plugin.jar
  | avalon-framework.jar   hsqldb-plugin.jar  jboss-jaxrpc.jar  
jboss-xb.jarscheduler-plugin-example.jar
  | bcel.jar   jacorb.jar jboss-jca.jar 
jgroups.jar scheduler-plugin.jar
  | bindingservice-plugin.jar  javax.servlet.jar  jboss-jsr77.jar   
jmx-adaptor-plugin.jar  snmp-support.jar
  | bsf.jarjavax.servlet.jsp.jar  jboss-jsr88.jar   
jnpserver.jar   xmlentitymgr.jar
  | bsh-1.3.0.jar  jboss-cache.jar
jboss-management.jar  jpl-pattern.jar
  | bsh-deployer.jar   jboss-common-jdbc-wrapper.jar  
jboss-monitoring.jar  jpl-util.jar
  | 
  | log:
  | boot.log  server.log
  | 
  | tmp:
  | aopdynclasses  deploy  server58045.xml
  | 
  | work:
  | jboss.web
  | 

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

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


[jboss-user] [Clustering/JBoss] - Re: problem with session, logging log4j

2006-08-24 Thread skajotde

It is not problem with clustering, I found 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming and i remove 
cluster configuration according to instructions.

But I have still this problem. Session is null.

Pool in the class is:

private transient HttpServletRequest request;

this is from my log file.

[EMAIL PROTECTED]
request.getSession()=null

When debugging is on, Session is not null, but when I turn debug off 
request.getSession() returns null.

Any suggestions?






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

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


[jboss-user] [JCA/JBoss] - IDLE Connections and Pool ConnectionDestroyedCount near zero

2007-08-29 Thread skajotde

Hello

I have seeking on forum but with no effects. 

JBoss 4.0.3SP1
Posgtres 8.x

I have problem with production serwer. Per one day all connections from pool 
are excused and connections not come back to pool (they are IDLE - I checked 
with ps aux | grep posgtres)

According to jmx-console all connections are "in use" (InUseConnectionCount) 
and none of them are closed (ConnectionDestroyedCount, near zero, but sometime 
incease, but very slow)

On my testing serwer there is No problem. All connections come back to the pool 
and ConnectionDestroyedCount from jmx is instantly grow up.

log for debugging:

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

There are logs for production serwer for one click (as you will see connection 
is closed via entitymanager):

  | 
  | Production Environment:
  | 
  | 
  | 
  | 2007-08-29 19:24:54,323 TRACE [org.jboss.tm.TransactionImpl] Created new 
instance for tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=amon/8248, 
BranchQual=, localId=8248]
  | 2007-08-29 19:24:54,323 TRACE [org.jboss.tm.TxManager] began tx: 
TransactionImpl:XidImpl[FormatId=257, GlobalId=amon/8248, BranchQual=, 
localId=8248]
  | 2007-08-29 19:24:54,323 DEBUG 
[org.jboss.ejb3.entity.ManagedEntityManagerFactory] GETTING NEW EntityManager
  | 2007-08-29 19:24:54,323 DEBUG 
[org.jboss.ejb3.entity.ManagedEntityManagerFactory] logLivedSession.get() was 
NULL
  | 2007-08-29 19:24:54,323 DEBUG 
[org.jboss.ejb3.entity.ManagedEntityManagerFactory] LONG LIVED NOT FOUND
  | 2007-08-29 19:24:54,323 TRACE [org.jboss.tm.TransactionImpl] 
registerSynchronization(): Entered, tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=amon/8248, BranchQual=, localId=8248] status=STATUS_ACTIVE
  | 2007-08-29 19:24:54,324 DEBUG [org.hibernate.jdbc.ConnectionManager] 
opening JDBC connection
  | 2007-08-29 19:24:54,324 TRACE 
[org.jboss.resource.connectionmanager.TxConnectionManager] Pre-enlist: [EMAIL 
PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1188408214191 permit=true 
trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
txSync=null] threadTx=TransactionImpl:XidImpl[FormatId=257, GlobalId=amon/8248, 
BranchQual=, localId=8248]
  | 2007-08-29 19:24:54,324 TRACE 
[org.jboss.resource.connectionmanager.TxConnectionManager] Get synchronizer 
[EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1188408214191 permit=true 
trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
txSync=null] threadTx=TransactionImpl:XidImpl[FormatId=257, GlobalId=amon/8248, 
BranchQual=, localId=8248]
  | 2007-08-29 19:24:54,324 TRACE [org.jboss.tm.TransactionImpl] 
registerSynchronization(): Entered, tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=amon/8248, BranchQual=, localId=8248] status=STATUS_ACTIVE
  | 2007-08-29 19:24:54,325 TRACE 
[org.jboss.resource.connectionmanager.TxConnectionManager] Enlisting resource 
[EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1188408214191 permit=true 
trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
txSync=TxSync1299245257{tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=amon/8248, BranchQual=, localId=8248] wasTrackByTx=true 
enlisted=false}]
  | 2007-08-29 19:24:54,325 TRACE [org.jboss.tm.TransactionImpl] 
enlistResource(): Entered, tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=amon/8248, BranchQual=, localId=8248] status=STATUS_ACTIVE [EMAIL 
PROTECTED]
  | 2007-08-29 19:24:54,325 TRACE [org.jboss.tm.TransactionImpl] 
startResource(XidImpl[FormatId=257, GlobalId=amon/8248, BranchQual=1, 
localId=8248]) entered: [EMAIL PROTECTED] flags=0
  | 2007-08-29 19:24:54,325 TRACE [org.jboss.tm.TransactionImpl] 
startResource(XidImpl[FormatId=257, GlobalId=amon/8248, BranchQual=1, 
localId=8248]) leaving: [EMAIL PROTECTED] flags=0
  | 2007-08-29 19:24:54,325 TRACE 
[org.jboss.resource.connectionmanager.TxConnectionManager] Enlisted resource 
[EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1188408214191 permit=true 
trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
txSync=TxSync1299245257{tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=amon/8248, BranchQual=, localId=8248] wasTrackByTx=true 
enlisted=false}]
  | 2007-08-29 19:24:54,325 TRACE 
[org.jboss.resource.connectionmanager.TxConnectionManager] Check enlisted 
[EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1188408214191 permit=true 
trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
txSync=TxSync1299245257{tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=amon/8248, BranchQual=, localId=8248] wasTrackByTx=true 
enlisted=true}] threadTx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=amon/8248, BranchQual=, localId=8248]
  | 2007-08-29 19:24:54,325 TRACE [org.jboss.tm.TransactionImpl] 
registerSynchronization(): Entered, tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=amon/

[jboss-user] [JCA/JBoss] - Re: IDLE Connections and Pool ConnectionDestroyedCount near

2007-08-30 Thread skajotde

Hello, I sorry for long code pasted.

"vickyk" wrote : 
  | Check the listInUseConnections() operation in the CachedConnectionManager 
Mbean from the jmx-console . This will tell you what connections are not 
getting closed from your application .
  | All you need is to identify the application part which is leaking the 
connection and fix it.

Thanks for your suggestion ;>

In my jmx (listInUseConnections() CachedConnectionManager) thera are that 
tracktrace:

  | [EMAIL PROTECTED]: STACKTRACE
  | 
  | at 
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:333)
  | 
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:482)
  | 
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:894)
  | 
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73)
  | 
  | at 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
  | 
  | at org.hibernate.jdbc.JDBCContext.userConnection(JDBCContext.java:114)
  | 
  | at org.hibernate.impl.SessionImpl.connection(SessionImpl.java:366)
  | 
  | at 
pl.edu.uwm.student.dao.bazowe.BazowyJdbcDAO.utworzCallableStatement(BazowyJdbcDAO.java:40)
  | 
  | at 
pl.edu.uwm.student.admi.konfiguracja.dao.NumerAlbumuDAO.pobierzKolejnyNumer(NumerAlbumuDAO.java:45)
  | 
  | at 
pl.edu.uwm.student.admi.konfiguracja.ejb.FasadaNumerAlbumuDAOBean.pobierzKolejnyNumer(FasadaNumerAlbumuDAOBean.java:35)
  | 
  | at sun.reflect.GeneratedMethodAccessor450.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:109)
  | 
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:32)
  | 
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 
  | at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:27)
  | 
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61)
  | 
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:39)
  | 
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 
  | at 
org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:151)
  | 
  | at 
org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:85)
  | 
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63)
  | 
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:32)
  | 
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91)
  | 
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 
  | at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:163)
  | 
  | at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:60)
  | 
  | at $Proxy168.pobierzKolejnyNumer(Unknown Source)
  | 
  | at 
pl.edu.uwm.student.web.kart.studenci.rejestracja.akcje.RejestracjaStudentaAction.handlerGenerujNrAlbumu(RejestracjaStudentaAction.java:292)
  | 
  | at sun.reflect.GeneratedMethodAccessor433.invoke(Unknown Source)
  | 
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | 
  | at 
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
  | 
  | at 
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
  | 
  | at 
pl.edu.uwm.student.web.bazowe.akcje.BazowyAction.execute(BazowyAction.java:41)
  | 
  | at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
  | 
  | at 
pl.edu.uwm.student.web.bazowe.SystemowyRequestProcessor.processActionPerform(SystemowyRequestProcessor.java:149)
  | 
  | at 
org.apache.struts.action.RequestProcesso

[jboss-user] [JCA/JBoss] - Re: IDLE Connections and Pool ConnectionDestroyedCount near

2007-08-30 Thread skajotde

"vickyk" wrote : 
  | I have helped you to find out the root cause of the leak , 
  | 

Thanks ;>





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

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


[jboss-user] [EJB 3.0] - Re: java.lang.IllegalArgumentException: Null name during emb

2008-06-23 Thread skajotde
I have the same problem and just fixt it ;) File persitence.xml was in resource 
dir and this dir wasn't on classpath.


Kamil

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

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


[jboss-user] [EJB 3.0] - Re: Multiple persistence.xml files - single persistent unit

2008-07-24 Thread skajotde
Spring has that feature: http://jira.springframework.org/browse/SPR-2598 now 
I'm seeking some thing like in JBoss ;)

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

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


[jboss-user] [EJB 3.0] - jar-file in persistence.xml and eclipse directory

2008-07-24 Thread skajotde

Hi all !

I'm trying run junit tests from Eclipse. I have entities in few projects. When 
I apply jar-file with jar it's ok, but don't work with eclipse directories.


  | 
  | http://java.sun.com/xml/ns/persistence"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
  | version="1.0">
  | 
  | java:/bussinessDS
  | 
  | 
  | 
../../../testejb3-bussiness-moduleb-ob/target/classes
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Is jar-file scanning also directories ?

My problem would by resolved too by something like 
http://jira.springframework.org/browse/SPR-2598[/url] . Nobody answer on this 
[url]http://www.jboss.com/index.html?module=bb&op=viewtopic&t=96863 since 2006 
so there is still impossible ? ;)

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

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


[jboss-user] [EJB 3.0] - customize name of persistence.xml

2008-07-24 Thread skajotde
Hi

I have many projects with settings for ear deployed on jboss server (eg have 
files META-INF/persistence.xml). Now I'm trying run junit test from eclipse 
with jboss embedded. For tests simplest solution what come to my mind is 
deploying persistence-test.xml which doesn't interact with server deployment. 
Does ejb3 allow to customize persistence.xml file name ?

I know that in spring it can be done via attribute of bean in IoC ;)

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

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


[jboss-user] [EJB 3.0] - Re: jar-file in persistence.xml and eclipse directory

2008-07-24 Thread skajotde
"lynchie" wrote : According to the EJB3 spec jar-file defines an archive to 
scan for additional entities. You cannot specify a directory here.

What a pity.  I will have to add all classes explicit with  element. 

Jar way is very inflexible and works good with ears/wars deployed on server. 
Worse with developer IDE. Maybe vfs will do good job (lately I tested doesnt 
works)

Imho Ejb "next level" spec should provide user way to specify own entity 
scanner. Now is IoC epoch ;)

Fortunately  http://www.jboss.com/index.html?module=bb&op=viewtopic&t=139699 - 
customize name of persistence.xml - works ;)

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

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


  1   2   >