Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to publish my project on internet through my paid web
, but they doesn't support JSP pages and glassfish.
So is there's any way to publish it?
There are different ways to deploy your build to web servers according to the server. In this situation you telling that you are using glassfish server. It allows three different methods as follows.
1. Using admin console
First thing you should be able to access admin console which is http://localhost:4848. Follow the link below the step by step guide to deploy from oracle help.
https://docs.oracle.com/cd/E19798-01/821-1757/ghgjn/index.html
2. Using command line
You should be able to access command line with asadmin commands. Use following guide to deploy using command line.
https://docs.oracle.com/cd/E19798-01/821-1757/ghgjj/index.html
3. Deploying an Application Automatically
You can deploy applications automatically by placing them in the as-install/domains/domain-name/autodeploy directory, where domain-name is the name of the domain for which you want to configure automatic deployment. Follow the link below to step by step guide.
https://docs.oracle.com/cd/E19798-01/821-1757/ghgmi/index.html
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
We are well on our way to Dockerizing Domino. In fact, we have a Domino Docker running in IBM Cloud (bluemix) that replicates with on prem.
What we want to be able to do is automate the standing up of a Domino server.
In our script, we are thinking of calling a custom program we can build that will use either the C API or Java API to register a new server, deploy a XPages (JSF) application to it, and start the server, replicate over the common user directory (names.nsf) from the master server.
Currently, we started the Domino Container in CentOS in listener mode. We registered the server on prem, and copied over a bunch of files (server.id is one of them) and edited confirmation to manually configure it. We want to automate this process.
Any insights on how this can be better accomplished? any api references you can share to get us most of the way there?
Yes, this is possible. We have done this in Lotusscript using LS2CAPI.
As we are accesing API functions, this is also possible using Java. Not sure, if domino-jna already includes the needed Api calls, but this can be implemented. Take a look at github for Karsten Lehmann and domino-jna.
domino-jna can be used from XPages as well.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to use angular 4 with java as backend. What I need is a single war file.I dont want to run different server for front end and back end. I want that there will be single java war file so that I can deploy it on app server like tomcat or jboss.
Please suggest some approach. Your help is highly appreciated.
HI I have done this in my project and what can you do that when you take a build of your Angular2 application then after the build copy all the content from the build/install folder and paste it in your Java Work space as a static content inside WebContent folder.
Makesure that you correctly configured the url of the backend service in your angular code.
After that try to clean the tomcat server and then restart it.
I hope it will work.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I was given the task - to create a simple JAVA EE web-application that have the following functionality:
It had an index page
I choose an algorithm and enter parameters for it on index page
Depending on chosen algorithm a statistical .csv file will be processed on its own way.
After processing the .csv file in compliance with entered parameters and chosen algorithm I get a table where I can find processed data.
I know that it's a very simple application but I don't know what to do - architecture, what kind of web layer and etc
If you install Apache Tomcat on your computer, and then run it, you will find a lot of simple examples, many of which will come close to what your are asking. Plus, once you install it, you have a server on which to run your new code. I would recommend you start there.
Apache Tomcat
I would say that if you really want simplicity, you go with just Servlets for the server-side processing, and JSP pages for the HTML views. I know, it's "vintage" almost, but will get you running in no time and without the need for any special "architecture" or framework besides the servlets API.
You can build your app as a War file with the tool of your choice and deploy it in a Tomcat server and that's it.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i am creating an android application which has got two parts a client part and a server part. So the client will be asking the serveer for a particular data and server need to give it back to the client. My question is how i can run this server program (jar file ) in a web server. I have tested it locally using eclipse but i need to know how i can put this into a web server and run it there. So that the client can use a data connection and connect to the server program and get back the respose from there Sorry for the inconvenience caused and a thank you in advance
From the way you describe your server it sounds like a simple .jar file that you built. If this is the case, you can simply deploy the jar on any compatible computer (or webserver) that you have shell access to.
Build runnable jar in eclipse
Place the jar file on some server
Make sure the server has java installed (same java you used to build your runnable jar)
Run the jar using java -jar path_to_jar.jar
To answer your question, you can run this in the background of a server running other services as long as you pick a port that isn't already in use. Make sure you enable port forwarding on your router/firewall (if you have one) if you want to access the service externally.
You will require Tomcat server for running Java ,jsp
To start with hosting this link might help you.
How to host a JSP website on a webserver?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am trying to setup glassfish as WebServer for my web application. I have installed the
glassfish in my server and tried to upload the folder I got some error. I have another error asadmin is not recognized if I tried to access from another computer. Any body has worked previously in this issues. Please share your insights and thoughts. Thank you.
The default configuration of asadmin is not configured to respond to connections made from other computers. If it were, then after starting glassfish, anybody could start trying to configure your system, including people who have access to your network that you've never even met.
You can reconfigure glassfish to expose asadmin to external connections, but if you make a mistake, you just let strangers access to your configuration interface. That can lead to a disaster if the strangers are not friendly people.