I having trouble with EJB in netbeans - netbeans

The time I was practicing a java web project on netbeans, but with EJB error while in the process of running the scheme, but there is no solution on the fix, hope you had similar problems guide me fix on,
Here is an image of the error :
![E:\accpTrading\nbproject\build-impl.xml:307: The module has not been deployed.
See the server log for details.][1]
I tried reinstalling the software as well as JDK & SDK, but still did not fix, refer to various forums, these people are lost, today I'm posting on this forum because a friend recommended. hope you help me. for a week I could not work because of this error.
Thank you all!

Related

Spring Tool Suite not responding suddenly

I am using Spring Tool Suite 3.9.0. Till yesterday, my STS was working fine. All of a sudden, when i try to open my STS.exe, it is asking for my workspace location...once I click on "Launch" it gets closed without any error. I tried many times and even tried to remove and re-download STS 3.9.0, still no use. I don't know what is the problem. I searched in the net but nothing helps me. I am using Java 8 and Maven 3.3.9.
Can someone help me?
Thanks in advance.

Error generating artifacts for the following WSDL (my url) Possible causes can be invoking https when the application is not configured for security

I use payara server and postgres database. I can deploy my project successsfully. I also can open the wsdl page. But I can not open the test page. And when I saw the server log. It show that: log information
But I think I have the jdk.
Any help is appreciative.
I already solve this problem. It said I didnot have jdk. In my ec2 instance, it really has a openjdk. So I think maybe I can not use open jdk. I download oracal jdk 8 from the web. Finally, it is success. If someone get this problem, maybe it can help you.

get started with wildfly confusing

Can anyone suggest a good tutorial how to get started with a JEE application using WildFly server?
I am little confused right now cause at first I decided to start with an official website of the wildfly.
I found some guide links in there and seems like a half of pages are not found or missed.
For example, they have a Getting Started Developing Applications Guide link, when I go there there is another one link which leads to the github page and returns 404 page.
Ok then, i wen to github page with documentation and found following section which describes a list of quickstarts.
So as it says
Quickstarts with tutorials in the Get Started Developing Applications are noted with two asterisks ( ** ) following the quickstart name.
But again if you go to this link it is not found as well and so on.
To be honest I am kind of tired of this confused documentation so I am looking for a best approach how to get my JEE application up and running using WildFly as a server container.
So any suggestions would be really appreciated! Thanks in advance.
If you want to get started with Java EE then have a look at the Java EE 7 tutorial.
If you're looking to just start WildFly so that you can deploy an application you simple download the zip, extract it and use either bin/standalone.sh or bin\standalone.bat to start it. You can get further information about getting started with WildFly here.
The quickstarts are good examples of some simple applications that can be deployed. The README is pretty descriptive on how the quickstarts themselves work, but isn't meant to be a Java EE 7 tutorial.

Why does NetBeans use Tomcat Manager (and Eclipse does not)?

As a long-time J2EE developer, I have always been curious as to why NetBeans uses(i.e. forces you to use) the Tomcat Manager app to deploy while Eclipse seems perfectly happy/able to deploy without the manager app? Though I have googled this exhaustively over the years, I have never found even the beginning to an answer. Perhaps this is nothing more than how each product started and has never changed.
Does anyone have any insight or educated theories they would be willing to share?
[Edit] Sigh... to address shekhar's comment, I see that it is not absolutely clear that I am referring ONLY to using Tomcat. I mistakenly assumed that the title and context of my question was sufficient, but again, I am specifically referring to using Tomcat as the Servlet Container with these IDEs. Thanks.
[Edit] I don't know who down-voted this but I have researched this for a long time and found zero reason for it. As for down-voting because it might not be useful, I think that is in the eye of the beholder; also, it usefulness can only be determined based on the answer which is why I am asking.
Sounds like a good topic for Quora but anyway...
I can only speak about NetBeans. It originally used a patched version of Tomcat 3. (early NetBeans 3.x releases). Tomcat Manager was added in Tomcat 4 and it was used because it was possible to integrate easily with your Tomcat installation without knowing much details about their setup. Start/stop Tomcat can use default scripts and will pick up your settings. Deploy does not need to care about access rights and it just assumes that manager works.

GlassFish 3.1 Netbeanz 7 and REST web services

I tried to run example here http://download.oracle.com/javaee/6/tutorial/doc/gipzz.html and didnt work... There is a bug at netbeans site but i couldnt understand what they are talking about.
It seems that wadl file isnt created....
However a workaround for this was to use the servlet com.sun.jersey.spi.container.servlet.ServletContainer
and seems to work...
Does anyone knows whats wrong ??
The RESTful stuff in NetBeans and Glassfish definitely works, I use it on a daily basis.
Try following this NetBeans tutorial and see if you get anywhere. I've always found the tutorials on the NetBeans site too be very helpful, and easy to follow.
Just to answer..
The problem was that i did the mistake to use the glassfish version that came with Netbeans. This doesnt work . Installing glassfish seperately did work greatly.