Re: HOWL exception

2008-04-15 Thread Tomasz Mazan
Kevan Miller wrote: On Mar 14, 2008, at 6:25 AM, Tomasz Mazan wrote: Hi Guys I got very ugly (and blocking) issue with HOWL. After processing 20k request to my webservice whose are translated to ~120k XA transactions (postgres + jms) Geronimo hangs up and does not respond

Geronimo 2.2 (or 2.1.1) - what is expected release date ?

2008-04-03 Thread Tomasz Mazan
- thanks Beniamin -- View this message in context: http://www.nabble.com/Geronimo-2.2-%28or-2.1.1%29---what-is-expected-release-date---tp16467467s134p16467467.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Re: Geronimo 2.2 (or 2.1.1) - what is expected release date ?

2008-04-03 Thread Tomasz Mazan
Joe Bohn pisze: We're currently working hard to get a 2.1.1 release out the door. The biggest issues at the moment are dependencies that must also be released: OpenEJB 3.0, ActiveMQ 4.1.x, ActiveIO 3.0.x. I'd love to say that we would have these within a week or so and be ready to

Re: Relation between MDB's instances, instanceLimit and threads

2008-03-17 Thread Tomasz Mazan
djencks wrote: I fixed the thread safety problems. I've also made the openejb part of a fix for OPENEJB-702 in openejb trunk so message delivery to mdbs should be logged properly in the transaction log. I haven't had a chance to look specifically at the howl integration code

HOWL exception

2008-03-14 Thread Tomasz Mazan
Hi Guys I got very ugly (and blocking) issue with HOWL. After processing 20k request to my webservice whose are translated to ~120k XA transactions (postgres + jms) Geronimo hangs up and does not respond on requests via HTTP, request to JMS engine (from HermesJMS) and ignores tries to shutdown

Re: Relation between MDB's instances, instanceLimit and threads

2008-03-14 Thread Tomasz Mazan
djencks wrote: I committed the fix we know about to amq 4.1 and trunk. However the code looks rather thread-unsafe -- I'm trying to verify that it needs to be thread-safe -- so I expect additional fixes will be needed before we think about a release. thanks david jencks I

Relation between MDB's instances, instanceLimit and threads

2008-03-12 Thread Tomasz Mazan
Hi guys. I still got problems with stopping of delivering messages to MDB. I suspect it's question of configuration of my thread pools, mdb instance limit per MDB container etc. Could anyone help me to do it properly? Let's say I got: 1. MDB class A1.. An - for each I have to define

Re: Relation between MDB's instances, instanceLimit and threads

2008-03-12 Thread Tomasz Mazan
David Jencks pisze: Does fixing the activeMQ bug https://issues.apache.org/activemq/browse/AMQ-1618 help with any of these problems? I would find it very difficult to analyze other failures until this is fixed. thanks david jencks I hope it will do, but now - as I understand - I can only

Re: Geronimo 2.1 on Windows - security warn on Geronimo start

2008-02-19 Thread Tomasz Mazan
Jacek Laskowski pisze: On Feb 18, 2008 2:05 AM, Tomasz Mazan [EMAIL PROTECTED] wrote: These lines are printed before Cert-window appears Booting Geronimo Kernel (in Java 1.6.0_03)... Thanks Tomek for your patience! I finally tracked it down and it turned out to occur on Geronimo

Re: Geronimo 2.1 on Windows - security warn on Geronimo start

2008-02-18 Thread Tomasz Mazan
Jacek Laskowski pisze: On Feb 17, 2008 11:25 PM, Tomasz Mazan [EMAIL PROTECTED] wrote: Hi, my env below Don't have any idea as to what might cause it. Can you run the batch script again with GERONIMO_BATCH_ECHO=on and bin\geronimo.bat run -vv. Send the output (the very first lines

Re: Geronimo 2.1 on Windows - security warn on Geronimo start

