Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Yucca Nel
Either that classis part of a lib that must be included in your WEB-INF/lib or in your $CATALINA_HOME/lib directory or it needs to be included in your zipped up web app(.war). -Original Message- From: Brian Braun Sent: Thursday, May 19, 2011 5:16 PM To: Tomcat Users List Subject:

Fw: Tomcat manager fails and can't tell why.

2011-04-12 Thread Yucca Nel
From: yucca...@hotmail.com Sent: Tuesday, April 12, 2011 4:45 PM To: Tomcat Users List Subject: Tomcat manager fails and can't tell why. Hello Tomcat is playing games and I donno why. I copy my tomcat-users.xml to production and use credentials(tomcat username and password tomcat) As

Re: Tomcat manager fails and can't tell why.

2011-04-12 Thread Yucca Nel
: André Warnier Sent: Tuesday, April 12, 2011 4:57 PM To: Tomcat Users List Subject: Re: Fw: Tomcat manager fails and can't tell why. Yucca Nel wrote: From: yucca...@hotmail.com Sent: Tuesday, April 12, 2011 4:45 PM To: Tomcat Users List Subject: Tomcat manager fails and can't tell why. Hello Tomcat

Re: Tomcat manager fails and can't tell why.

2011-04-12 Thread Yucca Nel
Indeed :D, Seems to be an issue when I add an ampersand to the password! -Original Message- From: David kerber Sent: Tuesday, April 12, 2011 5:07 PM To: Tomcat Users List Subject: Re: Tomcat manager fails and can't tell why. On 4/12/2011 11:04 AM, Yucca Nel wrote: I do

Re: Tomcat manager fails and can't tell why.

2011-04-12 Thread Yucca Nel
To: Tomcat Users List Subject: RE: Tomcat manager fails and can't tell why. From: Yucca Nel [mailto:yucca...@live.co.za] Subject: Re: Tomcat manager fails and can't tell why. Seems to be an issue when I add an ampersand to the password! Which is not an alphanumeric character, contrary to your

Re: Maven 2 configuration for JSF2 compatible version of tomcat plugin

2011-04-08 Thread Yucca Nel
I was able to resolve this issue thanks to: http://stackoverflow.com/questions/3714080/tomcat-7-maven-plugin Very useful and once again indicating why maven sux... this type of docu,emtation should be expected to be found with the plugin grr -Original Message- From: Yucca Nel

Maven 2 configuration for JSF2 compatible version of tomcat plugin

2011-04-07 Thread Yucca Nel
Hello, Maven is extremely difficult to grasp when looking for appropriate documentation. My builder (IDEA) has excellent maven support and I am trying to create a JSF2/maven project I attempt to use the cargo maven plugin as documented, but it would appear that this requires me to have

Re: Maven 2 configuration for JSF2 compatible version of tomcat plugin

2011-04-07 Thread Yucca Nel
instance be running before using mvn tomcat:deploy from CLI? -Original Message- From: Yucca Nel Sent: Thursday, April 07, 2011 1:57 PM To: Tomcat Users List Subject: Maven 2 configuration for JSF2 compatible version of tomcat plugin Hello, Maven is extremely difficult to grasp when

Re: problems at thejarbar.org

2010-05-31 Thread Yucca Nel
fix is to add the following properties to your JDBC url: autoReconnect=true reconnectAtTxEnd=true Add them to the end of the URL, connected with ampersands. I hope this gets you up and running. . . . . . just my two cents /mde/ --- On Sun, 5/30/10, Yucca Nel yucca...@live.co.za wrote: From

problems at thejarbar.org

2010-05-30 Thread Yucca Nel
The following is becoming a common and serious problem and I am unable to find a google solution for it... I have never seen sych an error and it does not appear to be common enough to get many google hits but when it happens, no one is able to register at my site... Stck trace: Caused by:

Re: problems at thejarbar.org

2010-05-30 Thread Yucca Nel
, 2010 5:54 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: problems at thejarbar.org would this help? http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html#Common%20Problems On 5/30/2010 10:08 AM, Yucca Nel wrote: The following is becoming a common

Re: problems at thejarbar.org

2010-05-30 Thread Yucca Nel
To: Tomcat Users List users@tomcat.apache.org Subject: Re: problems at thejarbar.org would this help? http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html#Common%20Problems On 5/30/2010 10:08 AM, Yucca Nel wrote: The following is becoming a common and serious problem and I am

