viernes, 28 de noviembre de 2014

org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Error connecting to database: (using class org.gjt.mm.mysql.Driver) java.lang.NullPointerException

This kind of error happens when the driver is not the correct one, just change it!

because maybe you are using: mysql-connector-java-5.1.34.jar, or mysql-connector-java-5.0.8.tar..which uses:   org.gjt.mm.mysql.Driver para invocar el driver
but, both are incorrect for Pentaho spoon

The correct is: jdbc_mysql.jar  because it uses the driver :  com.mysql.jdbc.Driver

jueves, 27 de noviembre de 2014

Cambiar usuario a mysql DB


UPDATE mysql.user SET Password=PASSWORD('juliana') WHERE User='root';



http://www.cyberciti.biz/faq/mysql-change-user-password/


MYSQL DATABASE

Instalar MySQL

Luego:
Ir a la siguiente ruta :

C:\Program Files (x86)\MySQL\MySQL Server 5.6\bin

y dar enter en el exe: mysql, va a aparecer una consola de comandos, correspondiente a la bd de mySql.

ORACLE SOA DEVELOPMENT

Eclipse BPEL Designer is also available as a plug-in on the Eclipse Platform version 3.0GA


JDeveloper BPEL
Eclipse OSB


Installation process:

first  WLS+OEPE
and after some time the: OSB





WebLogic Server

Referencia: http://desarrolloconsoa.blogspot.com/2013/07/conversion-de-servicios-soap-restjson.html 

PENTAHO DATA INTEGRATION INSTALLATION IN LINUX

Just download the binany :pdi-5.2.0.0-209-x64.bin, from the page.

After that give permissions like this: chmod 777 pdi-5.2.0.0-209-x64.bin
after that execute: ./pdi-5.2.0.0-209-x64.bin
and thats it.

reference
 http://www.knowpentaho.com/2013/11/pentaho-data-integration-pdi-501.html

Case when driver is missing:

http://www.knowpentaho.com/2014/02/pentaho-common-errors-driver-class.html

SOA ORACLE

return on investment (ROI)
Web services inspection language (WSIL)
Universal description, discover, and integration (UDDI)




usiness process execution language (BPEL)
was submitted to the Organization for the Advancement of Structured Information Standards (OASIS) in March 2003

(predecessor languages of XLANG and WSFL)


  • Web services/WSDL as component model
  • XML as data model (data loose-coupling)
  • Synchronous and asynchronous message exchange patterns
  • Deterministic and nondeterministic flow coordination
  • Hierarchical exception management
  • Long-running unit of work/compensation





web services description language (WSDL)
extensible markup language (XML)
simple object access protocol (SOAP)



Making Web services work is a two-step process:
  1. Publish the services.
    Publishing a service involves taking a function within an existing application or system and making it available in a standard way.
  2. Compose, or orchestrate, the services into business flows.
    Orchestration involves composing multiple services into an end-to-end business process.



synchronous and asynchronous services 
dehydration capability that enables the states of long-running flows to be automatically maintained in a database, thus enabling clustering for both fail over and scalability





Oracle BPEL Process Manager provides a user-friendly and reliable solution for designing, deploying, and managing BPEL business processes.


 bindings to hundreds of legacy systems through Java connector architecture (JCA) adapters
Bindings are available for JMS, e-mail, JCA, HTTP GET, HTTP POST, and many other protocols enabling simple connectivity to hundreds of back-end systems.

lunes, 24 de noviembre de 2014

TORTOISE SVN

http://tortoisesvn.net/docs/release/TortoiseSVN_en/

Subcarpetas

dir /s /b > print.txt

http://www.ehowenespanol.com/enlistar-todos-archivos-carpeta-subcarpetas-archivo-texto-como_228599/



http://lifehacker.com/create-new-directories-and-subdirectories-with-one-term-508906709

Text 2 folder

viernes, 21 de noviembre de 2014

ORACLE SUITE

Interfaces estandar de BUS Y BPEL:

Web Service Choreography Interface (WSCI) 1.0

http://www.w3.org/TR/wsci/





COLAS AQ:


https://docs.oracle.com/cd/E11882_01/server.112/e11013/aq_intro.htm#ADQUE2419 
http://www.ora-600.es/aqintro 

SOA:https:

//docs.oracle.com/middleware/1213/soasuite/SOEDG/edg_soa_topo.htm#SOEDG2477 


Oracle Enterprise Repository to Oracle Registry: 

