java.lang.ClassNotFoundException: org.apache.wicket.protocol.http.WicketFilter

2010-09-03 Thread x-man

hi at all,

at first sorry for my poor english.

I`m a wicket beginner and have the following problem which i could not
solve:

When i want so start my tomcat i get often the message i will post bellow.
In past it helped to delete the tomcat and install a new one. But now i
can't start my tomcat at all. :-(

It seems that he don`find the wicket souce, but why it works sometimes and
sometimes not?

Please help, what can id do?

SCHWERWIEGEND: Exception starting filter wicket.prozente
java.lang.ClassNotFoundException:
org.apache.wicket.protocol.http.WicketFilter
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:269)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:115)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:519)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
03.09.2010 10:33:18 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error filterStart
03.09.2010 10:33:18 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/hunter-tools] startup failed due to previous errors




-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/java-lang-ClassNotFoundException-org-apache-wicket-protocol-http-WicketFilter-tp2525351p2525351.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket + Guice + other framework (e.g. Jersey)

2010-09-03 Thread Johannes Schneider
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks a lot. I will take a look.


Johannes

On 09/02/2010 04:09 PM, Bas Gooren wrote:
 Johannes,
 
 yes, this is no problem, see http://code.google.com/p/wicket-guice-jaxws/
 
 Bas
 
 - Original Message - From: Johannes Schneider
 maili...@cedarsoft.com
 To: users@wicket.apache.org
 Sent: Thursday, September 02, 2010 3:58 PM
 Subject: Wicket + Guice + other framework (e.g. Jersey)
 
 
 Hi guys,
 
 I have created a webapp based on Wicket. This app uses the GuiceFilter.
 And I have also created a REST API for my application using Jersey. It
 is also using Guice.
 
 Both applications run fine in different contexts.
 
 
 Now I'd like to run both apps within one application (one Guice
 injector, one of my business objects) so that they can share all those
 memory intensive stuff.
 
 Has anybody done this? I think it should be doable, shouldn't it? But I
 really don't have an idea how I could share the modules.
 
 
 Injection: The both webapps share several of their modules, but not all.
 I think this can be solved using child injectors?
 
 Prefix: I'd like to have one prefix (e.g. api) that is used for that
 Jersey stuff. Can this be done transparently?
 
 
 Anybody done something like that? Any hints?
 
 
 Thanks,
 
 Johannes
 -- Johannes Schneider - blog.cedarsoft.com

- -
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


- -- 
Johannes Schneider - blog.cedarsoft.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMgMMRAAoJEAytD9R7Qv6dCLMIAOf0mhXV+Ynsiw3o8uuQTkDD
/ww3eCxJMkIf0lHfHyPE2n8KUnZkgdW0F+JRksf6YaK7eOjvzkEl0fgiVI6hQCFQ
Wf1EwyfzX/uGn8mdRkbxLjTu4lVg+lViVJvWhsZqHKzfNGpARnZWS/GhgPrWZHQ1
huiQrLpzMWAXAekAKZDoFTpVIxcRCIvQlqOMFIeXOxQAFnyjmXG/W4s0zaoY2tgB
5PDK/sj4vL4YsTD9Onbe4WI6veCBeO4fyGQATHUrDmKloZOjn6bXbJUWn6dT6bdP
pbJwAtdWDxY20jZwibnZoN88yiz7YPUddSqoYaCZj1UtlbaueVRKk2Kkc1j1Mo8=
=fFeh
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Radio buttons in modal window in IE6

2010-09-03 Thread Andrea Del Bene
Grafas martynas.jurkus at gmail.com writes:

 
 
 Oh, yeah, sorry, the code sample doesn't show it... Sorry about that.
 Yeah, RadioGroup has model set.

Hi, I've tried to reproduce your case in my development environment. Here's the
HTML I used for test

---
span wicket:id=modalWin
/span

button wicket:id=modalWinButtonClick me!/button

wicket:fragment wicket:id=modalContent
form wicket:id=form action=
div wicket:id=searchParam
input type=radio wicket:id=p1 
checked=checked/
input type=radio wicket:id=p2/
input type=radio wicket:id=p3/
input type=radio wicket:id=p4/
input type=radio wicket:id=p5/
/div
input type=submit value=Submit/
/form
/wicket:fragment
---