Re: problems at thejarbar.org

2010-05-30 Thread Yucca Nel
I have found following hibernate property will this shelp? no API docs in inellij for this. Could someone explain use? -- From: Yucca Nel yucca...@live.co.za Sent: Sunday, May 30, 2010 7:53 PM To: Tomcat Users List users@tomcat.apache.org

THANK YOU ALL for help

2010-05-28 Thread Yucca Nel
thejarbar.org is up but has one final bug that I don't understand as this works on my development rig. I am using container managed security in two places Hello all abd thank you for all te amazing help. thejarbar.org is now up ans running /it took me a bit longer to get things working

again thank you

2010-05-28 Thread Yucca Nel
this was my first website ever so you all deserver heaps of thank you.

Re: sneaky JDBC connection (was: THANK YOU ALL for help)

2010-05-28 Thread Yucca Nel
Hello and thank you... As a matter of interest there remains a bug that I was unable to get on top pf during development. This minor bug involves loggung out of my application where I need to refresh the page to show that the user has been logged out. The following were tried but failed

Re: stuck confused an need help please

2010-05-25 Thread Yucca Nel
user each time and get same exceptions! Each time the new user is given all privileges. -- From: Yucca Nel yucca...@live.co.za Sent: Monday, May 24, 2010 9:19 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: stuck confused an need help

Re: stuck confused an need help please

2010-05-25 Thread Yucca Nel
/10 at 11:52 PM, Yucca Nel yucca...@live.co.za wrote: Could someone please help me understand what thia stack trace is saying? catalina.log File Type: ASCII English text, with very long lines INFO main org.apache.catalina.startup.Catalina - Initialization processed in 875 ms INFO main

Re: stuck confused an need help please

2010-05-25 Thread Yucca Nel
hello and than you. I will spend next few hours fixing this. I need to fix hibernate catalog too as it is still trying to create tables in my test datatabase probably because catalogs are defined for test database in entity hbm.xml mappings? Do these mappings ususally go in the WEB-INF

virtualbox processors

2010-05-25 Thread Yucca Nel
anyone care to enlighten me if the amount of processors assigned to guest in virtualbox go according to virtual or not? IOW does assigning 2 processors mean that I am assigning 2 cores or 2 virtual cores? In a quad core what ia optimal for a guest? Many many thanks and didn't mean to post

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
confused an need help please On Mon, May 24, 2010 at 11:37 AM, Yucca Nel yucca...@live.co.za wrote: I have been getting mysql SELECT privilege denied exception even though user has all access to database. There would seem to be a contradiction between the above statement and the first error

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
I forgot to mention I am using myswl 5, and tomcat 6 -- From: Yucca Nel yucca...@live.co.za Sent: Monday, May 24, 2010 9:00 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: stuck confused an need help please yes but I don't know why

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
environments because I can not configure mysql to mimic my development environment because every name on the server has a stupid name prepended to it. -- From: Yucca Nel yucca...@live.co.za Sent: Monday, May 24, 2010 9:06 PM To: Tomcat Users List users

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
Users List users@tomcat.apache.org Subject: Re: stuck confused an need help please On Mon, May 24, 2010 at 12:00 PM, Yucca Nel yucca...@live.co.za wrote: The credentials I am providing sre 100% correct Not according to the log file you sent. Are you saying that you have successfully logged

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
Oh and my hosting provider sent me a snipped of the cli where they logged in with my credentials so that is not the issue -- From: Yucca Nel yucca...@live.co.za Sent: Monday, May 24, 2010 9:14 PM To: Tomcat Users List users@tomcat.apache.org

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
that we may close this ticket. Best regards, DailyRazor TechSupport Team. Ticket Details === Ticket ID: IWI-526778 Department: Technical Support Dept. Priority: High Status: Waiting for confirmation -- From: Yucca Nel yucca

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
Perhapa somwonw can recommend me another hosting provider (will gladly refer them) and one where they don't add silly prefix names o everything done in mysql? -- From: Yucca Nel yucca...@live.co.za Sent: Monday, May 24, 2010 9:19 PM To: Tomcat

Re: stuck confused an need help please