Configuring Oracle Enterprise Repository to Exchange Metadata with the Oracle Service Registry
https://docs.oracle.com/cd/E28280_01/admin.1111/e16580/oereu.htm

http://www.oracle.com/technetwork/middleware/fmw4apps/jde/consuming-external-web-services-182155.pdf



https://docs.oracle.com/middleware/1213/soasuite/SOEDG/edg_soa_topo.htm#SOEDG112

jueves, 20 de noviembre de 2014

Sharepoint descarga carpetas en WINDOWS

Solo se debe crear una unidad de red y ya está.

Los pasos son: 
Imágenes integradas 1

y luego escribir la ruta del sharepoint y listo.

Imágenes integradas 2
 y luego queda lista la unidad.

lunes, 17 de noviembre de 2014

Oracle FLEXCUBE Universal Banking

https://docs.oracle.com/cd/E53393_01/PDF/Installation/Environment%20Setup/Security_Guide.pdf

F5 LOAD BALANCER


Load Balancer   

Reference : https://f5.com/glossary/load-balancer
glossary
A load balancer is a device that acts as a reverse proxy and distributes network or application traffic across a number of servers. Load balancers are used to increase capacity (concurrent users) and reliability of applications. They improve the overall performance of applications by decreasing the burden on servers associated with managing and maintaining application and network sessions, as well as by performing application-specific tasks.
Load balancers are generally grouped into two categories: Layer 4 and Layer 7. Layer 4 load balancers act upon data found in network and transport layer protocols (IP, TCP, FTP, UDP). Layer 7 load balancers distribute requests based upon data found in application layer protocols such as HTTP.
Requests are received by both types of load balancers and they are distributed to a particular server based on a configured algorithm. Some industry standard algorithms are:
  • Round robin
  • Weighted round robin
  • Least connections
  • Least response time
Layer 7 load balancers can further distribute requests based on application specific data such as HTTP headers, cookies, or data within the application message itself, such as the value of a specific parameter.
Load balancers ensure reliability and availability by monitoring the "health" of applications and only sending requests to servers and applications that can respond in a timely manner.

https://devcentral.f5.com/questions/idle-timeout-and-keepalive-interval

jueves, 23 de octubre de 2014

Internal Error REDMINE

Error causado por falla de redmine al instalar un plugin.


RAKE REDMINE install a plugin




INSTALLING A PLUGIN IN REDMINE

VERSION 2.3 IS GONNA BE SUCESSFULL IN REDMINE 2.3:


Following the tutorial: https://github.com/javiferrer/redmine_custom_values_projects

DOWNLOAD THE VERSION FOR 2.3.0 REDMINE:
https://github.com/javiferrer/redmine_custom_values_projects/tree/1.0.0

1. Copy the zip in the folder /u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins , and unzip it.



bash-3.2$ unzip redmine_custom_values_projects-1.0.0.zip

