Issue of deployment using glassfish server - java

I am using glassfish server.. the application was running smoothly but all of sudden i started getting this message.
build-impl.xml:1073:
Could any suggest me on how to solve this problem

Have you upgrade you netbeans or glassfish recently?
This problem happens sometime when you performed an upgrade with the netbeans IDE or some modules of it.
If you did, you had better try to create a new project or re-install the application in the glassfish again. This may help.
By the way, could you please provide some detailed information so that we can perform some further investigation.

well i don't think it is the good solution however i did not find any other option then the one i have mentioned below to solve this problem.
I uninstalled the GlassFish Server and installed latest version i.e. 4.0 ( You can install the same version, it should work) and then i removed the project from netbeans Projects list. I again created a new project and copied all the required files from the previous project. It worked. The application is now deployed in GlassFish Server 4.0.
However this solution to me is like formatting computer when you cannot solve the problem raised in your PC. If someone could tell me the reason and the way to solve the problem mention above i would be very thankful.
Anyways thanks to Mr lowitty for the suggestion.

Related

JaCaMo cannot satisfy dependencies in Eclipse. Missing requirement

I am trying to follow the JaCaMo Eclipse Plugin instructions. I am getting a problem when installing a new software. Can anyone help? enter image description here
I tried to follow instructions but cannot solve the issue above. I have looked but cannot see anyone having the same problem.
I had the same issue. The problem is with the version of Eclipse. I'm assuming you're using a version that's 2021-12 or later. After the whole fiasco with Log4j at the end of 2021, I believe they stopped using it or changed something about it in Eclipse, and hence the error. Using Eclipse with versions 2021-09 or before will solve the issue.

BEA-160228 LoggerFactory Logback LoggerContext. Either remove Logback... Weblogic springboot

I really lost the way here, i'm trying to deploy a springboot application, when I try to upload .war file in a weblogic 12c returns BEA-160228 with error message in title here is my pom.xml:
https://bitbucket.org/snippets/CPernillo/6eg5oe
I've tried a lot of solutions that I found on forums even here in stack but nothing seems to work for me like disable spring-boot-starter-logging (as you can see in pom.xml), add a weblogic.xml to my webapp/WEB-INF folder (here it is):
https://bitbucket.org/snippets/CPernillo/yed5oA
Please stack-experts, help me and thanks in advance.
Update 1
This project has sucessfully deployed in a dev server, without changing anything, the problem is production server.
Fixed!
I Answer only if in future somebody have to pass this bad luck:
Java versions in both weblogic where diferent, spring 2.0.3.REALEASE only supports java 8, so, production server has jdk 7, client's sysadmins gonna have a long night migrating all old projects to jdk 8.

Netbeans debugging error java.lang.ClassNotFoundException: org.apache.xerces.xni.XNIException

I'm using Netbeans 7.4 with Apache Tomcat to debug a servlet.
The Tomcat server is throwing an error:
java.lang.ClassNotFoundException: org.apache.xerces.xni.XNIException
I'm new to the Java thing, and I was asked to make changes to this app, but I can't get it to debug because of this error.
When I Google it, it shows as a bug in Netbeans, but I cannot find help on fixing the bug.
Does anyone have suggestions?
I assume you're referring to this.
https://netbeans.org/bugzilla/show_bug.cgi?id=232690
The bug history says this bug was fixed somewhere in July 2013.
I would try using the latest IDE version or pull a nightly build
(in which this bug's fix was reported as being available).
Then if you still see the bus is not fixed, you may want to contact the
Netbeans team providing all the details (which build you tested it
with, on which OS, how you reproduced the bug, etc.)

Is the Google Eclipse Plugin for Juno (Eclipse 4.2) broken?

I just installed Eclipse EE Juno (4.2) and a whole slew of plugins for it. I am now attempting to install the Google plugin (GAE and GWT) and am getting an error when adding the update site through Juno's Install new software window:
Name: Google-Plugin
Location: http://dl.google.com/eclipse/plugin/4.2
When I try to enter this I get:
Could not find http://dl.google.com/eclipse/plugin/4.2
I see this question from a few months ago. Although I am having a very similar problem, I think I have a different problem altogether.
When I change the Location to http://dl.google.com/eclipse/plugin/3.7, I get the same error (except with 3.7 appended on the end of the error message instead of 4.2). I definitely have Internet access (how else would I be posting this question?!) so that's not the issue. If this was only working for the 4.2 plugin, I would happily try the "workaround" mentioned in the other post, or even step back down to Eclipse 3.7 (I have to have this plugin!) until 4.2 was working. But the fact that it's not even working for 3.7 tells me that something else is awrye here. Thanks in advance!
Edit:
Just to mess around with things, I have downloaded Indigo (3.7) and immediately attempted to install the Google-Eclipse plugin. I entered the following for my update site:
http://dl.google.com/eclipse/plugin/3.7
And received a nasty error:
Artifact not found: http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml.
Artifact not found: http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml.
http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml
Am I going crazy here?!?! I've installed my fair share of Eclipse plugins and never had this much trouble. Especially from Google. And I know its not my Internet connection or my Eclipse instance because before I attempted to install the Google plugin, I installed Subversive, IvyDE and EclEmma...
It was also broken for me a little while ago, but seems to be working now. Maybe the site was down for a bit?
You can try installing the plugin from archive as described in the link:
https://developers.google.com/eclipse/docs/install-from-zip
Basically what you are doing is, you download the plugin as a zip(archive) and browse this archive instead of update site, during the plugin installation.

Error : Could not find HelloAndroid.apk

I am very new to Android development. I followed every steps from developer.com to install ADK. Now my issue is, when I tried to run HelloAndroid application, I get an error as I mentioned in the title.
I hav JRE1.6 installed. Is tat enuf? Because I read tat ether jdk or jre is ok. I am clearly blank about the concept of this apk error. And I am using Eclipse Ganymede. Kindly give a solution for my issue. Thank You. :)
Try in eclipse: Project -> Clean... -> Your android project
Helped in my case. However, I was developing and successful building apk's with eclipse for months before this error occurred.
I had the same problem, I resolved it by re-booting eclipse. I suggest you try this first.
I can spot one major issue.
JRE alone is insufficient. Here is an extract of their development system requirements.
JDK 5 or JDK 6 (JRE alone is not sufficient)
Here you can find their page on system requirements. http://developer.android.com/sdk/requirements.html
I'm not sure but I guess your error comes from not having the JDK installed.
I had the same issue which I solved by using JRE system library 1.6 instead of 1.5. My post cronicles all the other solutions I've seen online, hope it helps.
apk issue post
I encountered this problem and didn't really see easy advice on the internet. To fix it, I followed these steps. #1 may not be necessary, so try #2 first alone.
Upgrade the JDK from 1.5 to
1.6. Even if you bypass this step, ensure you have a JDK installed.
Removed/Delete the project completely then create a new HelloAndroid project. A config setting is occasionally off. Obviously back up the source code if the project is more important to you than a Hello World application.
If it works, you may encounter a timeout error after launch when the HelloAndroid.apk is installing in your emulator. Change the timeout from 5000ms to 10000ms in
Windows -> Preferences -> Android -> DDMS -> ADB Connection timeout(ms).
Good luck!

Categories

Resources