2008-02-17 Thread Tomasz Mazan
Jacek Laskowski pisze: On Feb 15, 2008 12:47 AM, Tomasz Mazan [EMAIL PROTECTED] wrote: I'm running Geronimo on Windows without cygwin by executing commandgeronimo.bat run Hi Tomasz, Have you changed Geronimo configuration in any way? I've just run it on cmd with the command C

Re: Geronimo 2.1 on Windows - security warn on Geronimo start

2008-02-15 Thread Tomasz Mazan
Jacek Laskowski pisze: On Thu, Feb 14, 2008 at 11:07 PM, Tomasz Mazan [EMAIL PROTECTED] wrote: http://www.nabble.com/file/p15495845/geronimo_warn.jpg what should be translated : I'm pretty sure noone but perhaps Jarek, me and you can understand what it means. How did you get it? I'm

Re: Geronimo 2.1 - exception on startup

2008-02-14 Thread Tomasz Mazan
Donald Woods pisze: Is this from a 2.1 assembly you built or downloaded (like the 2.1 release candidate)? If it's a downloaded assembly, try to re-download it, re-extract and try again (and/or check the MD5 value after download to make sure it isn't corrupted.) Also, what JDK and OS are

Geronimo 2.1 on Windows - security warn on Geronimo start

2008-02-14 Thread Tomasz Mazan
http://www.nabble.com/file/p15495845/geronimo_warn.jpg what should be translated : I'm going to install certificate from certificate office, which ostensibly represents: Me System Windows could not confirm if certificate comes from Me. etc. Fingerprint (sha1): .. etc. Do you want to

Re: [VOTE] Geronimo Server 2.1 and Geronimo TxManager 2.1.1 Releases

2008-02-13 Thread Tomasz Mazan
The latest tranql connector for postgresql, that I'm aware of is 1.1 -- http://repository.codehaus.org/org/tranql/tranql-connector-postgresql-xa/ Is there a later version, that's been released? --kevan Hi Kevan Not exactly released, but made available by djencks last Friday, when we

Re: [VOTE] Geronimo Server 2.1 and Geronimo TxManager 2.1.1 Releases

2008-02-13 Thread Tomasz Mazan
to give notifications of fatal errors. thanks david jencks On Feb 13, 2008, at 12:03 PM, Tomasz Mazan wrote: Ok, thanks for your explanation :) Beniamin

Geronimo 2.1 - exception on startup

2008-02-13 Thread Tomasz Mazan
07:20:55,046 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName=org.apache.geronimo.framework/ j2ee-system/2.1/car?configurationName=org.apache.geronimo.framework/j2ee-system/2.1/car org.apache.geronimo.kernel.repository.MissingDependencyException:

Re: [VOTE] Geronimo Server 2.1 and Geronimo TxManager 2.1.1 Releases

2008-02-12 Thread Tomasz Mazan
Kevan Miller pisze: Mea culpa! I didn't copy the user list when I sent out this vote notice. Please checkout our Geronimo 2.1 release candidate and let us know what you think. --kevan On Feb 10, 2008, at 10:46 PM, Kevan Miller wrote: All, I've prepared a 2.1 release candidate for your

Re: How to lookup an EJB3 session bean by JNDI?

2008-02-08 Thread Tomasz Mazan
lucky lance pisze: Thank you for a quick response. I am a new learner of Geronimo. Actually my client code is, HashtableString,String env = new HashtableString,String(); env.put(java.naming.factory.initial,org.apache.openejb.client.RemoteInitialContextFactory);

Geronimo and logging to SYSLOG

2008-01-23 Thread Tomasz Mazan
Hi I've configured my server to send part of logs to SYSLOG. There's quote from server-log4j.properties log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout log4j.appender.SYSLOG.layout.ConversionPattern=%d{ABSOLUTE} %-6p

Re: Strange plug with delivering messages to MDB

