very, very, very slow start of tomcat6 car

2010-05-26 Thread Łukasz Budnik
Hi all, I have been migrating my application from G 2.1.3 to G 2.1.4 and today I have finally migrated the production environment. But I have one pretty annoying issue. In dev both G2.1.3 and G2.1.4 start Tomcat module in a reasonable time. But in production the start time is always ~2

Re: very, very, very slow start of tomcat6 car

2010-05-26 Thread Łukasz Budnik
Hi Kevan, You were right! It was entropy. Now it looks much, much better: Module 25/68 org.apache.geronimo.configs/tomcat6/2.1.4/car started in .851s thanks! Łukasz On 26 May 2010 15:40, Kevan Miller kevan.mil...@gmail.com wrote: On May 26, 2010, at 9:03 AM, Łukasz Budnik

Re: issue deploying webapp with security realm

2010-05-25 Thread Łukasz Budnik
Hi, In general something is wrong with security in G 2.2. I have created two JIRAs (GERONIMO-5010, GERONIMO-5011) for security related bugs (and as in your case, both things were working in G 2.1.x). All is left is to wait for a new 2.2.x release. Hope we get it soon. Łukasz On 25 May 2010

G2.2 with Tomcat (and Axis) - WS-Addressing not working

2010-01-09 Thread Łukasz Budnik
Hi there, I'm migrating my system from G2.1.3 to G2.2. Both Tomcat based. While migrating I decided to add WS-Addressing feature to all my Web Services. But on G2.2 with Tomcat (Axis) it does not work. I downloaded G2.2 with Jetty 7 (and CXF) and the very same Web Service (the same archive,

Re: CLIENT-CERT working but how to make it work with auth-constraint?

2009-12-19 Thread Łukasz Budnik
Hi David, I'm using geronimo's default server wide realm. I added the following user: CN=Lukasz Budnik,OU=Unknown,O=Unknown,L=Unknown,ST=Unknown,C=PL. I assigned the above user to admin group. And here is my geronimo-web.xml: security-realm-namegeronimo-admin/security-realm-name

JAX-WS and external classes

2009-10-22 Thread Łukasz Budnik
Hi all, I'm using G 2.1.3 and I have a following problem with JAX-WS Web Service. I have a Web Service which expects an custom object, say Person or Animal: @WebMethod public String sayHello(Person person) { ... } This class resides in org.xyz.interfaces package and is external to the

Re: class loading: LinkageError: loader constraint violation

2008-12-16 Thread Łukasz Budnik
exception during deployment. Then I simply add: non-overridable-classes filterorg.apache.axiom./filter /non-overridable-classes to my descriptors. And it works. But it is a little bit tricky. thanks and best regards! Łukasz 2008/12/15 Łukasz Budnik lukasz.bud...@gmail.com: Hi Jacek

Re: class loading: LinkageError: loader constraint violation

2008-12-15 Thread Łukasz Budnik
of the code is built with the same version of Axis2 as what is in Geronimo. Jarek On Mon, Dec 15, 2008 at 2:12 PM, Łukasz Budnik lukasz.bud...@gmail.com wrote: Hi all, I'm exposing some methods of my SLSB as WebServices (@WebService, @WebMethod) etc. All works. Recently I have added

Re: JNDI Context Lookup Help

2008-11-18 Thread Łukasz Budnik
Hi Mark, I had similar problems with Geronimo 2.1. You can check out my simple method for traversing JNDI: private void traverse(Context ctx, String path) throws NamingException { // lists all contents of current context NamingEnumerationBinding ne = ctx.listBindings(); while (ne.hasMore())

Re: jndi names changed in 2.1?

2008-09-23 Thread Łukasz Budnik
to fetch JMS resources dynamically from InitialContext? best regards Łukasz 2008/9/23 David Jencks [EMAIL PROTECTED]: On Sep 22, 2008, at 2:34 PM, Łukasz Budnik wrote: Hi all, I've been using Geronimo 2.0.2 some time ago and I was able to access remote SLSB this way

jndi names changed in 2.1?

2008-09-22 Thread Łukasz Budnik
Hi all, I've been using Geronimo 2.0.2 some time ago and I was able to access remote SLSB this way: DataWeaver2EnterpriseModuleProxy.jar/ModuleProxyImpl/org.xh.dataweaver.interfaces.ejb.ModuleProxy now I'm using Geronimo 2.1 and I'm trying to access remote bean in the same manner: Properties

Re: pre-compiled JSPs throw exceptions

2008-04-05 Thread Łukasz Budnik
Hi Kevan, On 04/04/2008, Kevan Miller [EMAIL PROTECTED] wrote: I have some fuzzy memory of somebody reporting the same slow JSP compilation performance problem, trying it myself, and not seeing the problem. I couldn't find anything searching back through email, though (as i say it's a fuzzy

[Solution] Ant and pre-compiled JSPs

2008-04-05 Thread Łukasz Budnik
Hi All, If you use Ant to build your project you can use described below solution to pre-compile JSPs. It's extremely useful when you use complex JSP pages, for example pages with MyFaces + Tomahawk + Tomahawk Sandbox load much faster! First of all, you cannot use standard JspC task as

Re: SLSB transactions: First invocation throws exception, successive calls don't

2008-04-04 Thread Łukasz Budnik
Hi Dadiv, On 31/03/2008, David Jencks [EMAIL PROTECTED] wrote: -- use xa-transactiontransaction-caching/xa-transaction in the jta ds plan. If what I think is happening is happening, this would either fix the problem or produce a different error. I have it already in my ds plan. -- use

pre-compiled JSPs throw exceptions

2008-04-04 Thread Łukasz Budnik
Hi All! I'm trying to run a web application that has pre-compiled JSP pages. I'm doing so because Geronimo's on the fly JSP compilation takes ages compared to building and deploying whole JEE application from the scratch :( For example a JSP page (with JSF: MyFaces + Tomahawk + Tomahawk

Re: SLSB transactions: First invocation throws exception, successive calls don't

2008-03-31 Thread Łukasz Budnik
Hi David, Now on startup, openjpa is likely to do a bunch of metadata analysis of the database, including possibly creating the tables etc for you, but I think at least checking that the mapping it has will work. If it creates the tables, it first looks for a non-jta datasource; if there

SLSB transactions: First invocation throws exception, successive calls don't

2008-03-29 Thread Łukasz Budnik
Hi All! I have a very simple EntityFacade SLSB. It basically provide EntityManager methods plus some additional useful operations, and logging. I have a method EntityFacade.executeNamedQueryAsList() which works fine except one case - in whole system I have one backing bean which behaves quite

Re: transactions within MDB

2008-03-27 Thread Łukasz Budnik
Hi David, On 25/03/2008, David Jencks [EMAIL PROTECTED] wrote: You appear to want selective bits of the ACID properties of transactions :-) Ups.. didn't know that onMessage is a single transaction ;) It looks like task is a persistent status object with some information about other objects