For modal window content I've used a fragment. Here's the Java code:


---
final ModalWindow modalWindow = new ModalWindow(modalWin);

Fragment fragment = new Fragment(modalWindow.getContentId(), 
modalContent,
this);

choiseGroup = new RadioGroup(searchParam, new Model());
choiseGroup.add(new Radio(p1, new Model(2)));
choiseGroup.add(new Radio(p2, new Model(3)));
choiseGroup.add(new Radio(p3, new Model(4)));
choiseGroup.add(new Radio(p4, new Model(5)));
choiseGroup.add(new Radio(p5, new Model(6)));
Form form = new Form(form, new Model());
form.add(choiseGroup);

fragment.add(form);

modalWindow.setContent(fragment);
modalWindow.setTitle(This is modal window with panel 
content.);

add(modalWindow);

add(new AjaxLink(modalWinButton){

@Override
public void onClick(AjaxRequestTarget target) {
modalWindow.show(target);
}

});
-
 
To test radio buttons submition I printed out choiseGroup model in method
onBeforeRender of parent webPage (like this:
System.out.println(choiseGroup.getModel().getObject())). 
This example seems to work even on IE6 on Windows XP.

I hope my test will help you anyway.




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: java.lang.ClassNotFoundException: org.apache.wicket.protocol.http.WicketFilter

2010-09-03 Thread Andrea Del Bene
x-man oezkanp at googlemail.com writes:

 
 
 hi at all,
 
 at first sorry for my poor english.
 
 I`m a wicket beginner and have the following problem which i could not
 solve:
 
 When i want so start my tomcat i get often the message i will post bellow.
 In past it helped to delete the tomcat and install a new one. But now i
 can't start my tomcat at all. 
 
 It seems that he don`find the wicket souce, but why it works sometimes and
 sometimes not?
 
 Please help, what can id do?
 
 SCHWERWIEGEND: Exception starting filter wicket.prozente
 java.lang.ClassNotFoundException:
 org.apache.wicket.protocol.http.WicketFilter

Hi,

it seems a problem of jar deployment. I think we need more informations about
your running environment to better understand your problem. Which version of
tomcat are you using? Where do you place wicket jar, in tomcat lib dir or in a
project dir?  





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: java.lang.ClassNotFoundException: org.apache.wicket.protocol.http.WicketFilter

2010-09-03 Thread x-man

hi thanks for your answer and sorry for the few information:

my tomcat version is 6.0, i use maven and the wicket stuff is in the local
maven repository.
I think tomcat can`t find them but why it sometimes work an sometimes not.
im thinking about to copy the wicket jar in the tomcat lib. 
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/java-lang-ClassNotFoundException-org-apache-wicket-protocol-http-WicketFilter-tp2525351p2525430.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Position in Chicago, IL

2010-09-03 Thread Amber Miller
Hello I have a position in Chicago, IL for a Java/Wicket Architect.  Take a
look at the job description and let me know if you are interested.  This is
a 6+ month gig for a client of mine.  Interviews can happen within 24 hours
of submission and phone interviews are all that is needed.  

 

Qualifications:

Hands-on experience with large-scale Enterprise Web Development using Apache
Wicket framework

Must have architected, designed enterprise web applications, led development
with Wicket

Experience with Business Process Management System, security system (such as
CA Siteminder) and Content Management Systems etc

Strong knowledge of Websphere Portal components, services and frameworks 

Must have working experience on at least three of these application
framework(such as JSF, Struts, Wicket, Stripes or Seam, Spring and Hibernate
etc) with the ability to perform analysis, design. 

Solid verbal and written communication skills are a must.  
Have developed/architected WebServices and knowledge on WebService
standards, such as WSDL, SOAP, JAX-WS 
Full development lifecycle experience from architecture through deployment. 

 

Key Responsibilities:

n   As a member of the project team, develop a transform strategy for
Windows GUI application to web portal. Responsible for the design/redesign,
development and implementation of technical solutions, incorporating
peripheral knowledge of other internal applications and related technologies
in the analysis and design. 

n   Adhere to established methodologies, standards and guidelines.

n   Ensuring that proposed technology encompass the end-to-end process
which helps business leaders see the value of their functional contributions
to the broader performance objectives for an enterprise process.

n   Understanding the business implication of process-centric IT in
striving to achieve process excellence 

 

Professional Skill Requirements:

Excellent communication skills (both written and oral)
Strong interpersonal skills 
Ability to be flexible and work analytically in a problem solving
environment. 
Attention to Details
Strong organizational  multi-tasking skills 
Strong analytical skills and thought processes

 

 

 

Thank you,

Amber Miller

Technology Software Inc

Ph: 614-442-8400 x104

Fax: 800-803-8007

www.techsof.com

Business Objects Partner

 



rendering a page for an email: org.hibernate.HibernateException: createCriteria is not valid without active transaction

2010-09-03 Thread Fernando Wermus
Hi all,
 I have coded the following to render a mail,


Application app;
try{
app=MyApplication.get();
}catch(Exception e){
app=new WicketTester().getApplication();
}
final Application app2=app;
final ExecutorService service = new ScheduledThreadPoolExecutor(1) {
@Override
protected void beforeExecute(final Thread t, final Runnable r) {
Application.set(app2);
};
@Override
protected void afterExecute(final Runnable r, final Throwable t) {
Application.unset();
}
};
service.submit(new ThreadMail(destinatarios, clazz, p));

But, I got a org.hibernate.HibernateException: createCriteria is not valid
without active transaction
when I tried to load an entity in a model to be used in the PageMail.

How can I attach the Transaction to the thread to get this working?

thanks in advance

-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus


Re: WicketRuntimeException: loginPage is already mounted for BookmarkablePageEncoder[page=class com.xxx.LoginPage]

2010-09-03 Thread Fernando Wermus
Igor,
I did what you pointed me out. However, I got a MarkupNoFoundExpcetion.

My code

 try{
 application=(WebApplication) MiSession.get().getApplication();
 }catch(Exception e){
 application=new BaseWicketTester.DummyWebApplication(){
protected void init(){

getApplicationSettings().setDefaultMaximumUploadSize(Bytes.bytes(500));
 getResourceSettings().addResourceFolder(/WEB-INF/html);
}
};
 application.mountBookmarkablePage(mensaje,
PaginaMensajeEvento.class);
 }
It says that PaginaMensajeEvento doesn't have a markup which is not true.
Actually, when I don't use this code into a separate servlet, It runs
smoothly.

thanks in advance



On Thu, Sep 2, 2010 at 6:49 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 you can create a new instance

 -igor

 On Thu, Sep 2, 2010 at 1:49 PM, Fernando Wermus
 fernando.wer...@gmail.com wrote:
  Igor,
 When I don't pass the application I got the following error
 
  RuntimeException: There is no application attached to current thread
  btpool0-3 - /messagebroker/amf
 
  This is because I need to render the emails from a different servlet. Do
 I
  have any solution for this situation?
 
  How can I get the WebApplication from a different servlet?
 
  On Thu, Sep 2, 2010 at 1:26 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
 
  you should pass a new instance of application. wicket tester inits the
  application and so it would call the init method which will execute
  the mounts - and on already initialized instance it would cause that
  error.
 
  -igor
 
  On Thu, Sep 2, 2010 at 9:13 AM, Fernando Wermus
  fernando.wer...@gmail.com wrote:
   Hi all,
  I am using wicketTester to render html for emails. I pass my
 current
  app
   to WicketTester and I get the following error:
  
   WicketRuntimeException: loginPage is already mounted for
   BookmarkablePageEncoder[page=class com.xxx.LoginPage]
  
   Which makes no sense. The Application is running and I just passing it
 to
   the WicketTester constructor.
  
   any help would be really appreciated.
  
   thanks in advance
  
   --
   Fernando Wermus.
  
   www.linkedin.com/in/fernandowermus
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  --
  Fernando Wermus.
 
  www.linkedin.com/in/fernandowermus
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus