-
1. Re: JBoss Appserver:Feel like quitting
alesj Aug 26, 2012 1:26 PM (in response to adi4444)Even though such post doesn't even deserve reply, perhaps not even reading, here I go ...
Kindly no guess works plz.
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver from [Module "deployment.BookShopContext.war:main" from Service Module Loader] The problem is related to class loading at the same time connecting with DNS name ,i have on my local system.
Amazing ... when reading this, the first thing that came to my mind (among others ...): "to cast the first stone" --> http://www.phrases.org.uk/meanings/385600.html
But it did made me laugh, are you really expecting that from non-existing description on what you're doing, but just a single exception, that there will be no guessing involved?
Could be, if there are some mind readers among our users. ;-)
This is for Infinispan forums, but I'm sure you'll see how to apply it to any JBoss forum.
* https://community.jboss.org/wiki/HowToAskAForumQuestion
btw: remember, JBossAS comes for *free*, and you are always welcome to contribute,
writting the stuff above is the easiest, actually contributing is the tricky part
;-)
-
2. Re: JBoss Appserver:Feel like quitting
nickarls Aug 27, 2012 2:48 AM (in response to adi4444)Ales pretty much summed it up but some general guidelines (JBoss or not)
1. Hire at least one person with experience in the field
2. Start simple (fresh AS starts up? simple example deployes?), work from there
3. When you hit problems, google around. If nothing comes up, post full stack traces and explanations what you've already tried
-
3. Re: JBoss Appserver:Feel like quitting
adi4444 Sep 8, 2012 11:42 AM (in response to nickarls)>>btw: remember, JBossAS comes for *free*, and you are always welcome to contribute,
>>writting the stuff above is the easiest, actually contributing is the tricky part
Many ailments come as free including viral fever.You wont buy them though medicines are available in market.
Regarding hiring we have to think first to stay with the product.
I mean drastic changes without caring for users.
If problem is not well defined.
This is a typical jdbc code failing to connect to dns of msaccess.
<%
Connection con=null;
HttpSession r=request.getSession();
String de=(String)r.getAttribute("var4");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:MyData","","");
PreparedStatement st=con.prepareStatement("Update Admin set Password= ? where Name='Admin'");st.setString(1,de);
st.executeUpdate();
st.close();
%>If you believe in reading only praises for you then you may need to change your view after release of jboss app 7 because
you have landed me in biggest trouble of my life.Dont know how many others agree to it.
I cannot change my code because we have 10,000 sources where we need to do any kind of change.
Pl suggest.
-
4. Re: JBoss Appserver:Feel like quitting
nickarls Sep 8, 2012 12:51 PM (in response to adi4444)I don't think you'll get many praises if you have 10000 JSP sources doing direct DB access ;-)
I have a hard time believing you have that much code written when nothing apparently works for you. And you still don't give us any error messages to go on.
And the little code we see is apparently partly pasted because the try block isn't terminated etc.