Archive:  redmine_custom_values_projects-1.0.0.zip
5a6f440aacc0a80a89b3307e4b2cb55302e30750
   creating: redmine_custom_values_projects-1.0.0/
  inflating: redmine_custom_values_projects-1.0.0/.gitignore
  inflating: redmine_custom_values_projects-1.0.0/LICENSE
  inflating: redmine_custom_values_projects-1.0.0/README.md
 extracting: redmine_custom_values_projects-1.0.0/README.rdoc
   creating: redmine_custom_values_projects-1.0.0/app/
   creating: redmine_custom_values_projects-1.0.0/app/controllers/
  inflating: redmine_custom_values_projects-1.0.0/app/controllers/possible_value_projects_controller.rb
   creating: redmine_custom_values_projects-1.0.0/app/helpers/
  inflating: redmine_custom_values_projects-1.0.0/app/helpers/possible_value_projects_helper.rb
   creating: redmine_custom_values_projects-1.0.0/app/models/
  inflating: redmine_custom_values_projects-1.0.0/app/models/custom_field_project_value.rb
   creating: redmine_custom_values_projects-1.0.0/app/views/
   creating: redmine_custom_values_projects-1.0.0/app/views/possible_value_projects/
  inflating: redmine_custom_values_projects-1.0.0/app/views/possible_value_projects/manage.html.erb
   creating: redmine_custom_values_projects-1.0.0/app/views/projects/
   creating: redmine_custom_values_projects-1.0.0/app/views/projects/settings/
  inflating: redmine_custom_values_projects-1.0.0/app/views/projects/settings/_possible_value_projects.html.erb
   creating: redmine_custom_values_projects-1.0.0/config/
   creating: redmine_custom_values_projects-1.0.0/config/locales/
  inflating: redmine_custom_values_projects-1.0.0/config/locales/en.yml
  inflating: redmine_custom_values_projects-1.0.0/config/routes.rb
   creating: redmine_custom_values_projects-1.0.0/db/
   creating: redmine_custom_values_projects-1.0.0/db/migrate/
  inflating: redmine_custom_values_projects-1.0.0/db/migrate/001_create_custom_field_project_values.rb
  inflating: redmine_custom_values_projects-1.0.0/init.rb
   creating: redmine_custom_values_projects-1.0.0/lib/
   creating: redmine_custom_values_projects-1.0.0/lib/redmine_custom_values_projects/
  inflating: redmine_custom_values_projects-1.0.0/lib/redmine_custom_values_projects/custom_field_patch.rb
  inflating: redmine_custom_values_projects-1.0.0/lib/redmine_custom_values_projects/project_patch.rb
  inflating: redmine_custom_values_projects-1.0.0/lib/redmine_custom_values_projects/projects_helper_patch.rb
   creating: redmine_custom_values_projects-1.0.0/test/
   creating: redmine_custom_values_projects-1.0.0/test/functional/
  inflating: redmine_custom_values_projects-1.0.0/test/functional/possible_value_projects_controller_test.rb
  inflating: redmine_custom_values_projects-1.0.0/test/test_helper.rb
   creating: redmine_custom_values_projects-1.0.0/test/unit/
  inflating: redmine_custom_values_projects-1.0.0/test/unit/custom_field_project_values_test.rb



bash-3.2$ ls
README  redmine_ckeditor  redmine_custom_values_projects-1.0.0  redmine_custom_values_projects-1.0.0.zip  redmine_knowledgebase


2. rake:

bash-3.2$ cd ..
bash-3.2$ cd ..



bash-3.2$ ls
conf  htdocs  licenses  scripts
bash-3.2$ cd htdocs/
bash-3.2$ rake redmine:plugins:migrate RAILS_ENV=production
/u01/home/app/trackbus/redmine-2.3.0-0/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /u01/home/app/trackbus/redmine-2.3.0-0 in PATH, mode 040777
Migrating redmine_ckeditor (Redmine CKEditor plugin)...
Migrating redmine_custom_values_projects (Atis Custom Fields plugin)...
Migrating redmine_knowledgebase (Knowledgebase)...

3. restart redmine

/u01/home/app/trackbus/redmine-2.3.0-0/
./ctlscript.sh restart

/u01/home/app/trackbus/redmine-2.3.0-0/subversion/scripts/ctl.sh : subversion stopped
Syntax OK
/u01/home/app/trackbus/redmine-2.3.0-0/apache2/scripts/ctl.sh : httpd stopped
/u01/home/app/trackbus/redmine-2.3.0-0/mysql/scripts/ctl.sh : mysql stopped
141023 12:49:34 mysqld_safe Logging to '/u01/home/app/trackbus/redmine-2.3.0-0/mysql/data/mysqld.log'.
141023 12:49:34 mysqld_safe Starting mysqld.bin daemon with databases from /u01/home/app/trackbus/redmine-2.3.0-0/mysql/data
/u01/home/app/trackbus/redmine-2.3.0-0/mysql/scripts/ctl.sh : mysql  started at port 3308
Syntax OK
/u01/home/app/trackbus/redmine-2.3.0-0/apache2/scripts/ctl.sh : httpd started at port 8081
/u01/home/app/trackbus/redmine-2.3.0-0/subversion/scripts/ctl.sh : subversion started at port 3690



VERSION FOR 2.5 : redmine_custom_values_projects-master
IS GONNA FAIL IN 2.3 REDMINE:



Following the tutorial: https://github.com/javiferrer/redmine_custom_values_projects



1. Copy the zip in the folder /u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins , and unzip it.

2. rake:

[machine@localhost redmine-2.3.0-0]$ ls
apache2        git                    perl            ruby        uninstall.dat
apps           img                    php             scripts     use_redmine
changelog.txt  licenses               postgresql      sqlite
common         manager-linux-x64.run  properties.ini  subversion
ctlscript.sh   mysql                  README.txt      uninstall