2008-01-22 Thread Tomasz Mazan
Tomasz Mazan wrote: djencks wrote: On Jan 18, 2008, at 12:05 AM, Tomasz Mazan wrote: djencks wrote: Do you have a second resource adapter configured for the inbound messages to the mdb? I seem to recall someone reporting a similar problem if they sent the same message

Re: Strange plug with delivering messages to MDB

2008-01-21 Thread Tomasz Mazan
djencks wrote: On Jan 18, 2008, at 12:05 AM, Tomasz Mazan wrote: djencks wrote: Do you have a second resource adapter configured for the inbound messages to the mdb? I seem to recall someone reporting a similar problem if they sent the same message they received

Strange plug with delivering messages to MDB

2008-01-17 Thread Tomasz Mazan
I got MDB that listens to queue for messages. This MDB uses ConnectionFactory to get connection to send answer to received message. Destination is gotten from replyTo message's field. There's quote from my resource adapter's deployment plan: resourceadapter

Re: Geronimo-trunk and fresh GeronimoEclipsePlugin

2008-01-16 Thread Tomasz Mazan
Tim McConnell pisze: Hi Tomasz, when you get a chance would you try to deploy your EAR file using the latest version of the GEP from the unstable site and let me know how it goes ?? It should work now as I've finally figured out the problem you were having before. If it does not work, would

Re: Geronimo-trunk and fresh GeronimoEclipsePlugin

2008-01-16 Thread Tomasz Mazan
Tim McConnell pisze: Thanks Tomasz, that's really wonderful news. I'm still working on some of the JIRA's you've opened, but please let me know if you have any other problems. Tim, thank you for your effort to make GEP better and better. Currently I'm using pure WTP and ant to

Geronimo-trunk and fresh GeronimoEclipsePlugin

2008-01-03 Thread Tomasz Mazan
Hi I downloaded Geronimo from binaries repository and Eclipse+GeronimoEclipsePlugin using build.xml from http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk/eclipse/build.xml When I try to configure new server runtime for Geronimo-trunk I get error An incorrect version of

Deploying on Geronimo 2.0.2 using Intellij Idea 7

2007-12-20 Thread Tomasz Mazan
Hi I hot problem with deploying EJB module on Geronimo with IDEA. After deploy command, my module is installed but not started. There's no reason to not start module (DD, code - all is valid) and I'm able to start installed application using G-console. Even if I do it, Idea claims Module is not

Fresh Geronimo Eclipse Plugin build

2007-12-20 Thread Tomasz Mazan
Hi Where can I find fresh plugin build with script to download all it's dependencies ? I remember that someone has given me a link to page with instalation's procedure before 2.0.0 plugin was released, but I want to try current build. Beniamin -- View this message in context:

Re: Fresh Geronimo Eclipse Plugin build

2007-12-20 Thread Tomasz Mazan
Jacek Laskowski wrote: On Dec 20, 2007 11:08 AM, Tomasz Mazan [EMAIL PROTECTED] wrote: Where can I find fresh plugin build with script to download all it's dependencies ? I remember that someone has given me a link to page with instalation's procedure before 2.0.0 plugin was released

Re: Force to load subobjects in OpenJPA

