Oracle Tips 7 [ora 12519 tnsno appropriate service handler found]

Using JDBC with Oracle 10g i found this error : “ora 12519 tnsno appropriate service handler found”, today i found an article on Internet about.
I only execute on apex query :

 

   ALTER SYSTEM SET PROCESSES=150 SCOPE=SPFILE;

 

after that i restarted my Oracle10gXe server on my server, and all works well !!!
incredible

Java code for NTLM User Identification

The following code perfrom NTLM Identification (NOT authentication) of a Windows user connecting to a Java Web app.
This will happen automatically only using IE as the client. With Firefox for example the username will be asked through pop-up, and then used by the web-app (again, this code doesn’t perform authentication…)

The original code come from jGuru

String [...]

Tomcat virtual host

This mini howto to show how to configure a virtual host on tomcat.
This use HTTP 1.1 feature so with one single IP and one single Tomcat server you can virtually host infinite domains.

Edit the file %TOMCAT_HOME%/conf/server.xml

Under the tag host (the one setted by default for localhost) add the following line:

<host name="[www.mydomain.com]">

<context path="/" docBase="webapps/[mydomainwebsite]" debug="0" reloadable="true"/>

</host>

Obviously [...]

Eclipse 3.4 + SVN + Tomcat 6.0 + ZK

In questa mini guida vedremo come configurare eclipse Ganymede 3.4 configurato per funzionare con un server subversion e con il framework zk per realizzare Rich Internet Application.

File necessari da scaricare:

Eclipse 3.4 Ganymede IDE for Java EE Developers (163 MB) link
ZK framework 3.6 link
Apache tomcat 6.0 link

Dopo aver scompattato l’archivio di eclipse, il framework zk e [...]

Eclipse + zk

Needed application running

• java virtual machine (if you are running ubuntu i suggest the ubuntu package “openjdk-6-jdk”)

Needed files
• eclipse-jee-ganymede-linux-gtk.tar.gz from http://www.eclipse.org/downloads/
• zk-studio-0.5.1.zip from http://downloads.sourceforge.net/zk1/zk-studio-0.5.1.zip
• zk-bin-3.0.7.tar.gz from http://www.zkoss.org/download/zk.dsp

Operation
• unpack eclipse somewhere.
• put the jar file contained in the zk-studio-0.5.1.zip into the directory /plugins
• restart eclipse if opened

# Define a Server Runtime

* [...]

Ubuntu 8.04 LTS + openjdk6 + apache-tomcat-6.0.18

Prerequisites
• Ubuntu 8.04 (you can try with other ubuntu/debian, with other OS you have to install JVM in a different way)
Needed files:
• apache-tomcat-6.0.18.zip from http://tomcat.apache.org/download-60.cgi

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install openjdk-6-jdk

unpack apache-tomcat-6.0.18.zip where you want (i used /usr/local/tomcat, change the following commands accordingly if you have used a different directory)

set JAVA_HOME environment variable:

JAVA_HOME=/usr/lib/jvm/java-6-openjdk

export JAVA_HOME

start [...]