How i can use AccounterLive java Project on my Server Tomcat? - java

i want to know how to run AccounterLive java project on my server?
there are no documentation (yet!) and i already tried to run using tomcat but it is not working.
project URL is: https://github.com/vimukti/accounter
WebSite is: https://www.accounterlive.com/
i hope to get idea how to run this project on my tomcat.
the documentation says
May be you do not need a guide to run a java project :smiley: Though we will add a guide soon.

Related

Strange Java web application in Eclipse

I am new to Java web programming and currently working with a Java web project. Although I have searched for days but still not able to figure out what kind of project is it and how to configure to get it run. It has a webapps directory and a web application inside. But the Java code is stored outside and under the root directory.
So what documents should I read to get familiar with this kind of project, and how could I configure to get it run on Tomcat?
You should check the .project file located in your case at mapsview/.project to get more insight about this project. It has builder and natures information which helps you understand what kind of project is.

BambooBSC (Balanced Score Card) setup on Netbeans 8.2

I am new to Java EE. Recently I had to implement an opensource balanced score card system for one of my clients. I stumbled upon BambooBSC. I successfully configured the project on a VM with the help of a VDI file (available on their github page).
Now I want to setup this project on my local machine. Since this project is based on J2EE platform, I already installed Apache Tomcat and Netbeans IDE on my local machine.
I cloned their repository on my system. And tried importing the project in my Netbeans IDE. Now the IDE shows me something like this.
I don't know what to do next. Seems like some external dependencies need to be provided to the project. But I am unable to figure it out. Please help me setup and run this project on my local machine. Will be deeply appreciated.
Thanks.
Do you absolutely need/want to work with Netbeans IDE?
Otherwise, you may consider using Eclipse IDE.
And follow this dedicated official documentation.
Anyway, you can notice the information about core-web, core-base and gsbsc-standard projects.
Let me know if you need further help.

See Ant script generated by Netbeans

Please see the following webpage: https://netbeans.org/features/ide//build-tools.html. It says: "You can therefore build and run your project outside the IDE exactly as it is built and run inside the IDE.".
I have spent hours trying to figure out how to see this Ant Script. I have found suggestions such as setting: Toola\Options\Ant\Verbosity Level to Debug etc, but I see nothing. How do I see the Ant script generated by Netbeans?
I am trying to see what Netbeans generates when I run the app, so that I can try to run the app externally to Netbeans. It is a J2EE app.
Look for build.xml
But J2EE apps must be run inside a webserver such as Tomcat.
You can't run them from the command prompt.
You can follow the Java EE tutorial regarding that topic: http://docs.oracle.com/javaee/6/tutorial/doc/gkhpu.html#gkhol
In case you would decide to use Maven, then the newer version can be more applicable: https://docs.oracle.com/javaee/7/tutorial/usingexamples.htm#GFIUD

IntelliJ Jersey Web Service Deployment (Some tips and Template Project)

How to set up Jersey 2.0 Web Services on IntelliJ IDE using Tomcat 7, with complete Maven support?
I have had quite a bit of trouble to put everything together to make it work. To hopefully save some time to people in the same situation, I have made a small guide.
I have taken the time to set up an IntelliJ 13.0 project for a web service using Jersey 2.0 and Tomcat 7, complete with Maven support.
Finally I managed to figure out the complete configuration and it works, so I have decided to give back to the stackoverflow community.
Here is a working template project on GitHub (you should only need to clone it and change the path of your Tomcat 7 installation).
Here are the relevant configuration screens that you can use to set up your Tomcat Home directory:
After cloning the project, go into run configurations.
Then change the tomcat home (here I used HomeBrew on the Mac)
I was getting a 404 error when accessing any of the WS's, I discovered I had to add all the Jersey and Glassfish JAR's to the lib directory under WEB-INF. Just create a lib folder and drag-and-drop all libs.
Fist of all, please make sure that you are using Ultimate Edition of IntelliJ Idea. Unfortunately, community edition does not support J2EE.
Second, here are the best instructions I found. It saved my day:
https://medium.com/#jamsesso/starting-out-with-jersey-apache-tomcat-using-intellij-6338d93ffd40

Setting build path in eclipse java

I have searched stackoverflow before posting this question.
In eclipse i am running a tomcat server. I deleted the .class files from the work folder of the tomcat server. From then on I am facing the issue saying the class couldnot be found.
I re-built the project. Didnt help
Can you please suggest how to fix this issue.
You should NOT run Tomcat as a normal program inside Eclipse. You should use the EE version of Eclipse, and then add Tomcat in the server view. This will allow you to deploy Dynamic Web Projects directly to Tomcat or any other supported server.
delete the server from eclipse server view and create it again.

Categories