I'm using Eclipse Keplar and I've updated to the latest jboss oxygen tools. when i try to create a new connection via openshift explorer it's still showing me the old interface and not letting me select the server type as described here: https://blog.openshift.com/getting-started-eclipse-jboss-tools-openshift-online-3/
what am I missing? followed those steps exactly and still getting openshift 2 connection dialog.
UPDATE: Even when trying to force it to connect to server url: https://console.starter-ca-central-1.openshift.com it still is trying to connect to v2 and not v3.
Related
I have this simple jsp page with a button. On clicking it passes to a servlet which calls a database function,retrieves value from db and returns the value back to the jsp and displays it. This project works fine in netbeans using glassfish. Now i have a server in OCI. downloaded apache tomcat 8 from the internet and unzipped it in the home folder of this oci server and deployed this project in webapps folder -the jsp retrieves and displays data fine. Everything is fine. Now in the same server i installed another tomcat using yum command and it got installed in the root. So here when i click on the button the data retrival doesnt work. As soon as i click on the button in the jsp it throws error "SEVERE: SQLException while connecting to dbjava.sql.SQLException: Io exception: The Network Adapter could not establish the connection". I have no idea why is this simple connection not being established only in this root installed tomcat. I am new to tomcat. I couldnt find an answer online. Found the path also weird as below.
log path:-/var/log/tomcat
webapps path:/var/lib/tomcat/webapps.
I am using jdbc thin connection.
jdbc:oracle:thin:#xxx.xx.xx.xx:1521:aaaaa
Judging fron the exception infomation,your app server is not connect to database server,so you should check the app server is connect to your database server。
I'm doing the Red Hat TicketMonster tutorial but got stuck pretty fast.
You can find the tutorial (pdf) here
The problem:
At first everything worked just fine. I managed to deploy the app on localhost, could see the tables using h2console etc.
But when I decided to continue later, I couldn't enter the console like I did before. So I installed the H2 database engine and am able to at least log in but now my tables are gone.
I didn't change anything in the -ds.xml file (just added some Entities in the model package) and use the same url in the database engine.
Maybe the database is locked?
<connection-url>jdbc:h2:mem:test;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1</connection-url>
I don't know what went wrong and what to do next.
Never mind, found the reason why the connection to h2 console didn't work.
Apparently I didn't deploy the h2console.war in the right folder after changing the runtime server (to Wildfly).
Relevant info:-
I am working on ubutnu , so no firewall issues i hope.
I am sitting behind a proxy server.
I am able to connect to smtp server through terminal using telnet.
When I run the same code using gradle from terminal(you need a build tool to download the java mail api from repository), it works fine.
I have included the mail api in external jars in my eclipse project and even tried setting/unsetting the proxy in eclipse, even then it's not working.
I have recently started to learn about Red5 server. I am following this tutorial to develop a simple video chat app: http://tharas.wordpress.com/2010/01/19/chat-application-with-red5-and-flex/.
I am able to create the flex client.
For the service side, I have created a Dynamic Web Project in Eclipse. Then manually copied the WEB-INF folder files and the Application.java file from the source code zip given in the above tutorial page at the bottom.
After that when I am trying to start the Red5 server, it is failing with the error: Caused by: java.rmi.server.ExportException: internal error: ObjID already in use.
I searched many forums for hours to resolve this. What I could figure out is, it is possible that the server start up script is trying to create RMI registry entry in the JVM twice, which is not allowed. One forum suggested editing the /etc/hosts file. One forum suggested commenting out the rmiregistry creation in red5.properties and delete the JMX part in red5-common.xml. But nothing worked!
I have installed Red5 version 1.0 in Windows 8. I have installed the Red5 Eclipse plugin and running the server from within Eclipse.
Any help is appreciated. If you need, I can post the detailed server log.
The issue here is that more than one instance of Red5 is being started or the RMI registry already exists. I suggest editing your red5/conf/red5.properties file and changing this entry to false:
jmx.registry.create=true
This should "hide" the error and allow you to continue; the real fix would be to prevent spawning multiple instances within Eclipse.
After running app-engine java project multiple times in eclipse, app-engine local server doesn't work. I am getting error "This webpage is not available" in Google chrome. But eclipse console says that "dev App Server is now running". But using dev_appserver.cmd works fine, it is too difficult when developing the project. Any ideas to solve this?
PS: rerunning is done after stopping the current execution of the server.
Choose 'Automatically select an unused port' in debug configuration.
Local server will start every time on different port, but it should solve your problem.
try to change the configuration by "run as" or "debug as" and check server and port no.
Also ensure that in Windows>>preference>>java>>jre a path to jdk (not jre) is selected.
Please provide more details of the problem if it is still there.