2007-11-27 Thread Tomasz Mazan
Oh, You've just sent solution :) I should had refresh nabble page before i've post my message :) Beniamin Jacek Laskowski wrote: On Nov 27, 2007 3:45 PM, Tomasz Mazan [EMAIL PROTECTED] wrote: 1) if I use query like @NamedQueries({ @NamedQuery(name = ProductWithDeps

Force to load subobjects in OpenJPA

2007-11-26 Thread Tomasz Mazan
Hi I got one class Product which contains a few ArayLists of different subobjects. Default fetch policy is set to LAZY, but sometimes I have to use Product with its all subobjects. I'm accessing remotely to my DAO layer (using @Remote interfaces) so findBy returns detached object by

Re: Cascade in JPA - problem

2007-11-22 Thread Tomasz Mazan
statements that are doing inserts. With JPA - doing a persist (and then committing the transaction) will do the insert for you. It is hard to track any farther without being able to see your code though. Jay Tomasz Mazan wrote: Hello I got two classes @Entity class Customer implements

Re: Exception while generating WSDL in Geronimo 2.0.2

2007-10-11 Thread Tomasz Mazan
Jarek Gawor pisze: On 10/10/07, Tomasz Mazan [EMAIL PROTECTED] wrote: OK. it's working. I have to add to my classpath: openjpa spec and jar with classes that are used in webservice, but error message was not clear. Thanks Beniamin Ok, great. Yeah, the exception does not really help

Re: Exception while generating WSDL in Geronimo 2.0.2

2007-10-10 Thread Tomasz Mazan
contain any more methods annotated with @WebMethod? If not, are there any annotations on FooBean? Jarek On 10/8/07, Tomasz Mazan [EMAIL PROTECTED] wrote: Jarek Gawor-2 wrote: Tomek, I'm unable to replicate the problem so far. I'm also testing on Windows but Sun JDK 1.5.0_10-b02

Re: Exception while generating WSDL in Geronimo 2.0.2

2007-10-08 Thread Tomasz Mazan
Jarek Gawor-2 wrote: Tomek, I'm unable to replicate the problem so far. I'm also testing on Windows but Sun JDK 1.5.0_10-b02. One thing I did notice that you will need to add JPA spec jar to the classpath you pass to wsgen. What's the exact command you are executing? Jarek I

Exception while generating WSDL in Geronimo 2.0.2

2007-10-04 Thread Tomasz Mazan
I try to use jaxws-tools.bat wsgen to generate WSDL file from my web service (I've succesfully generated using com.sun.tools.ws.ant.WsGen included in Geronimo 2.0.1, but now I got exception [exec] Using GERONIMO_BASE: D:\SERVER\geronimo-tomcat [exec] Using GERONIMO_HOME:

Re: Accesing EJB3 with RemoteInterface

2007-10-01 Thread Tomasz Mazan
Jochen Zink-2 wrote: Hello, I have an EAR File containing a MessageDriven bean. This MDB makes a lookup to a Stateless Session Bean, which is deployed as external EJB-JAR File (not inside the same EAR). The lookup ends up in a NameNotFoundException. I’m not sure what I did wrong.

JPA / postgresql / foreign keys

2007-09-28 Thread Tomasz Mazan
Hi I configured in my persistence.xml to create (refresh) db schema and enable constraints / foreign keys on table. Unfortunately JPA creates only tables, with no foreign keys. Currently my persistence.xml looks like : ?xml version=1.0 encoding=UTF-8? persistence

Re: How to register a Datasource in GlobalJNDI Namespace?

2007-09-26 Thread Tomasz Mazan
Kristian Köhler-2 wrote: Hi i use a custom deployment mechanism to install my application into Geronimo 2.0.1. I have no special deployment plan for that kind of application. One component out of my application wants to access the DataSource registered within Geronimo Application

Module dependencies and classloaders

2007-09-26 Thread Tomasz Mazan
I'm trouble with module dependencies and classloaders - it's a big aggravation during development. I'll try to describe my application architecture: CoreApplication.ear - main application |- ModuleDao.jar - contains EJB3 entities and DAO layer (SessionBeans) \- ModuleServices.jar -

JPA - exception with Cascade Attach

2007-09-25 Thread Tomasz Mazan
I got three classes: @Entity @Table(name = account) public class Account implements Serializable { @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = account) private SetProduct products = new HashSetProduct(); ... } @Entity @Table(name = product) public class

Re: Problem JMS (NameNotFoundException)

2007-09-24 Thread Tomasz Mazan
Jochen Zink pisze: Hello, I'm using geronimo 2.0.1 and I try to send a simple textMessage to a JMSQueue. First, I have configured a JMS-Ressource for ActiveMQ with the geronimo console. You can see the full DeploymentPlan at the end of this email. The Connectionfactory becomes the name:

Re: classloading within an EAR file problem

2007-09-21 Thread Tomasz Mazan
djencks wrote: Despite Tomasz's optimism I don't think you can do this. In geronimo the rars and ejb jars in an ear get put in one classloader and each web-app gets put in another classloader. The ear classloader is a parent of every war classloader. The problem is that the war

Re: classloading within an EAR file problem

2007-09-20 Thread Tomasz Mazan
pieterd wrote: Hi, (using geronimo v2) I have an EAR file with 2 WAR files: bsl.war (service layer) webstore.war (application) The webstore.war calls classes within the bsl.war Is there a way I can get geronimo to load the bsl.war file first and the webstore.war file second

Re: Problem with referencing to beans from other ejb-jars

2007-09-19 Thread Tomasz Mazan
Tomasz Mazan wrote: Hello I got deployed module A (JAR) and application B (EAR). A) Contains stateless bean @Stateless(name = JmsDispatcherGate) public class JmsDispatcherGateImpl implements DispatcherGateLocal, DispatcherGateRemote { and - of course - necessary interfaces

Re: Problem with referencing to beans from other ejb-jars

2007-09-16 Thread Tomasz Mazan
David Blevins wrote: On Sep 14, 2007, at 7:52 AM, Tomasz Mazan wrote: I found, that JARFILE#BeanName allow to refer to independent jars, but... it's still not working Just to make sure, your ejb jar files are in the same ear file right? -David No, there are deployed

Setting openejb.jndiname.format via config.xml

2007-09-15 Thread Tomasz Mazan
I would like to set property openejb.jndiname.format using var/config/config.xml. Is it possibly ? What should I put into this xml doc ? thanks in advance -- View this message in context: http://www.nabble.com/Setting-openejb.jndiname.format-via-config.xml-tf4447640s134.html#a12690005 Sent

Re: Problem with referencing to beans from other ejb-jars

2007-09-14 Thread Tomasz Mazan
I found, that JARFILE#BeanName allow to refer to independent jars, but... it's still not working -- View this message in context: http://www.nabble.com/Problem-with-referencing-to-beans-from-other-ejb-jars-tf4435740s134.html#a12676579 Sent from the Apache Geronimo - Users mailing list archive

Problem with referencing to beans from other ejb-jars

2007-09-13 Thread Tomasz Mazan
Hello I got deployed module A (JAR) and application B (EAR). A) Contains stateless bean @Stateless(name = JmsDispatcherGate) public class JmsDispatcherGateImpl implements DispatcherGateLocal, DispatcherGateRemote { and - of course - necessary interfaces. ejb-jar.xml does'nt contain

Re: Two phase commit - JPA + JMS

2007-09-06 Thread Tomasz Mazan
Tomasz, I corrected the problem. I had refactored the class and forgot to update the RAR. I've updated and published new SNAPSHOTS. Please grab a new update of the XA rar. Also, set the user / password, server, etc for your postgres environment. Matt New configuration works, but

Re: Hot deployment with MyEclipse on Geronimo 2.0.1

2007-09-06 Thread Tomasz Mazan
Tomasz Mazan pisze: I think that MyEclipse is not cause of problem. When I run Geronimo using debug command, I get the same exceptions Tomasz Mazan When I change DatabasePool - different configuration, the same database - I get another strange exception but *only* if I run Geronimo in debug

Apache CXF web service and re/turning Fault

2007-09-06 Thread Tomasz Mazan
I configured Geronimo to use CXF as WS engine. If I return any object by WebMethod - all look fine. The problem is with returning Fault - I throw exception annotated with @WebFault and want Fault to contain specified faultcode and faultstring. What should I do ? No, It looks like (for php

Re: Apache CXF web service and returning Fault

2007-09-06 Thread Tomasz Mazan
it. (or possibly someone will write instructions on how to update the CXF in Geronimo with newer versions) Dan Tomasz Mazan wrote: I configured Geronimo to use CXF as WS engine. If I return any object by WebMethod - all look fine. The problem is with returning Fault - I throw exception annotated

Re: Two phase commit - JPA + JMS

2007-09-05 Thread Tomasz Mazan
/connection-definition /outbound-resourceadapter /resourceadapter /connector /ext-module I guess that it's part of geronimo-application.xml and I needn't use DatabasePool deployment plan insofar I put deps to pgres driver in preceding XML Tomasz Mazan vel

Re: Two phase commit - JPA + JMS

2007-09-05 Thread Tomasz Mazan
I've moved resourceadapter configuration to independent deployment plan and deploy DatabasePools - successfully. persistence.xml ?xml version=1.0 encoding=UTF-8? persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Hot deployment with MyEclipse on Geronimo 2.0.1

2007-09-03 Thread Tomasz Mazan
or classloader than runned from command line. I can't asnwer how it's possibly. Tomasz Mazan

Re: Hot deployment with MyEclipse on Geronimo 2.0.1

2007-09-03 Thread Tomasz Mazan
I think that MyEclipse is not cause of problem. When I run Geronimo using debug command, I get the same exceptions Tomasz Mazan

Re: Two phase commit - JPA + JMS

2007-09-03 Thread Tomasz Mazan
jencks David, I currently try to configure deployment plan to create XADataSource for my application. Could you tell me how looks Geronimo-Postgresql deployment plan for XA ? TIA Tomasz Mazan

Two phase commit - JPA + JMS

2007-08-30 Thread Tomasz Mazan
out documentation which could be helpful? regards Tomasz Mazan -- View this message in context: http://www.nabble.com/Two-phase-commit---JPA-%2B-JMS-tf4354848s134.html#a12409188 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Re: Two phase commit - JPA + JMS

2007-08-30 Thread Tomasz Mazan
David Jencks pisze: On Aug 30, 2007, at 8:05 AM, Tomasz Mazan wrote: My application uses JPA to persist data and JMS destinations to send requests to external systems. I want to make transaction using both JPA and JMS technologies. Over these I use SessionBeans as WebServices

Re: Is there any reason to use @Remote for session bean...

2007-08-28 Thread Tomasz Mazan
seen some more messages. There's no change in subject of OpenEJB jndi messages but my problem primary problem was resolved. Thank You for your help Tomasz Mazan

Re: Is there any reason to use @Remote for session bean...

2007-08-28 Thread Tomasz Mazan
interface) problems will be helpful to improve your product. Best regards Tomasz Mazan

Re: Is there any reason to use @Remote for session bean...

2007-08-27 Thread Tomasz Mazan
David Blevins pisze: On Aug 20, 2007, at 1:40 PM, Tomasz Mazan wrote: David Blevins pisze: and try to get remote SB with method this.ctx.lookup(EJBtest-1.0.jar/CustomerFacade); and get instance of org.apache.openejb.client.JNDIContext.. where is my session bean?! I think you need

Re: Is there any reason to use @Remote for session bean...

2007-08-20 Thread Tomasz Mazan
is definitely our best bet. Maybe try just log4j.logger.OpenEJB=INFO. Also check that a similar line isn't already there for any OpenEJB log cagetories. There's no more messages than this about deploy of MEJBGBean (warning). There's no jndi messages still there. Tomasz Mazan PS. Tommorow I'll

Is there any reason to use @Remote for session bean...

2007-08-17 Thread Tomasz Mazan
..if there's no global jndi context and I can't get SBean within my standalone java application client? In addition - there's no chance to run old EJB2 application with remote client on Geronimo 2.0. May I'm wrong - so, please help me to understand this feature. best regards Beniamin -- View

Getting bean from JNDI

2007-08-16 Thread Tomasz Mazan
application Best regards Tomasz Mazan