for execute RAKE!
[machine@localhost redmine-2.3.0-0]$ ./use_redmine
bash-3.2$ ls
apache2        git                    perl            ruby        uninstall.dat
apps           img                    php             scripts     use_redmine
changelog.txt  licenses               postgresql      sqlite
common         manager-linux-x64.run  properties.ini  subversion
ctlscript.sh   mysql                  README.txt      uninstall

bash-3.2$ ./use_redmine

bash-3.2$ cd apps/redmine/
bash-3.2$ ls
conf  htdocs  licenses  scripts

bash-3.2$ cd htdocs/
bash-3.2$ ls
app     config.ru  extra    Gemfile.lock  plugins   README.rdoc  tmp
bin     db         files    lib           public    script       vendor
config  doc        Gemfile  log           Rakefile  test

bash-3.2$ rake redmine:plugins:migrate RAILS_ENV=production

/u01/home/app/trackbus/redmine-2.3.0-0/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /u01/home/app/trackbus/redmine-2.3.0-0 in PATH, mode 040777
rake aborted!
/u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins/redmine_custom_values_projects-master/init.rb:27: invalid multibyte char (US-ASCII)
/u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins/redmine_custom_values_projects-master/init.rb:27: invalid multibyte char (US-ASCII)
/u01/home/app/trackbus/redmine-2.3.0-0/apps/redmine/htdocs/plugins/redmine_custom_values_projects-master/init.rb:27: syntax error, unexpected $end, expecting keyword_end
  author 'Francisco Javier Pérez Ferrer'
                              ^
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

3. restart redmine
/u01/home/app/trackbus/redmine-2.3.0-0/
./ctlscript.sh restart

HOW TO KNOW WHAT LINUX DISTRO I HAVE



Distro:


