Does anyone know how to get Cruise Control's CCTray to connect to a Jenkins Https CI Server instance running on Openshift? The URL I want to connect to is in the form : https://jenkins-rhcloud.com/cc.xml
I have read the responses here (using CCtray with Jenkins, while security enabled (using HTTPS)) about adding a transport extension to CCTray and have tried building and deploying jenkins transport dll as per the instructions. I built it in visual studio 2012 express and deployed to c:\program files\cctray\extensions and restarted cctay (version 1.8), but on restart it doesn't allow the jenkins plugin to be selected in the transport extension drop down? CCtray doesn't seem to know the trasport extension exists even though its deployed in the place according to the instructions! Does anyone have any ideas?
From experience (and having just got this working!) the .net version for the JenkinsTransport.DLL build cannot be of a higher version than the CCTray install.
CCTray tries to load all DLLs in \extension and swallows any exception arising. A .net 3.5 built of JenkinsTransport.DLL doesn't work (not selectable) with CCTray 1.8.0.0 but does work against CCTray 1.8.4.0.
Related
I would like to add network server to local eclipse if possible..So that hot deployment will work fine..
Personally, I've always used Rational Application Developer which comes with this support built-in. From playing around some, I've found this is not the case for Eclipse. I found that you need to do two things before you can deploy applications to a remote WebSphere Application Server with Eclipse:
Install the WebSphere Developer Tools for Eclipse
Install a WebSphere Application Server instance on your local workstation (you don't need a profile)
Here is information on how to add WDT to Eclipse: https://www.ibm.com/support/knowledgecenter/en/was_beta_devtools/com.ibm.websphere.wdt.doc/topics/t_install_wdt_sdk.htm
In summary:
Go to the Eclipse marketplace: Help > Eclipse Marketplace...
Enter 'wdt' in the find field
Search for the WDT that matches your partner. For instance, I'm using Eclipse Oxygen and WAS 8.5, so I chose IBM WebSphere Application Server V8.5x Developer Tools for Oxygen
Click Install
After you've installed WDT that matches your partner application server, you have to go one step farther and also install WebSphere on the local machine. Why, I don't know. It won't create the remote server if you don't do that. When installing WebSphere, be sure that the Java version that you install matches the Java version that you have installed on your partner.
After you have installed WDT into Eclipse and WebSphere onto your workstation, to add the remote application server, do the following in your eclipse workspace:
Window > Show view > servers
Right click in the servers pane > New > Server
Expand IBM, then select the WebSphere application server version that matches your partner server (for example, WebSphere Application Server traditional V8.5)
In the server's hostname field, enter the fully-qualified hostname or ipaddress of your remote server machine.
Click Next
For installation directory, enter the fully-qualified name for your local application server directory. For example, c:\was85512_base\WebSphere\AppServer
Click Next
Check RMI and SOAP and enter your RMI and SOAP ports
If security is enabled on your server, check the 'Security is enabled on this server' box, then enter your admin username and password.
Click Next
Fill out this next page as you like. (I always uncheck the 'Enable the server to start remotely' box because I don't like letting Eclipse control my app server)
Click Finish
I was able to do this using Eclipse Oxygen. I have Indigo, Juno, Kepler, Luna, and Neon. I started with one of those (I can't remember which; probably an old one) and I was unable to get the WDT installed. I got the WDT installed on another one, but I wasn't having success, but that was before I figured out that you absolutely had to have a local WAS image.
Besides my move to Oxygen, I ran into the following problems:
I put on a WebSphere install image with the wrong Java version. I had to install another one and create a new server runtime.
java.security.cert.CertPathValidatorException: The certificate issued by CN=wsx6, OU=Root Certificate, OU=wsx6Cell, OU=wsx6Node is not trusted; internal cause is:, java.security.cert.CertPathValidatorException: Certificate chaining error. This is bananas because this is a self-signed certificate. I went back and checked the server definition and security is enabled on this server was somehow unchecked. I re-checked it and made sure that automatically trust server certificate during SSL handshake was checked.
If you mess up, you can create new WebSphere runtime environments in Eclipse:
Window > Preferences > Runtime Environments > Add > IBM
Choose the Application Server version. You should have one listed for each WDT you have installed.
Enter your local installation directory (so Eclipse can find tools)
Finish
If you have more than one WebSphere runtime environment, make sure that you choose the correct matching one when creating your remote server.
I've used remote application servers in an assembly tool for a long time; I understand the appeal of it. I like to do it because it keeps the memory-intensive application server off of the Eclipse machine. Deploying apps is way faster this way.
As per the problems this person was having;
JDBC Connector not working
I'm running Debian 9.1
I installed Java via the package manager
I added Java to the path in /etc/config & added JAVA_HOME to the path in /etc/environment
I then installed jmeter via the package manager
I then downloaded the mysql-connector-java-5.1.44-bin.jar and copied this to /usr/share/jmeter/lib
But after all this, I still dont get the JDBC connection option under Add->Config Element within JMeter, nor do i get any options for JDBC within JMeter.
Can anyone help me as to what im doing wrong?
While I am new to JMeter, I have successfully run simple "Hello World" HTTP requests queried from a PHP Script & a NodeJS script so far.
Update
Added JMeter log by request
Jmeter log
I have no idea what the problem was with Jmeter on my Debian machine... (as prior to this I was trying to use it on Ubuntu Server, and it had the same issue as Debian);
But anyway, I just installed the Oracle JDK & JMeter for Windows, on my old Windows 7 laptop, dropped in the JDBC connector to the lib directory - & immediately it had the option for 'JDBC Connection', which never appeared on either the Ubuntu or Debian installs.
So if anyone else runs into this issue on Ubuntu or Debian ~ I might suggest trying a Windows 7 VM for running it.
Note here
This was the JMeter I installed on Windows (I didn't get it from Apache):
JMeter for Windows
For some reason I cannot find JMeter JDBC components either in Debian or in Ubuntu repositories, maybe it wasn't included by maintainers.
So instead of installing JMeter using package manager you can just download the latest JMeter version (which is JMeter 3.2 as of now while in repositories you have much older versions, 2.11/2.13) from the official website. JMeter is pure Java-based application so all you will need to do in order to be able to use it is to install Java 8 or above.
Alternative option would be downloading jmeter-jdbc JAR appropriate to your JMeter version and dropping it under /usr/share/jmeter/lib/ext folder (super-user privileges might be required), this way you will get JDBC test elements.
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.
I am attempting to run (Jetty) Geoserver 2.1 on Ubuntu 16.04 using Open JDK 8 on a machine which also contains Apache, MYSQL, and GDAL. I followed the instructions from a nice denizen of the internet named Jeff.
Upon completion of his instructions, I run the following command in GUAKE Shell to start up Geoserver:
sudo /etc/init.d/geoserver start
I then (without quitting the terminal) open Firefox and type in the following URL:
http://localhost:8080
Firefox shows the following 404 error:
I also attempted appending /geoserver and /geoserver/web to the URL, which changed my error from 404 to 503 (making progress!).
I get the same error(s) when I use the built-in Ubuntu shell instead of GUAKE. I have, per answers on similar questions, confirmed that geoserver is indeed running on 8080 (and that nothing else is). I have attempted using Tomcat7, and while I was able to get a successful 8080 page with Tomcat7, it was not the geoserver page - and the geoserver urls (/geoserver and /geoserver/web) still did not work.
EDIT: Here is the geoserver.log:
Those directions have two issues which may cause some trouble: First, they are out-of-date, and second, they are installing a number of additional plugins. From the screencap, the error at the bottom could be related to the ogr plugin.
I'd recommend checking out the GeoServer documentation for using Jetty on Linux; it will have you download the latest version of Geoserver here.
The directions you mentioned might help with setting up Jetty as a service, etc. The GeoServer documentation should help get GeoServer up and running; if you have other questions about plugins, we can go from there.
When I run my java web application from eclipse using tomcat server, system gets restart. Its not even showing any exception or errors.
My system Configuration is,
window xp sp3 32-bit
JDK1.5.0
eclipse helios
tomcat server 6.0
Please help me to solve this problem.
The problem may be either with your eclipse version or with the server or any code fragment which you are using. Try with fresh version of eclipse and server, if the problem still exists, check the system for any virus. If that also give negative check recently added code fragments..