hi marcel, we already know about issues with different url formats. e.g. in case of wls it also depends on the operating system. -> we plan to introduce a different classpath-scanner.
however, udo managed to deploy the current snapshot versions of owb and codi to websphere 6.1 (the current versions due to the new java 1.5 support) - maybe he also saw something like that and patched it. regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/8/12 Marcel Urbanek <[email protected]> > Hi Mark, > > I'm using version 1.1.0 . > > Best regards Marcel > > > > From: Mark Struberg <[email protected]> > To: [email protected] > Date: 12.08.2011 17:27 > Subject: Re: Odd Problem (FileNotFoundException) using OWB with > Websphere 7.0 on z/Os > ------------------------------ > > > > Hi Marcel! > > Let's start at the beginning: > > Which version of OWB did you use? > > txs and LieGrue, > strub > > > --- On Fri, 8/12/11, Joseph Bergmark <[email protected]> wrote: > > > From: Joseph Bergmark <[email protected]> > > Subject: Re: Odd Problem (FileNotFoundException) using OWB with Websphere > 7.0 on z/Os > > To: [email protected] > > Date: Friday, August 12, 2011, 3:20 PM > > I think this is because something > > (scannotation?) is truncating off 4 > > characters (expecting "jar:" or "zip:"), but you are > > probably getting > > "wsjar:" which leaves the "r:" at the end. > > > > Sincerely, > > > > Joe > > > > On Fri, Aug 12, 2011 at 11:15 AM, Marcel Urbanek <[email protected]> > > wrote: > > > Hi, > > > > > > I encountered an odd problem with Websphere and OWB. > > When using OWB on > > > Websphere in the Method AnnotationDB.scanUrlPath() an > > FileNotFoundException > > > occurs. > > > The reason is, that there is always a "r:" prefix on > > the jar paths that get > > > scanned. When I do a sysout(url) in the method > > ensureCorrectUrlFormat() the > > > output looks like the following: > > > > > > > > > > > > r:file:/SYS[...]/EAI_N01_jsf-showcase-2.0.29-SNAPSHOT.ear/jsf-showcase-2.0.29-SNAPSHOT.war/WEB-INF/lib/myfaces-extcdi-jsf20-module-api-0.9.0.jar > > > > > > ([...] is truncated) > > > > > > The only way i managed to get OWB running is to add > > the following code to > > > the beginning of the ensureCorrectUrlFormat() Method: > > > > > > if (url.startsWith("r:")){ > > > url=url.substring(2); > > > } > > > > > > That doesn't seem like a good solution to me. Has > > anyone a better idea how > > > to solve this issue? > > > > > > Best regards Marcel > > > > > > ________________________________ > > > RSC Commercial Services GmbH & Co. OHG, Wanheimer > > Straße 70, D-40468 > > > Düsseldorf - Sitz: Düsseldorf - Registergericht: > > Düsseldorf HRA 12655 > > > Persönlich haftende Gesellschafter: > > > C&A Retail GmbH - Sitz: Zug/Schweiz - > > Handelsregister Kanton Zug: > > > CH-170.4.010.137-5 > > > Geschäftsführer: Bart F. Brenninkmeijer, Martijn N. > > N. Brenninkmeijer, > > > Tjeerd E. van der Zee, Robert H. A. M. Smeele, Anthony > > H. Stam, > > > FRM PARTICIPATIONS S.A. - Sitz: Luxemburg/Luxemburg - > > Handels- und > > > Firmenregister Luxemburg: B 58158 > > > Verwaltungsratsmitglieder: Rafael G. E. Bogaerts, John > > Drury, Michel de > > > Groote, Johny Seré, Robert H. A. M. Smeele > > > > > ------------------------------ > *RSC Commercial Services GmbH & Co. OHG, Wanheimer Straße 70, D-40468 > Düsseldorf - Sitz: Düsseldorf - Registergericht: Düsseldorf HRA 12655* > Persönlich haftende Gesellschafter: > C&A Retail GmbH - Sitz: Zug/Schweiz - Handelsregister Kanton Zug: > CH-170.4.010.137-5 > Geschäftsführer: Bart F. Brenninkmeijer, Martijn N. N. Brenninkmeijer, > Tjeerd E. van der Zee, Robert H. A. M. Smeele, Anthony H. Stam, > FRM PARTICIPATIONS S.A. - Sitz: Luxemburg/Luxemburg - Handels- und > Firmenregister Luxemburg: B 58158 > Verwaltungsratsmitglieder: Rafael G. E. Bogaerts, John Drury, Michel de > Groote, Johny Seré, Robert H. A. M. Smeele >