cat /etc/*-release

Red Hat Enterprise Linux Server release 5.3 (Tikanga)


 lsb_release -a

LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Release:        5.3
Codename:       Tikanga


Kernel Version:

Linux dnsNameOfthecomputer 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux


uname -mrs
Linux 2.6.18-128.el5 x86_64


  1. Linux - Kernel name
  2. 2.6.32-5-amd64 - Kernel version number
  3. x86_64 - Machine hardware name (64 bit)
unzip:

unzip namefile.zip

UNIX FAMILY




http://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Unix_timeline.en.svg/2000px-Unix_timeline.en.svg.png 

LINUX COMMANDS

ps -fea    all process
ps -e      all process



[trackbus@accra ~]$ ps -
ERROR: Garbage option.
********* simple selection *********  ********* selection by list *********
-A all processes                      -C by command name
-N negate selection                   -G by real group ID (supports names)
-a all w/ tty except session leaders  -U by real user ID (supports names)
-d all except session leaders         -g by session OR by effective group name
-e all processes                      -p by process ID
T  all processes on this terminal     -s processes in the sessions given
a  all w/ tty, including other users  -t by tty
g  OBSOLETE -- DO NOT USE             -u by effective user ID (supports names)
r  only running processes             U  processes for specified users
x  processes w/o controlling ttys     t  by tty
*********** output format **********  *********** long options ***********
-o,o user-defined  -f full            --Group --User --pid --cols --ppid
-j,j job control   s  signal          --group --user --sid --rows --info
-O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-l,l long          u  user-oriented   --sort --tty --forest --version
-F   extra full    X  registers       --heading --no-heading --context
                    ********* misc options *********
-V,V  show version      L  list format codes  f  ASCII art forest
-m,m,-L,-T,H  threads   S  children in sum    -y change -l format
-M,Z  security data     c  true command name  -c scheduling class
-w,w  wide output       n  numeric WCHAN,UID  -H process hierarchy



[trackbus@accra ~]$ ls --help
Usage: ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort.

Mandatory arguments to long options are mandatory for short options too.
  -a, --all                  do not ignore entries starting with .
  -A, --almost-all           do not list implied . and ..
      --author               with -l, print the author of each file
  -b, --escape               print octal escapes for nongraphic characters
      --block-size=SIZE      use SIZE-byte blocks
  -B, --ignore-backups       do not list implied entries ending with ~
  -c                         with -lt: sort by, and show, ctime (time of last
                               modification of file status information)
                               with -l: show ctime and sort by name
                               otherwise: sort by ctime
  -C                         list entries by columns
      --color[=WHEN]         control whether color is used to distinguish file
                               types.  WHEN may be `never', `always', or `auto'
  -d, --directory            list directory entries instead of contents,
                               and do not dereference symbolic links
  -D, --dired                generate output designed for Emacs' dired mode
  -f                         do not sort, enable -aU, disable -lst
  -F, --classify             append indicator (one of */=>@|) to entries
      --file-type            likewise, except do not append `*'
      --format=WORD          across -x, commas -m, horizontal -x, long -l,
                               single-column -1, verbose -l, vertical -C
      --full-time            like -l --time-style=full-iso
  -g                         like -l, but do not list owner
  -G, --no-group             like -l, but do not list group
  -h, --human-readable       with -l, print sizes in human readable format
                               (e.g., 1K 234M 2G)
      --si                   likewise, but use powers of 1000 not 1024
  -H, --dereference-command-line
                             follow symbolic links listed on the command line
      --dereference-command-line-symlink-to-dir
                             follow each command line symbolic link
                             that points to a directory
      --hide=PATTERN         do not list implied entries matching shell PATTERN
                               (overridden by -a or -A)
      --indicator-style=WORD append indicator with style WORD to entry names:
                               none (default), slash (-p),
                               file-type (--file-type), classify (-F)
  -i, --inode                with -l, print the index number of each file
  -I, --ignore=PATTERN       do not list implied entries matching shell PATTERN
  -k                         like --block-size=1K
  -l                         use a long listing format
  -L, --dereference          when showing file information for a symbolic
                               link, show information for the file the link
                               references rather than for the link itself
  -m                         fill width with a comma separated list of entries
  -n, --numeric-uid-gid      like -l, but list numeric user and group IDs
  -N, --literal              print raw entry names (don't treat e.g. control
                               characters specially)
  -o                         like -l, but do not list group information
  -p, --indicator-style=slash
                             append / indicator to directories
  -q, --hide-control-chars   print ? instead of non graphic characters
      --show-control-chars   show non graphic characters as-is (default
                             unless program is `ls' and output is a terminal)
  -Q, --quote-name           enclose entry names in double quotes
      --quoting-style=WORD   use quoting style WORD for entry names:
                               literal, locale, shell, shell-always, c, escape
  -r, --reverse              reverse order while sorting
  -R, --recursive            list subdirectories recursively
  -s, --size                 with -l, print size of each file, in blocks
  -S                         sort by file size
      --sort=WORD            extension -X, none -U, size -S, time -t,
                             version -v, status -c, time -t, atime -u,
                             access -u, use -u
      --time=WORD            with -l, show time as WORD instead of modification
                             time: atime, access, use, ctime or status; use
                             specified time as sort key if --sort=time
      --time-style=STYLE     with -l, show times using style STYLE:
                             full-iso, long-iso, iso, locale, +FORMAT.
                             FORMAT is interpreted like `date'; if FORMAT is
                             FORMAT1FORMAT2, FORMAT1 applies to
                             non-recent files and FORMAT2 to recent files;
                             if STYLE is prefixed with `posix-', STYLE
                             takes effect only outside the POSIX locale
  -t                         sort by modification time
  -T, --tabsize=COLS         assume tab stops at each COLS instead of 8
  -u                         with -lt: sort by, and show, access time
                               with -l: show access time and sort by name
                               otherwise: sort by access time
  -U                         do not sort; list entries in directory order.
                             In combination with one_per_line format `-1',
                             it will show files immediately and it has no
                             memory limitations.
  -v                         sort by version
  -w, --width=COLS           assume screen width instead of current value
  -x                         list entries by lines instead of by columns
  -X                         sort alphabetically by entry extension
  -1                         list one file per line

SELinux options:

      --lcontext             Display security context.   Enable -l. Lines
                               will probably be too wide for most displays.
      -Z, --context          Display security context so it fits on most
                               displays.  Displays only mode, user, group,
                               security context and file name.
      --scontext             Display only security context and file name.


      --help     display this help and exit
      --version  output version information and exit

SIZE may be (or may be an integer optionally followed by) one of following:
kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.

By default, color is not used to distinguish types of files.  That is
equivalent to using --color=none.  Using the --color option without the
optional WHEN argument is equivalent to using --color=always.  With
--color=auto, color codes are output only if standard output is connected
to a terminal (tty).  The environment variable LS_COLORS can influence the
colors, and can be set easily by the dircolors command.

Exit status is 0 if OK, 1 if minor problems, 2 if serious trouble.

Report bugs to .


Search by the first word red: ls .d red*



miércoles, 22 de octubre de 2014

Redmine- Project Management System/ Gestión de Proyectos Workflow Allowed

Plugins:
http://www.redmine.org/plugins?page=1

Base de datos:



IMPORTANT THINGS:
The issues history is saved in the tables: Journals and journal_details. and all the information about issues and issues custom fields are there. 

The location of the plugins folder of redmine is:
/redmine/apps/redmine/htdocs/plugins


STARTING AND STOPPING BITNAMI SUBVERSION

You can start and stop Bitnami Subversion on Windows using the shortcuts created
in the Start Menu, under Programs -> Bitnami -> Bitnami Service on Windows.

To start/stop/restart application on Linux or OS X you can use the ctlscript.sh
utility:

       ./ctlscript.sh (start|stop|restart)
       ./ctlscript.sh (start|stop|restart) apache
       ./ctlscript.sh (start|stop|restart) subversion

  start      - start the service(S)
  stop       - stop  the service(S)
  restart    - restart or start the service(S)
 subversion not running
Syntax OK
/u01/home/app/trackbus/redmine-2.3.0-0/apache2/scripts/ctl.sh : apache not running
/u01/home/app/trackbus/redmine-2.3.0-0/mysql/scripts/ctl.sh : mysql not running



services: 3
apache
subversion
mysql






maquina virtual de VMWARE A VIRTUALBOX

http://www.howtogeek.com/125640/how-to-convert-virtual-machines-between-virtualbox-and-vmware/

lunes, 22 de septiembre de 2014

Send message to a JMS QUEUE using HERMES

http://weblogicissuesolutions.blogspot.com/2011/06/steps-to-configure-hermesjms-console-to.html

Web logic resolution:
http://www.developerfeed.com/hermes-jms-setup-common-issues

martes, 29 de julio de 2014

NoSuchElementException

http://stackoverflow.com/questions/8032099/no-such-element-exception 

Convert Calendar to Date in Java

Converting is easy, setting date and time is a little tricky. Here's an example:
Calendar cal = Calendar.getInstance();
cal.set(Calendar.YEAR, 2000);
cal.set(Calendar.MONTH, 0);
cal.set(Calendar.DAY_OF_MONTH, 1);
cal.set(Calendar.HOUR_OF_DAY, 1);
cal.set(Calendar.MINUTE, 1);
cal.set(Calendar.SECOND, 0);
cal.set(Calendar.MILLISECOND, 0);
stmt.setDate(1, new java.sql.Date(cal.getTimeInMillis()));

martes, 22 de julio de 2014

java.sql.SQLException: ORA-01403: no data found ORA-06512

se esperaba return procedure oracle.

java.sql.SQLException: ORA-01403: no data found ORA-06512

Debido a que existe un error al momento de escribir el procedimiento, recordar q debe ser escrito asi:

DECLARE
  RetVal VARCHAR2(32767);
  ID_EVAL VARCHAR2(32767);

BEGIN
  ID_EVAL := 111111;

  RetVal := PHOSTOCLDS.FUN_NOMBRE_FUNCION ( ID_EVAL );
  COMMIT;

END;

Y NO ASI:

DECLARE
  RetVal VARCHAR2(32767);
  ID_EVAL VARCHAR2(32767);

BEGIN
  ID_EVAL := 111111;

  RetVal := PHOSTOCLDS.FUN_NOMBRE_FUNCION ( ID_EVAL IN VARCHAR2);
  COMMIT;

END;

Could not publish the server

1. kill the oracle.exe process if it is occuping 8080 same port of the server.
2. 





Cerrar eclipse,
Eliminar carpetas mostradas arriba
Inicar eclipse

 Se inicia el server se corre la app

The AXIS engine could not find a target service to invoke!

Hey dear, you have only to change the endpoint path... ! check it out!!!!!!!!!!!!!

1. copy the wsdl of the server ws
2. generate client clases binding stub and other classes that allow the communication thought the web service tool of eclipse.
3. change the endpoint! correctly:

newService=http://ip:port/nameOfWSOperation/services/nameOfWSwsdl





AXIS IWAB0489E Error when deploying Web service to Axis runtime axis-admin failed with {http://xml.apache.org/axis/}HTTP (404)Not found

Error:
IWAB0489E Error when deploying Web service to Axis runtime
  axis-admin failed with  {http://xml.apache.org/axis/}HTTP (404)Not found

The solution for this problem is:


1. control+ alt+ sup , delete the oracle.exe process because maybe it is running in the same port of eclipse.
2. click in the proyect and clean it project - clean
3. right click in the server and clean
4. close eclipse
5. clean the project
6. debug eclipse
7. click on the project and web service, generate web service.