Weblogic could not find class in WEB-INF->classes directory - weblogic9.x

I have a very weird problem.That my web project deployed to the Weblogic 10.0,Monday afternoon,and every thing works fine.But the next day morning, i checked the application, it reported could not find class that i write myself below the WEB-INF->classes directory.
I also use ant to build my project,But the same war file works on Weblogic10.3 and Tomcat5.5.So it may be the Weblogic 10.0's issue.But i also test it in another environment which have Weblogic 10.0, and it could not work too.
So could anyone can help with it ? I work a whole day yesterday to figure this out.
Even change the JDK to recompile the code and war file.
Please Help or leave something that helps, Thanks!

i finally figure the issue out. That cause the jdk version matters.
The annotation "#override" in jdk1.5 was not supported as in jdk1.6.
And the Weblogic10.0 still use the jdk1.5, so it matters.

Related

I'm having trouble with tomcat 8 at my server

I'm having a problem with my Application. At my local machine it works fine, but when I upload it to the server (runs Tomcat 8 with JDK 8) it doesn't work. And there's nothing in the logs.
I need some help, because I don't know what's happening.
You should provide more details, at least regarding how your deployment is made. Do you copy a .war built with maven in the /webapps directory ? What command line do you use to start your server ? Is the .war getting correctly exploded ? Or do you simply copy classes in a directory under /webapps ?
I'll provide more info (and hopefully a solution) once the post is clarified :)

How to install Visual Paradigm on Netbeans?

I'm following the instructions here but it seems not to work. I'll contact the developer, but wonder if someone has been able to make it work somehow.
The installation process is completed, but Netbeans doesn't see the plug-in. I assume it is deployed incorrectly.
Not sure how it got fixed but suddenly upon starting the IDE an update for the plugin showed up and it started working afterwards.

Intellij and Apache Tomcat not updating

I have a project going on for a couple of months now using a Spring MVC framework. For developing I am using an Apache Tomcat 8.0.17 with an exploded war file. Everything worked well since yesterday. Now when I change my Java Files the changes are no longer visible. I can even throw runtime exceptions and stuff like that (I always restart the tomcat server). The only way to "update" my code is to rebuild the whole project (Build --> Rebuild Project) which is quite time consuming and very annoying.
I did not change anything in the configuration nor updated Intellij IDEA or the Tomcat Server.
I could fix this by manually deleting all the files in the following folder:
%userdir%/.IntelliJIdea14/system/tomcat
After a full rebuild the updateing process works perfectly again.
Use this is VM Options:
-Dcatalina.home=%tomcat_folder% -Dwtp.deploy=%tomcat_folder%/webapps -Dcatalina.base=%tomcat_folder%

Jruby 1.7.x compatibility with Warbler gemjar

I have an application using JRuby 1.6.7, Ruby 1.9.2, Rails 3.1.3 and Warbler 1.4.0.beta2
For a while now, I have been trying to update the application to use JRuby 1.7.x. Every time I tried (with versions 1.7.3, 1.7.4, and most recently 1.7.6) I would get the following error:
org.jruby.rack.RackInitializationException: No such file or directory - /home/production/var/tmp/Jetty_0_0_.war/webapp/WEB-INF/lib/gems.jar!/gems/activesupport-3.1.3/lib/active_support/locale/en.yml
After some help from this question here: Warble not including active support locale files, pin pointed that that issue was with the warbler configuration in my application. We had enabled the following configuration:
config.features = %w(gemjar executable compiled)
Specifically, the gemjar feature was the one causing the issue. With that feature disabled, everything works fine (the WAR deploys perfectly)
I am wondering, if anyone else has run into this, or if anyone knows what the issue might be?
And then more specifically, what are the disadvantages to disabling the gemjar feature of Warbler? From what I can tell, there shouldn't theoretically be anything devastating by disabling it... but I may be overlooking something.
(I do also wonder if the full warbler 1.4.0 release might fix this... but I can't find anything about when a release might be coming out)
there are none - actually running a .war with gemjar might have issues on some servers (esp. if they do not expand the deployed .war, since then it's quite hard to reference files/resources packaged in a .war while still inside a .jar). on the other hand it should roll fine if things are expanded (even with gemjar) ...
you should definitely report this with Warbler's repository (if not reported already).
it should not be hard to fix - likely a one liner, I know a PR would be most welcome :)
NOTE: on the other hand if it worked in a previous JRuby and updating 1.7.x is the issue, than it might be a "regression" on JRuby's side and they might actually fix this if they knew about it ...

Netbeans 7.2 not reflects modification on html, jsp pages

Recently i moved from netbeans 6.9 to Netbeans 7.2, while working on 6.9, i have handy functionality of after deployed my project if i do modifications in html or jsp pages i can see when i refresh the page in browser. But while using 7.2 it's not available, so each time i need to build, and deploy for changes get updated.
So i gotta few suggestions like
1)
Check->Compile on save in project properties
Uncheck->Deploy on save in project properties, but still it's not working.
Any idea what i have missed.
Thanks in advance.!
I must say this scenario works fine for me - I don't see any problem. What kind of project are you using - Ant-based or Maven-based? The best thing would be if you can file a P2 issue in the netbeans.org bug database, so we can investigate. Thank you.
This happened to me as well. I tried renaming the project to a new name not the project folder and re run. It worked for me. Try for yourself.
Nitin.