2010-05-24 Thread Yucca Nel
hassan.schroe...@gmail.com Sent: Monday, May 24, 2010 9:23 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: stuck confused an need help please On Mon, May 24, 2010 at 12:11 PM, Yucca Nel yucca...@live.co.za wrote: Perhaps the real issue herw for mr personally (and I hope anyone using

Re: HELP with my first webapp thats live!

2010-05-20 Thread Yucca Nel
with my first webapp thats live! Yucca Nel wrote: I am waiting on a book I ordered a while ago related = to JSF but they take about a month to get here from Amazon. Try this : http://www.lmgtfy.com/?q=jsf+tutorial

Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread Yucca Nel
Here is th most basic layout of my table banner that uses outputlink tgs. on my development rig each link works 100% each time I click it. %@ taglib prefix=h uri=http://java.sun.com/jsf/html; % %@ taglib prefix=f uri=http://java.sun.com/jsf/core; % %-- Created by IntelliJ IDEA. User: owner

HELP with my first webapp thats live!

2010-05-19 Thread Yucca Nel
I am waiting on a book I ordered a while ago related = to JSF but they take about a month to get here from Amazon. During = development my application contained no bugs during user case testing.I = am now seeing issues related to a graphic table banner that uses a few = commandlink jsf tags that

help with hibernate (Iknow it's off topic)

2010-05-17 Thread Yucca Nel
but the following forums seem dead. I am horrified by the following code causing a untime exception because I want to make sure hibernate session is closed but even though the session is null, it appears to be open still? finally { if(session!=null){

link for tomcat image to be used in hyperlink image?

2010-05-16 Thread Yucca Nel
Are there any tomcat images that I can use to link to apache tomcat?

Re: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Yucca Nel
I am not too sure on this, but it could be because runtime exceptions are usually avoidable and perhaps therefore you need to deal with such errors beforehand(higher up in the stack) and throw custom exceptions. It doesn't sound like good coding standards(what you are doing anyway). If you are

Re: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Yucca Nel
accept hotmail) if such logic applies) and it is the job of the view to find incorrect emails as soon as possible to avoid an expensive rountrip for the sake of a user using the application. -- From: Yucca Nel yucca...@live.co.za Sent: Wednesday

how to invalidate a user session properly?

2010-05-12 Thread Yucca Nel
Currently I need to fire my jsf command button twice to get the logic behind it to invalidate the session correctly as follows: public String logout(ActionEvent ae) throws IOException, ServletException { HttpServletRequest req= (HttpServletRequest)

adding transport gauruntee ti web.xml issues

2010-05-12 Thread Yucca Nel
In tomcat 6 I am bringing down the container when asking for confidential RESOURCE. iS THERE A REASON FOR THIS? CONTAINER AND RESOURCE WORK FINE LIKE THIS... security-constraint web-resource-collection web-resource-nameloggedInUser/web-resource-name

invalidate a session twice to log out user? Why?

2010-05-10 Thread Yucca Nel
My command button only logs out the user on a secondt click, is there a reason? I am using tomcat 6 as follows: jsf... h:commandButton rendered=#{request.userPrincipal!=null} action=#{logoutForm.logout} value=#{uOptMsg.logOut}/h:commandButton and in my backing bean ... public String

Re: Tomcat and openjpa javaagent

2010-05-10 Thread Yucca Nel
geronumolibs need a jee container to function otherwise the classes will never be instantiated. Use hibernate as a possible workaround -- From: n0weak n0w...@gmail.com Sent: Monday, May 10, 2010 11:57 AM To: users@tomcat.apache.org Subject: RE:

jsf FORM based login?

2010-05-09 Thread Yucca Nel
Can this be done? What values I use in the form so that security sevlrt find values it needs? Additionally, is there a way to access the bean in tomcat that stores the user sessions so I can do an EL to display current logged in user by user name? I am using tomcat 6 and jsf 1.2 Many thanks

Almost figured out how to satisfy container and managed bean login.

2010-05-09 Thread Yucca Nel
I have a double login requirement because I need some finer detals that tomcst's container authentication does not seem to provide. I need a way to atore username in business logic scope when logged in (mainly just the username) my current solution is not working as follows: I submit action to

how does declaritive xml security work?

2010-05-07 Thread Yucca Nel
I am finishing up my wb app and am wondering if I will have to manually add my user riles to users.xml? This is not verbose for me as I am aware how the mappings work but would like to know if this is the norm? I am thinking along the lines of: 1) I mus log in as admin and view table of all

help with hosting options and security

2010-05-07 Thread Yucca Nel
I need some help in understanimg how I will set up container managed security with a host? The tomcat security examples all require that I modify serve.xml but how will I do this in production? As a bonus can anyone recommend a host with loads od support as this will be my first live webapp?

interesting dillemma with h:inputsecret

2010-05-05 Thread Yucca Nel
it would appear that the entity ben that sets the password entered into this form tag may not accept a String as it's param as I keep getting illegal argument exception. Can anyoe advise on how I rectify? -- From: André Warnier a...@ice-sa.com

Hibernate validator in webapp?

2010-05-04 Thread Yucca Nel
Anyone can explain if I can use hibernate validator in tomcat 6 webapp? Current use case tests are not failing using validator annotations but is it because it will only work in EE container?

JPA privider in tomcat wbapp

2010-05-03 Thread Yucca Nel
I wish to use JPA RESOURCE _LOCAL in my tomcat webapp, does tomcat have a default JPA provider I can use in perssistence.xml?

please hwlp with hibernate strategy

2010-05-01 Thread Yucca Nel
I am planning on using hibernate (1st time) in tomcat webapp. It would appear that it is common to use hibernate util class to load the session factory but I have yet to see this done using Servlet ContextListener. I have also only seen very bad example where someone used hibernate directly in

h:outputlink faulty?

2010-04-30 Thread Yucca Nel
I ask because new requests are nor bebing created yet yesterday they were. Lots of errors today if mwnu banner gets clicked twice. I wa under impression that outpitlink started a new request?

Re: jsp/tomcat and linux

2010-04-30 Thread Yucca Nel
Hello, I am busy doing a personal website where I plan to showcase how to setup the iltmate portable Java development environment. Tomcat an jboss are no doubt the best server implementations I can write up a few opinions on major advantages of tomcat an JSP or JSF and even go one better

getting servlet context in JSF?

2010-04-29 Thread Yucca Nel
Hello, is it possible to gain access to servletcontext from JSP using faces or servlet EL? I need to gain access to resources in WEB-INF and creating a servlet is too verbose if there is an existing mechanism to get resource using faces or servlet expression language. regards, Yucca

should I serialize?

2010-04-29 Thread Yucca Nel
In my first appliaction that would like to go live, II would like to know if my webapp needs serialization as I plan to have everything in a single war an deployed on tomcat with hosting provider. This does not sound like a case where objects will be serialized there will however be a RDBMS.

conflict in var name with jsf includes?!

2010-04-28 Thread Yucca Nel
Is it poillegal to use same bundle var in an included jsf fragment because it seems to result in unrendred text when doing so?

Re: Classpath for JSP

2010-04-27 Thread Yucca Nel
Try ensuring that no conflicts from duplicate libs in WEB-INF/lib sometimes libs are already provided by container and container will not be able to resolve which of the libs to use. -- From: Tobias Crefeld t...@cataneo.eu Sent: Monday, April 26,

how to link from a jsf to a jsf to form a new request?

2010-04-19 Thread Yucca Nel
my jsf is not getting rendered on a request from a linkable image using both graphicimage and outputlink. I suspect that outputlink does not start a new request and this is the cause? Should I be using command link because this is not a formand only a image banner with some image links.

Re: deploymant failure with jsf

2010-04-18 Thread Yucca Nel
Many thanks, I resolved issue this morning and was my own misunderstanding or prefix and suffix mappings in jsf. Many tutorials(and this was my first jsf project don't mention when they forward a request in index.jsp to page-y.jsf that page-y is in fact a file whith.jsp and and not jsf

Re: loading properties file from WEB-INF instead of WEB-INF/classes

2010-04-18 Thread Yucca Nel
props file can be placed in src package and then placed along with classes in the Web-INF directory when compiling with the destination flag .This method has been used since jdk 1 for internationalization and is understood by new and old devs. On a side not perhaps someone can help me with a

deploymant failure with jsf

2010-04-17 Thread Yucca Nel
over the last four days deployment continues to fail of my simple war that I set up to get to familiar with jsf. First I will stress that I am using windows 7 and the problem occurs withboth majorra and myFaces version 1.2 andboth tomcat 6.0.2 and 6.026 my war ir correctly laid out and contains