transactions within MDB

2008-03-25 Thread Łukasz Budnik
Hi All! I have a problem with transactions within MDB. The thing is my MDB executes quite large, time-consuming tasks which can take up to few minutes. My onMessage looks something like this: // object message has a task (task has unique ID - known to the end-user) onMessage(ObjectMessage

G2.1: application scoped security realm database pool

2008-03-10 Thread Łukasz Budnik
Hi All! I want to create an application scoped security realm that uses an application scoped db pool. There is a very weird G2.1 behaviour. I have chosen from the http://localhost:8080/console/portal/Security/Security%20Realms, new Database Realm, from the drop down list I have picked up my

MDB afterDelivery and LocalAndXATransaction exception

2008-03-09 Thread Łukasz Budnik
Hi All! I'm using G2.1. I have simple MDB that invokes a session bean, session bean uses an entity manager. The stub looks like this: public void onMessage(Message message) { // do something in MDB... someOtherBean.doSth(); // do something in MDB... someOtherBean.doSthElse(); // do something

Re: G2.1 class loader error

2008-03-08 Thread Łukasz Budnik
) and including either inverse-classloading/ or hidden-classes filterorg.jaxen./filter hidden-classes near the end of the environment element in your geronimo plan. thanks david jencks On Mar 6, 2008, at 12:55 AM, Łukasz Budnik wrote: Hi All! I'm using G2.1 and I have

G2.1 class loader error

2008-03-06 Thread Łukasz Budnik
Hi All! I'm using G2.1 and I have a very weird class loader problem. My application uses JDOM and Jaxen. Jaxen is by default shipped with G2.1, I had only to add JDOM jar into G2.1 repository. I have added proper dependencies into my openejb-jar.xml. The thing is that it looks like Geronimo

Re: Geronimo 2/Log4j question

2008-02-27 Thread Łukasz Budnik
Hi! I had the very same problem with G2.0.0, currently I'm using G2.1 and to tell the truth I don't know whether this issue still exists because I use a very simple work around that works always and for my case is sufficient. Simply in WAR create a new class, implement the ServletContextListener

G2.1.0 problem with OpenJPA

2008-02-20 Thread Łukasz Budnik
Hi! There is some kind of error in OpenJPA used in G 2.1.0 or... in DB2 Tranql wrapper. Let's say I have a very simple entity class with following id field: @Id @SequenceGenerator(name = MessageSeq, sequenceName = message_seq) @GeneratedValue(strategy = GenerationType.SEQUENCE, generator =

Re: Unable to obtain physical connection to DB2XA

2008-02-12 Thread Łukasz Budnik
I see now: http://issues.apache.org/jira/browse/GERONIMO-3440 It's a bug and still is open. Fix Version is 2.1.1. so I'm waiting for the official release of new G. best regards Łukasz On 12/02/2008, Łukasz Budnik [EMAIL PROTECTED] wrote: Hi All! There are many IBM employees among commiters

Re: Unable to obtain physical connection to DB2XA

2008-02-12 Thread Łukasz Budnik
-connector-db2-local-1.2-20080212.204755-1.rar works! So both tranql db2 wrappers work ;) best regards, sleep well ;) Łukasz On 12/02/2008, Łukasz Budnik [EMAIL PROTECTED] wrote: Hi David! I've tested both wrappers. here are the results: http://snapshots.repository.codehaus.org/org/tranql

Re: Unable to obtain physical connection to DB2XA

2008-02-12 Thread Łukasz Budnik
Hi David! I've tested both wrappers. here are the results: http://snapshots.repository.codehaus.org/org/tranql/tranql-connector-db2-local/1.2-SNAPSHOT/tranql-connector-db2-local-1.2-20080212.204755-1.rar brand new exception: Deployment failed:

Unable to obtain physical connection to DB2XA

2008-02-12 Thread Łukasz Budnik
Hi All! There are many IBM employees among commiters, so I hope they can help with this problem ;) I'm migrating from G2.0.0 to G2.0.2. As a data source I'm using DB2 v9. Data source is deployed as application-scope. In Geronimo 2.0.0 I was using JDBC API, in Geronimo 2.0.2 I'm using JPA.

extremely annoying G2.0.2 behaviour

2008-02-11 Thread Łukasz Budnik
Hi All! I'm deploying an enterprise application that has an application-scoped MDB. Every time I deploy a new version of my application I need to restart whole Geronimo. If not, application throws this error: Caused by: javax.naming.NameAlreadyBoundException at