I am using portal1032_win32.exe file to install the weblogic server in my local. After following basic installation by providing password and choosing the folder names and selected jdk which comes through installation. Also created domain by providing the defalut configurationd and chooses adminserver alone.
I have opened the eclipse IDE comes through this and started. Added the server by choosing base_domain. I have started the server. here is my problem It is taking more time and finally displaying following message "Server Oracle WebLogic Server 11gR1 PatchSet 1 at localhost failed to start."
The workaround is simple:
add
-Dsun.lang.ClassLoader.allowArraySyntax=true
after -vmargs string in eclipse.ini
Related
Context
I just installed WebLogic development server 14.1.1.0.0 (using fmw_14.1.1.0.0_wls_lite_quick_generic.jar) The server is up and running, with the single default local base_domain.
I've also installed NetBeans IDE 8.2 (Build 201609300101) running on Java: 1.8.0_211; Java HotSpot(TM) 64-Bit Server VM 25.211-b12.
I am trying to add and configure WebLogic Server but NetBeans does not accept the provided path.
For some paths the error message is
The entered installation is not properly structured,
which is OK, but for the correct path, the message is
Please enter Oracle WebLogic Server installation directory
and the Next button is disabled.
What I've tried so far:
Many other paths within the Oracle folder, but I think the folder wlserver should be the correct
Changing all backslashes to slashes
Adding removing the slash at the end of the path.
Checking persmissions. The user running NetBeans have full access to the folders
Stoppig WebLogic and try in this stopped state
Server OverviewI am getting an error while trying to start tomcat from eclipse. The error message shows.
The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports.
what I have done is installed tomcat v9.0 and eclipse oxygen and connected tomcat with eclipse.
Windows 7 - 32 bit
Eclipse Oxygen
Tomcat v9.0
Please help me!
The error message is...
error message
I followed an udemy course "Spring & Hibernate for Beginners"
The admin port is set to '-' which is not correct. Set it e.g. to 8005 or some other free port.
Helo, probably you not configured TomCat admin port yet. It's easy:
In Eclipse TomCat overview configuration, just assign a number to a TomCat admin port. The number can be 8085.
After that, if you get the error "Port 8080 required by Tomcat v9.0 Server at localhost is already in use" signify that you has two Tomcat instances and both your installed and launched instance can not both listen on the same port at the same time. You'll have to change one of them or in windows you can stop the Tomcat running service in command line:
net stop Tomcat9
I'm trying to remotely debug a Tomcat webapp on a recently upgraded Tomcat 9.0.13 and Open JDK 11.0.1. Server is Redhat Enterprise Linux 7.6 and I'm using Eclipse on a Windows 7 developer box to connect.
Tomcat starts, and the app is accessible on port 8080 but fails on certain requests. So on my Eclipse, I've configured a Remote Java application with my configuration details. When I try to connect to it, the connecting fails with
Failed to connect to remote VM. Connection refused.
I'm using the default port, 8000 and on the Linux server, netstat -an shows that there is a process listening on that port when Tomcat starts and not when Tomcat stops.
I've tried telnet from the Windows box to port 8000 and get
$ telnet c516vefpubrec 8000
Trying XX.XXX.XX.XX...
telnet: Unable to connect to remote host: Connection refused
When I do the same running our old Tomcat 7 + Java 1.8 everything is successful. I've tried other ports with the same result.
Could this be a bug? Is there a configuration item to enable JPDA on Tomcat 9?
I had this exact same issue. I'm running an application from a centos vm and trying to debug from my windows machine.
I had to go into the catalina.sh file on the vm and make an edit.
In the section that says that handles the jpda flag, the JPA_OPTS variable needed to be changed to JPDA_OPTS="-agentlib:jdwp=transport=$JPDA_TRANSPORT,address=*:$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND"
Note the *: before the JPDA variable. This allows any ip address to have access to remote debugging. I believe by default it only allows local host.
Hope this helps.
I had similar issue running Tomcat 9 in docker.
I specified the JPDA_ADDRESS in the docker build to allow access from any host:
ENV JPDA_ADDRESS=8000
CMD ["catalina.sh", "jpda", "run"]
In case you are on Windows and using Tomcat as Service 64-bit. Then it would be needed to change in the Windows registry.
This registry path:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\<Tomcat9ServiceName>\Parameters\Java
With 32-bit Windows this path will be without WOW6432Node.
There is a string value Options and remote debug can be enabled by adding these 2 lines there
-Xdebug
-Xrunjdwp:transport=dt_socket,address=*:4446,server=y,suspend=n
if you do not put *: to address parameter, then remote debug will be possible only from localhost. *: means you can connect from anywhere/any host to the tomcat for debugging.
Tomcat9ServiceName - is the name of the Tomcat Service which shown in the screenshot below and usually you type it during the installation
I have Mirth Connect Version 3.5.0.8232 installed on a VM with Window 7 Ultimate N and Java 1.8 build 131. I've been able to start Mirth Connect server successfully; however, I am not able to launch the Administrator tool. When I clicked on the administrator button, It opened the window saying starting application, but it closed it and the administrator window never open. So far, I restarted the service, rebooted the computer, reinstalled Mirth, cleared java cache (several times) successfully. The log file had no error. I was able to login via https//:localhost:8443; however, I tried launching the administrative tool by clicking on Admin and Launch Administrator on the upper right corner. It did not open the administrator tool, but it did download a file call webstart.jnlp. Double click on the file did not do anything. Does anyone have an idea what's going on here?
This is the log file:
INFO 2017-05-05 08:10:05,626 [Main Server Thread] com.mirth.connect.server.Mirth: Mirth Connect 3.5.0.8232 (Built on April 18, 2017) server successfully started.
INFO 2017-05-05 08:10:05,629 [Main Server Thread] com.mirth.connect.server.Mirth: This product was developed by Mirth Corporation (http://www.mirthcorp.com) and its contributors (c)2005-2017.
INFO 2017-05-05 08:10:05,629 [Main Server Thread] com.mirth.connect.server.Mirth: Running Java HotSpot(TM) 64-Bit Server VM 1.8.0_131 on Windows 7 (6.1, amd64), sqlserver, with charset windows-1252.
INFO 2017-05-05 08:10:05,633 [Main Server Thread] com.mirth.connect.server.Mirth: Web server running at http://xxx.xxx.xxx.xx:8080/ and https://xxx.xxx.xxx.xx:8443/
I uninstalled the latest version of java and mirth connect. I installed an earlier version of java. 1.8 update 60 since I had a copy already save on my local. I reinstalled the latest version of Mirth Connect. Everything appears to be working as expected.
In my case Java wanted to upgrade but that was happening behind the scene. Since I don't want to upgrade JRE that I have for certain reasons, what I did is saved webstart.jnlp and running it manually with javaws, i.e.:
javaws webstart.jnlp
Java wanted to update itself in the foreground but got stuck. Once I updated Java to the latest version it worked. Mirth 3.8.0.
I have installed JDK and Tomcat 8 on the server. Now I need to install ORDS and connect it to Tomcat. I went through various documentation and downloaded ORDS on the server. Now I have a couple of questions as all this stuff is new to me and documentation is not very clear most of the time.
There is java.exe in the directory to which I installed JDK and there is java.exe in the directory where all the ORDS files are unzipped. Does it matter which one I use to run the installation?
java -jar ords.war standalone --port 8090
Now my second question is do I run standalone ORDS installation and specify port 8090 and then copy ords.war file into Tomcat diirectory Tomcat/webapp and make sure Tomcat is running and it will install ords on its own? That's where I am confused...
My third question is how do I check if ORDS has been installed correctly? Would going to http://localhost:8090/ords suffice?
P.S. Oracle database installed on another server, I have all the passwords, hostname, port, and service name. APEX is also installed on another server.
Appex is the old name for ORDS. After the ORDS version 3.x you don't need to install apex.
ORDS 3.0 is able to deploy WITHOUT Application Express. It has its own database schema now.
Answers for your questions:
It doesn't matter. But make sure it is java 7+. You can instead install java globally and just run: java -jar ords.war command. You can follow this tutorial to install java on your machine: https://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html
When you run java -jar ords.war command then at this stage it starts installation of ORDS on your system. Before installation it asks for the oracle server hostname, oracle port, SID, and sysdba username and password to connect. Once you provide all the details and the type of installation you want, then it starts installation to the specific database server. Your tomcat/WLS/glassfish server will act as a rest endpoint between the database server and the clients.
Once installed ORDS on your database, if you right click on your connection in SQL Developer then you can see the Rest Service options. And yes the other way is like you mentioned: http:<host-name>:<port-name>/<schema-alias>/<object-alias>/ and see the result.
If you want to know the detail architecture, I would suggest to follow this oracle document: http://www.oracle.com/technetwork/developer-tools/rest-data-services/overview/index.html
I have recently installed the ORDS in production environment successfully. Actually there are two ways you can install ORDS:
Standalone mode:
Using sql developer you can easily configure the standalone mode: http://www.thatjeffsmith.com/archive/2015/04/deploying-oracle-rest-data-services-from-oracle-sql-developer/
But if you would like to use the terminal you can use the following steps:
https://oracle-base.com/articles/misc/oracle-rest-data-services-ords-standalone-mode
Advanced mode:
https://oracle-base.com/articles/misc/oracle-rest-data-services-ords-3-installation-on-tomcat-7.
In the advanced mode ORDS supports Tomcat, WebLogic, and Glassfish application servers
When to use which:
Use Advanced Mode for production
Use Standalone Mode for Development and Testing. You can use Advanced Mode for development and testing but since the standalone mode is quite easy for installation, it is recommended one.
For querying:
http://www.toadworld.com/platforms/oracle/w/wiki/11471.more-oracle-rest-data-services-features
https://svgonugu.com/2015/11/21/adf-bc-rest-services-i/
Note: If your database is PDB you could have some problem installing it and there are some tricks to solve it depending on the problem. Please let me know I would love to answer.