INTERFAZ
BUEN DÍA...
Realice 12 VI, los cuales representan gráficas de varias condiciones de trabajo... pero quisiera ver la manera de presentar en un "TAB CONTROL" todos los VI en uno solo; hasta ahora solo pude introducir lo de una sola condición de trabajo (a cada condición de trabajo le pertenecen 4 gráficas) , pero necesito que dentro del "TAB CONTROL" existan botones que me lleven a las demás condiciones de trabajo sin necesidad de añadir mas paginas.
es decir que tenga botones que al dar clic vinculen automáticamente a los otros VI.
Las gráficas son superficies de respuesta, las cuales tiene dos variables independientes (x,y) y una dependiente (z), ademas de estas graficas 3D necesito representar los datos atraves del tiempo... mi otra duda es ¿como podría graficar los mismos datos ahora en graficas 2D, por ejemplo que me muestren solo el comportamiento de mi respuesta (z) con (y) y (x), ademas de mostrar mi respuesta (z) con el tiempo.
Anexo el VI para que ***** visualice mejor la idea en la que necesito que me apoyen.
De antemano muchas gracias.
Adjuntos:
interfaz.vi 36 KB
Buenas tardes Yusani,
Espero haber entendido su punto.
Basicamente lo que realizamos fue una estructura de casos en la cual, estamos ligando cada una de las formulas que utilizo por medio de un Enum.
Un (control enumerado, constante o indicador) enum es una combinación de tipos de datos. Una enumeración representa un par de valores, una cadena y un valor numérico, donde la enumeración puede ser uno de una lista de valores. Por ejemplo, si ha creado un tipo de enumeración llamado Mes, los posibles pares de valores para una variable Mes son enero-0, febrero-1, y así sucesivamente hasta diciembre-11.
En este caso, a cada formula la denominamos caso1, caso2, caso3 y caso4.
Por ejemplo en el caso1 esta involucrado agitacion con enfriamiento. Asi sucesivamente con los demas casos.
Para complementar te envío en el siguiente link que es una estructura de casos.
http://www.ni.com/getting-started/labview-basics/data-structures#enums
Te comparto el VI modificado esperando que sea de gran ayuda.
Quedo en espera de sus comentarios.
Alejandro Sosa
Adjuntos:
Caso 1 foro.vi 30 KB
Similar Messages
-
Al abrir final cut no aparace la interfaz
Al abrir final cut P^ro X, no aparace la interfaz. ¿Alguien puede decirme cómo resolver el problema?
which version of FCPX are you using?
btmk, Spanish as interface-language came up lately (v10.1) ..... -
Rendimiento interfaz Premiere 2560x1440
Hola,
He ampliado mi equipo con dos monitores dreamcolor z27x (2560x1440 cada uno) y he notado que la interfaz de Premiere se relentiza a la hora de editar.
¿Si amplio la tarjeta gráfica se solventará el problema o es una cuestión de CPU?
Gracias.
2 x Intel Xeon E5640 2,67GHz (2x4 núcleos)
64GB RAM
Windows 7 Professional 64bits
Quadro FX 3800Puede ser de ambas cosas, aunque por lo que indicas si es la representación en pantalla el responsable de esas tareas es la tarjeta gráfica especialmente.
El modelo de la tarjeta Quadro es de los mas bajos, actualmente, de la gama Quadro, aunque el precio de estas es elevado (posiblemente como cuando compraste la FX3800).
Un modelo como Quadro K2200 sería el punto de partida. Una Quadro K4200 es excelente pero duplica el coste de la anterior.
Los procesadores son excelentes, aunque sus casi 5 años hacen que un i7 actual duplique sus CPU benchmarks.
Unidades como Xeon E5-1620 v2 a menos de US$300 casi duplican el rendimiento de los que tienes. El modelo E5-1650 v2 incluso es mejor pero vuelve a duplicar ese precio.
Cambiar de modelo tarjeta gráfica es compatible con la placa de tu estación gráfica, pero quizás un cambio de CPUs no lo sea con el zócalo de los procesadores. -
Puede hacerce una interfaz GPI a bluetooth?
Hola a todos,
Existe un dispositivo que me permita realizar una comunicación entre un equipo de medida con GPIB y un bluetooht del PC mediante LABVIEW para no usar cables en la comunicación?Buenas tardes lebado,
Primero que nada, quisiera dejarte una liga donde hay muchisima información y apoyo relacionado con la comunidad académica, pics, etc.
www.ni.com/comunidadacademica
Ahí encontrarás mucha información relacionada a lo que pregutnas.
Ahora, sobre como escribir un txt o un excel, te recomendaría utilizar el Write to Spreadsheet vi que ya directamente escribe los datos, separados por tabuladores.
Espero que sea de ayuda!
Saludos,
Luis Fernando
National Instruments Cono Sur
Ingeniería de Campo y Consultoría
http://chile.ni.com/ -
Problem with performance in a code.
Hi People! I have problems with the performance of this program. The tables that I use have much data and the program take two hours to finish.
Please, some one tell me how can I make a better performance.
Thanks!
This is the program:
TABLES:
faglflext, "Saldos mensuales por cta.
contable y prf center.
zavg_bal_table,
skat. "Chart of accounts
********************INTERNAL TABLE DEFINITION***************************
DATA: BEGIN OF t_itab1 OCCURS 0.
DATA: rbukrs TYPE faglflext-rbukrs. "Company Code
DATA: racct TYPE faglflext-racct. "Account ID
DATA: prctr TYPE faglflext-prctr. "Profit Center
DATA: kslvt TYPE faglflext-kslvt. "Total of the period in group currency
DATA: ksl01 TYPE faglflext-ksl01. "Total of the period in group currency
DATA: ksl02 TYPE faglflext-ksl02. "Total of the period in group currency
DATA: ksl03 TYPE faglflext-ksl03. "Total of the period in group currency
DATA: ksl04 TYPE faglflext-ksl04. "Total of the period in group currency
DATA: ksl05 TYPE faglflext-ksl05. "Total of the period in group currency
DATA: ksl06 TYPE faglflext-ksl06. "Total of the period in group currency
DATA: ksl07 TYPE faglflext-ksl07. "Total of the period in group currency
DATA: ksl08 TYPE faglflext-ksl08. "Total of the period in group currency
DATA: ksl09 TYPE faglflext-ksl09. "Total of the period in group currency
DATA: ksl10 TYPE faglflext-ksl10. "Total of the period in group currency
DATA: ksl11 TYPE faglflext-ksl11. "Total of the period in group currency
DATA: ksl12 TYPE faglflext-ksl12. "Total of the period in group currency
DATA: ksl13 TYPE faglflext-ksl13. "Total of the period in group currency
DATA: ksl14 TYPE faglflext-ksl14. "Total of the period in group currency
DATA: ksl15 TYPE faglflext-ksl15. "Total of the period in group currency
DATA: ksl16 TYPE faglflext-ksl16. "Total of the period in group currency
DATA: rldnr TYPE faglflext-rldnr. "Ledger in GL Accounting
DATA: rtcur TYPE faglflext-rtcur. "Currency Key
DATA: txt20 TYPE skat-txt20. "Description Text
DATA: saknr TYPE skat-saknr. "G/L account number
DATA: ktopl TYPE skat-ktopl. "Chart of Accounts
DATA: rpmax TYPE faglflext-rpmax. "Period
DATA: total_sum LIKE faglflext-ksl01. "Amount of the first month
DATA: ryear LIKE faglflext-ryear. "Fiscal Year
DATA: year LIKE faglflext-ryear. "Past Year
DATA: day_a TYPE sy-datum.
DATA: per_day TYPE rr_umper.
DATA: average TYPE vtcur12.
DATA: agregate TYPE vtcur12.
DATA: accumulate TYPE vtcur12.
DATA: average_sap TYPE rr_umper.
DATA: END OF t_itab1.
DATA: BEGIN OF t_itab2 OCCURS 0.
DATA: rbukrs TYPE faglflext-rbukrs. "Company Code
DATA: racct TYPE faglflext-racct. "Account ID
DATA: prctr TYPE faglflext-prctr. "Profit Center
DATA: kslvt TYPE faglflext-kslvt. "Total of the period in group currency
DATA: ksl01 TYPE faglflext-ksl01. "Total of the period in group currency
DATA: ksl02 TYPE faglflext-ksl02. "Total of the period in group currency
DATA: ksl03 TYPE faglflext-ksl03. "Total of the period in group currency
DATA: ksl04 TYPE faglflext-ksl04. "Total of the period in group currency
DATA: ksl05 TYPE faglflext-ksl05. "Total of the period in group currency
DATA: ksl06 TYPE faglflext-ksl06. "Total of the period in group currency
DATA: ksl07 TYPE faglflext-ksl07. "Total of the period in group currency
DATA: ksl08 TYPE faglflext-ksl08. "Total of the period in group currency
DATA: ksl09 TYPE faglflext-ksl09. "Total of the period in group currency
DATA: ksl10 TYPE faglflext-ksl10. "Total of the period in group currency
DATA: ksl11 TYPE faglflext-ksl11. "Total of the period in group currency
DATA: ksl12 TYPE faglflext-ksl12. "Total of the period in group currency
DATA: ksl13 TYPE faglflext-ksl13. "Total of the period in group currency
DATA: ksl14 TYPE faglflext-ksl14. "Total of the period in group currency
DATA: ksl15 TYPE faglflext-ksl15. "Total of the period in group currency
DATA: ksl16 TYPE faglflext-ksl16. "Total of the period in group currency
DATA: rldnr TYPE faglflext-rldnr. "Ledger in GL Accounting
DATA: rtcur TYPE faglflext-rtcur. "Currency Key
DATA: txt20 TYPE skat-txt20. "Description Text
DATA: saknr TYPE skat-saknr. "G/L account number
DATA: ktopl TYPE skat-ktopl. "Chart of Accounts
DATA: rpmax TYPE faglflext-rpmax. "Period
DATA: total_sum LIKE faglflext-ksl01. "Amount of the first month
DATA: ryear LIKE faglflext-ryear. "Fiscal Year
DATA: year LIKE faglflext-ryear. "Past Year
DATA: END OF t_itab2.
DATA: BEGIN OF t_zavg OCCURS 0.
DATA: bukrs TYPE bukrs.
DATA: racct TYPE racct.
DATA: prctr TYPE prctr.
DATA: day_a TYPE sy-datum.
DATA: per_day TYPE rr_umper.
DATA: average TYPE vtcur12.
DATA: agregate TYPE vtcur12.
DATA: accumulate TYPE vtcur12.
DATA: average_sap TYPE rr_umper.
DATA: END OF t_zavg.
DATA: BEGIN OF t_zavg2 OCCURS 0.
DATA: day_a TYPE sy-datum.
DATA: racct TYPE racct.
DATA: prctr TYPE prctr.
DATA: per_day TYPE rr_umper.
DATA: average TYPE vtcur12.
DATA: agregate TYPE vtcur12.
DATA: accumulate TYPE vtcur12.
DATA: average_sap TYPE rr_umper.
DATA: END OF t_zavg2.
* Variable definition *
DATA: balance_month_01 LIKE faglflext-ksl01.
DATA: balance_month_02 LIKE faglflext-ksl01.
DATA: balance_month_03 LIKE faglflext-ksl01.
DATA: balance_month_04 LIKE faglflext-ksl01.
DATA: balance_month_05 LIKE faglflext-ksl01.
DATA: balance_month_06 LIKE faglflext-ksl01.
DATA: balance_month_07 LIKE faglflext-ksl01.
DATA: balance_month_08 LIKE faglflext-ksl01.
DATA: balance_month_09 LIKE faglflext-ksl01.
DATA: balance_month_10 LIKE faglflext-ksl01.
DATA: balance_month_11 LIKE faglflext-ksl01.
DATA: balance_month_12 LIKE faglflext-ksl01.
DATA: balance_month_13 LIKE faglflext-ksl01.
DATA: current_average_balance LIKE zavg_bal_table-average.
DATA: current_balance LIKE faglflext-ksl01.
DATA: current_activity_balance LIKE faglflext-ksl01.
DATA: current_aggregate_balance LIKE zavg_bal_table-agregate.
DATA: average_balance_ytd LIKE zfintbco0001-period_avg_12.
DATA: count TYPE i.
DATA: wa_itab LIKE LINE OF t_itab1.
DATA: wa_low LIKE LINE OF t_itab1.
DATA: wa_high LIKE LINE OF t_itab1.
DATA: wa_itab2 LIKE LINE OF t_itab2.
DATA: wa_zavg2 LIKE LINE OF t_zavg2.
DATA: wa_zavg LIKE LINE OF t_zavg.
DATA: t_acum TYPE i.
DATA: companycode TYPE faglflext-rbukrs.
DATA: descripcion TYPE skat-txt20.
DATA: oref TYPE REF TO cx_root,
emsg TYPE zedesc,
param1 TYPE zparm,
parm1 TYPE zparm.
DATA: avg1 TYPE faglflext-ksl01. "AVG = AVERAGE
DATA: avg2 TYPE faglflext-ksl01.
DATA: avg3 TYPE faglflext-ksl01.
DATA: avg4 TYPE faglflext-ksl01.
DATA: avg5 TYPE faglflext-ksl01.
DATA: avg6 TYPE faglflext-ksl01.
DATA: avg7 TYPE faglflext-ksl01.
DATA: avg8 TYPE faglflext-ksl01.
DATA: avg9 TYPE faglflext-ksl01.
DATA: avg10 TYPE faglflext-ksl01.
DATA: avg11 TYPE faglflext-ksl01.
DATA: avg12 TYPE faglflext-ksl01.
DATA: conteo TYPE i.
DATA: conteo2 TYPE i.
DATA: numerocta TYPE faglflext-racct.
DATA: profitcenter TYPE faglflext-prctr.
DATA: average_month_01 TYPE zavg_bal_table-average.
DATA: aggregate_month_01 TYPE zavg_bal_table-agregate.
DATA: average_month_02 TYPE zavg_bal_table-average.
DATA: aggregate_month_02 TYPE zavg_bal_table-agregate.
DATA: average_month_03 TYPE zavg_bal_table-average.
DATA: aggregate_month_03 TYPE zavg_bal_table-agregate.
DATA: average_month_04 TYPE zavg_bal_table-average.
DATA: aggregate_month_04 TYPE zavg_bal_table-agregate.
DATA: average_month_05 TYPE zavg_bal_table-average.
DATA: aggregate_month_05 TYPE zavg_bal_table-agregate.
DATA: average_month_06 TYPE zavg_bal_table-average.
DATA: aggregate_month_06 TYPE zavg_bal_table-agregate.
DATA: average_month_07 TYPE zavg_bal_table-average.
DATA: aggregate_month_07 TYPE zavg_bal_table-agregate.
DATA: average_month_08 TYPE zavg_bal_table-average.
DATA: aggregate_month_08 TYPE zavg_bal_table-agregate.
DATA: average_month_09 TYPE zavg_bal_table-average.
DATA: aggregate_month_09 TYPE zavg_bal_table-agregate.
DATA: average_month_10 TYPE zavg_bal_table-average.
DATA: aggregate_month_10 TYPE zavg_bal_table-agregate.
DATA: average_month_11 TYPE zavg_bal_table-average.
DATA: aggregate_month_11 TYPE zavg_bal_table-agregate.
DATA: average_month_12 TYPE zavg_bal_table-average.
DATA: aggregate_month_12 TYPE zavg_bal_table-agregate.
DATA: ano TYPE i.
DATA: ano_pasado TYPE i.
DATA: ano_corriente TYPE i.
DATA: mesdia TYPE adb_pfrom.
DATA: firstline TYPE i.
DATA: kslvt TYPE faglflext-kslvt.
DATA: ksl01 TYPE faglflext-ksl01.
DATA: ksl02 TYPE faglflext-ksl02.
DATA: ksl03 TYPE faglflext-ksl03.
DATA: ksl04 TYPE faglflext-ksl04.
DATA: ksl05 TYPE faglflext-ksl05.
DATA: ksl06 TYPE faglflext-ksl06.
DATA: ksl07 TYPE faglflext-ksl07.
DATA: ksl08 TYPE faglflext-ksl08.
DATA: ksl09 TYPE faglflext-ksl09.
DATA: ksl10 TYPE faglflext-ksl10.
DATA: ksl11 TYPE faglflext-ksl11.
DATA: ksl12 TYPE faglflext-ksl12.
DATA: ksl13 TYPE faglflext-ksl13.
DATA: ksl14 TYPE faglflext-ksl14.
DATA: ksl15 TYPE faglflext-ksl15.
DATA: ksl16 TYPE faglflext-ksl16.
DATA: itab_kslvt TYPE faglflext-kslvt.
DATA: itab_ksl01 TYPE faglflext-ksl01.
DATA: itab_ksl02 TYPE faglflext-ksl02.
DATA: itab_ksl03 TYPE faglflext-ksl03.
DATA: itab_ksl04 TYPE faglflext-ksl04.
DATA: itab_ksl05 TYPE faglflext-ksl05.
DATA: itab_ksl06 TYPE faglflext-ksl06.
DATA: itab_ksl07 TYPE faglflext-ksl07.
DATA: itab_ksl08 TYPE faglflext-ksl08.
DATA: itab_ksl09 TYPE faglflext-ksl09.
DATA: itab_ksl10 TYPE faglflext-ksl10.
DATA: itab_ksl11 TYPE faglflext-ksl11.
DATA: itab_ksl12 TYPE faglflext-ksl12.
DATA: itab_ksl13 TYPE faglflext-ksl13.
DATA: itab_ksl14 TYPE faglflext-ksl14.
DATA: itab_ksl15 TYPE faglflext-ksl15.
DATA: itab_ksl16 TYPE faglflext-ksl16.
DATA: itab_bal00 TYPE faglflext-kslvt.
DATA: itab_bal01 TYPE faglflext-ksl01.
DATA: itab_bal02 TYPE faglflext-ksl02.
DATA: itab_bal03 TYPE faglflext-ksl03.
DATA: itab_bal04 TYPE faglflext-ksl04.
DATA: itab_bal05 TYPE faglflext-ksl05.
DATA: itab_bal06 TYPE faglflext-ksl06.
DATA: itab_bal07 TYPE faglflext-ksl07.
DATA: itab_bal08 TYPE faglflext-ksl08.
DATA: itab_bal09 TYPE faglflext-ksl09.
DATA: itab_bal10 TYPE faglflext-ksl10.
DATA: itab_bal11 TYPE faglflext-ksl11.
DATA: itab_bal12 TYPE faglflext-ksl12.
DATA: itab_bal13 TYPE faglflext-ksl13.
DATA: itab_bal14 TYPE faglflext-ksl14.
DATA: itab_bal15 TYPE faglflext-ksl15.
DATA: itab_bal16 TYPE faglflext-ksl16.
DATA: numero_de_cta TYPE faglflext-racct.
DATA: company_code TYPE faglflext-rbukrs.
DATA: profit_center TYPE faglflext-prctr.
DATA: currency_code TYPE faglflext-rtcur.
DATA: average_month TYPE zavg_bal_table-average.
DATA: aggregate_month TYPE zavg_bal_table-agregate.
* VARIABLES FOR INTERFACES LOG
DATA: v_tipo TYPE zzfinbc85typede VALUE 1. "Tipo 1 = OUT
DATA: v_nom_int(9) TYPE c VALUE 'ZFINFII00'. "Nombre de la interfaz
DATA: v_modulo(2) TYPE c VALUE 'FI'. "Modulo
DATA: v_comp_code(4) TYPE c VALUE '0000'. "Compañia 0000
DATA: v_alegacy(4) TYPE c VALUE '0001'.
DATA: v_fecha TYPE d.
DATA: v_error2(3) TYPE c VALUE 'E'.
DATA: l_sys_exc TYPE REF TO cx_ai_system_fault.
DATA: last_day TYPE sy-datum.
DATA: numero_mes TYPE i.
DATA: ryear TYPE faglflext-ryear.
DATA: numero_cuenta TYPE faglflext-racct.
DATA: numero_profit TYPE faglflext-prctr.
DATA: day_a TYPE i.
DATA: text(20) TYPE c.
*Acknowledge
DATA: lo_async_messaging TYPE REF TO if_wsprotocol_async_messaging,
lo_msg_id_protocol TYPE REF TO if_wsprotocol_message_id,
l_msg_id TYPE sxmsguid,
l_ack_request TYPE prx_ack_request_details.
DATA: fecha TYPE sy-datum.
DATA: fecha_ejecutandose TYPE sy-datum.
DATA: fecha_corriente TYPE i.
DATA: jan_fin TYPE sy-datum.
DATA: feb_fin TYPE sy-datum.
DATA: febb_fin TYPE sy-datum.
DATA: mar_fin TYPE sy-datum.
DATA: apr_fin TYPE sy-datum.
DATA: may_fin TYPE sy-datum.
DATA: jun_fin TYPE sy-datum.
DATA: jul_fin TYPE sy-datum.
DATA: aug_fin TYPE sy-datum.
DATA: sep_fin TYPE sy-datum.
DATA: oct_fin TYPE sy-datum.
DATA: nov_fin TYPE sy-datum.
DATA: dec_fin TYPE sy-datum.
DATA: porciento1 TYPE faglflext-ksl01.
DATA: porciento2 TYPE faglflext-ksl01.
DATA: porciento3 TYPE faglflext-ksl01.
DATA: porciento4 TYPE faglflext-ksl01.
DATA: porciento5 TYPE faglflext-ksl01.
DATA: porciento6 TYPE faglflext-ksl01.
DATA: porciento7 TYPE faglflext-ksl01.
DATA: porciento8 TYPE faglflext-ksl01.
DATA: porciento9 TYPE faglflext-ksl01.
DATA: porciento10 TYPE faglflext-ksl01.
DATA: porciento11 TYPE faglflext-ksl01.
DATA: porciento12 TYPE faglflext-ksl01.
data: mes(2) type c value '00'.
data: mes_anterior type sy-datum.
data: ceros(2) type c.
*DEFINICION DE RANGOS.
RANGES profit FOR faglflext-prctr.
RANGES account FOR faglflext-racct.
RANGES end_month FOR zavg_bal_table-day_a.
*Sele asigna el fin de mes a cada variable para que sea utilizada luego en el programa.
jan_fin = '20060131'.
feb_fin = '20060228'.
febb_fin = '20060229'.
mar_fin = '20060331'.
apr_fin = '20060430'.
may_fin = '20060531'.
jun_fin = '20060630'.
jul_fin = '20060731'.
aug_fin = '20060831'.
sep_fin = '20060930'.
oct_fin = '20061031'.
nov_fin = '20061130'.
dec_fin = '20061231'.
*Inicializando las variables a valor '0'.
balance_month_01 = 0.
balance_month_02 = 0.
balance_month_03 = 0.
balance_month_04 = 0.
balance_month_05 = 0.
balance_month_06 = 0.
balance_month_07 = 0.
balance_month_08 = 0.
balance_month_09 = 0.
balance_month_10 = 0.
balance_month_11 = 0.
balance_month_12 = 0.
balance_month_13 = 0.
current_average_balance = 0.
current_balance = 0.
current_activity_balance = 0.
current_aggregate_balance = 0.
average_balance_ytd = 0.
count = 0.
t_acum = 0.
conteo = 1.
conteo2 = 1.
ceros = '00'.
*THIS IS A STRUCTURE NAMED E_SKAT. WITH THE TWO FIELDS NAMED SAKNR *
*AND TXT20. *
TYPES: BEGIN OF e_skat,
ktopl LIKE skat-ktopl,
saknr LIKE skat-saknr,
txt20 LIKE skat-txt20,
END OF e_skat.
* SORT THE STRUCTURE IN ORDER FOR BEST PERFORMANCE *
DATA it_skat TYPE SORTED TABLE OF e_skat
WITH UNIQUE KEY saknr WITH HEADER LINE.
DATA: wa_skat LIKE LINE OF it_skat.
* CONSTANT DEFINITIONS (HAVE THE SAME VALUE EVER) *
CONSTANTS:
etype TYPE zetype VALUE 'INTER', "Utilizada con la funcion de error
innum TYPE zintnum VALUE 'ZFINFII00', "Utilizada con la funcion de error
inname TYPE zinname VALUE 'Sendero and Cognos Interfase', "Utilizada con la funcion de error
c_cuenta(10) TYPE c VALUE '0000270011',
c_ol(2) TYPE c VALUE '0L',
c_chart(4) TYPE c VALUE 'CAPI', "Chart Of Accounts
c_ceros(17) TYPE n VALUE '00000000000000.00', "ceros
acct_cog(10) TYPE n VALUE '0000270011', "Numero de cta. que se busca en COGNOS.
capi(4) TYPE c VALUE 'CAPI'.
* PARAMETROS de entrada para el usuario. *
SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
PARAMETERS:
p_date TYPE sy-datum DEFAULT sy-datum. "Fecha de corrida
IF p_date IS INITIAL.
p_date = sy-datum.
ENDIF.
* PARAMETEROS DE ENTRADA POR MEDIO DE RANGOS PARA EL USUARIO *
SELECT-OPTIONS:
p_bukrs FOR faglflext-rbukrs.
SELECTION-SCREEN END OF BLOCK bl1.
*IF THE USER SELECT THIS CHECK BOX WITH A CHECK MARK THE PROGRAM *
*SUBMIT THIS INTERFACE TO. *
SELECTION-SCREEN BEGIN OF BLOCK bl2 WITH FRAME TITLE text-002.
PARAMETERS:
p_cognos TYPE c AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK bl2.
* This statement calls the subroutine specified, SENDERO or COGNOS *
IF p_cognos IS INITIAL.
PERFORM sendero.
ELSE.
PERFORM cognos.
ENDIF.
EXIT.
* SENEDERO INTERFACE *
FORM sendero.
*ESTE SELECT EXTRAE LA DATA DE LA TABLA FAGFLEXT Y SKAT
DATA: msgdetails TYPE zgl_sendero_file_dt_tab.
DATA: wa_msgdetails LIKE LINE OF msgdetails.
SELECT a~ryear a~rpmax a~rtcur a~racct a~rbukrs a~prctr
a~kslvt a~ksl01 a~ksl02 a~ksl03 a~ksl04 a~ksl05
a~ksl06 a~ksl07 a~ksl08 a~ksl09 a~ksl10 a~ksl11
a~ksl12 a~ksl13 a~ksl14 a~ksl15 a~ksl16 b~saknr
b~txt20 b~ktopl
FROM faglflext AS a INNER JOIN skat AS b ON a~racct = b~saknr AND a~rclnt = b~mandt
CLIENT SPECIFIED INTO CORRESPONDING FIELDS OF TABLE t_itab1
WHERE a~rclnt = sy-mandt
AND a~rbukrs IN p_bukrs
AND a~rldnr = '0L'
AND a~ryear = p_date+0(4)
AND b~spras EQ sy-langu
AND b~ktopl EQ 'CAPI'.
*SI NO ENCUENTRA DATA EN LA TABLA FAGLFLEXT ENVIA EL MENSAJE DE ERROR
*A LA TABLA DE ERROR.
IF sy-subrc <> 0.
MOVE 'No data found in FLAGLFLEXT or ZAVG_BAL_TABLE for this process.'(e01) TO emsg.
* PERFORM call_error_function USING emsg.
* PERFORM call_log_function_send.
MESSAGE: emsg TYPE 'E'.
ENDIF.
*EN ESTE SELECT SACO LA DESCRIPCION DE LA CUENTA
SORT t_itab1 BY racct ASCENDING.
DELETE t_itab1 WHERE racct = ''.
SORT t_itab1 BY prctr ASCENDING.
CLEAR t_itab1.
READ TABLE t_itab1 INTO wa_low INDEX 1 .
DESCRIBE TABLE t_itab1 LINES firstline.
READ TABLE t_itab1 INTO wa_high INDEX firstline.
IF wa_high-prctr = 'DUMMY'. "SI EL ULTIMO RECORD CONTIENE ALGUN 'DUMMY' ESCOJER EL RECORD DE ARRIBA.
firstline = firstline - 1. "CONTIENE EL NUMERO DEL INDICE.
READ TABLE t_itab1 INTO wa_high INDEX firstline.
ENDIF.
profit-sign = 'I'.
profit-option = 'BT'.
profit-low = wa_low-prctr.
profit-high = wa_high-prctr.
APPEND profit.
*COMPUTOS PARA CALCULAR EL ULTIMO DIA DEL MES.
fecha = p_date.
numero_mes = p_date+4(2). "PASO NUMERO DEL MES A VARIABLE.
p_date+4(2) = p_date+4(2) - numero_mes. "LE RESTO EL MISMO MES A LA FECHA PARA COMENZAR EL CONTEO DESDE EL MES 1.
DO numero_mes TIMES. "SE VA A EJECUTAR LAS MISMAS VECES DEL NUMERO DEL MES.
p_date+4(2) = p_date+4(2) + 1. "SE INCREMENTA EL NUMERO DEL MES.
CALL FUNCTION 'SG_PS_GET_LAST_DAY_OF_MONTH' "Obtiene el ultimo numero del mes.
EXPORTING
day_in = p_date
IMPORTING
last_day_of_month = last_day
EXCEPTIONS
day_in_not_valid = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF fecha = p_date.
fecha = fecha - 1. "le resta a fecha -1 para que busque en la tabla zavg_bal_table el record del dia anterior.
end_month-sign = 'I'.
end_month-option = 'EQ'.
end_month-low = fecha.
APPEND end_month.
ELSE.
end_month-sign = 'I'.
end_month-option = 'EQ'.
end_month-low = last_day.
APPEND end_month.
ENDIF.
ENDDO.
SORT end_month BY low ASCENDING.
SELECT bukrs racct prctr day_a per_day average agregate accumulate average_sap
FROM zavg_bal_table CLIENT SPECIFIED APPENDING TABLE t_zavg
WHERE mandt = sy-mandt
AND bukrs IN p_bukrs
AND day_a <= sy-datum
AND prctr IN profit.
SORT t_itab1 BY rbukrs racct prctr.
SORT t_zavg BY bukrs racct prctr day_a.
*IMPRESION Y ENVIO DE LOS DATOS REQUERIDOS
*Estos If verifican el mes que se esta ejecutando por el usuario para cambiarselo a la variable que identifica el fin de mes.
IF p_date+4(2) = jan_fin+4(2).
jan_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = feb_fin+4(2).
feb_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = mar_fin+4(2).
mar_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = apr_fin+4(2).
apr_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = may_fin+4(2).
may_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = jun_fin+4(2).
jun_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = jul_fin+4(2).
jul_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = aug_fin+4(2).
aug_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = sep_fin+4(2).
sep_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = oct_fin+4(2).
oct_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = nov_fin+4(2).
nov_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = dec_fin+4(2).
dec_fin+6(2) = p_date+6(2).
ENDIF.
*Comienza primer loop en el programa a t_itab1 que es la tabla interna que contiene los datos de faglflext.
LOOP AT t_itab1 INTO wa_itab WHERE racct NE ''.
AT NEW prctr. "Limpia las variables que se muestran en el clear cada ves que comienza un nuevo profit center.
CLEAR: itab_kslvt, itab_ksl01, itab_ksl02, itab_ksl03, itab_ksl04, itab_ksl05, itab_ksl06, itab_ksl07, itab_ksl08,
itab_ksl09, itab_ksl10, itab_ksl11, itab_ksl12, itab_ksl13, itab_ksl14, itab_ksl15, itab_ksl16,
itab_bal00, itab_bal01, itab_bal02, itab_bal03, itab_bal04, itab_bal05, itab_bal06, itab_bal07,
itab_bal08, itab_bal09, itab_bal10, itab_bal11, itab_bal12, itab_bal13, itab_bal14, itab_bal15,
itab_bal16.
ENDAT.
*Se le pasa a la variable itab_ksl## el valor del mes que contenga flext.
itab_kslvt = itab_kslvt + wa_itab-kslvt. itab_ksl01 = itab_ksl01 + wa_itab-ksl01. itab_ksl02 = itab_ksl02 + wa_itab-ksl02.
itab_ksl03 = itab_ksl03 + wa_itab-ksl03. itab_ksl04 = itab_ksl04 + wa_itab-ksl04.
itab_ksl05 = itab_ksl05 + wa_itab-ksl05. itab_ksl06 = itab_ksl06 + wa_itab-ksl06.
itab_ksl07 = itab_ksl07 + wa_itab-ksl07. itab_ksl08 = itab_ksl08 + wa_itab-ksl08.
itab_ksl09 = itab_ksl09 + wa_itab-ksl09. itab_ksl10 = itab_ksl10 + wa_itab-ksl10.
itab_ksl11 = itab_ksl11 + wa_itab-ksl11. itab_ksl12 = itab_ksl12 + wa_itab-ksl12.
itab_ksl13 = itab_ksl13 + wa_itab-ksl13. itab_ksl14 = itab_ksl14 + wa_itab-ksl14.
itab_ksl15 = itab_ksl15 + wa_itab-ksl15. itab_ksl16 = itab_ksl16 + wa_itab-ksl16.
*En estas variables va acumulando el valor por mes. Osea, va sumando todo lo que tenga de ese mes por profit center. Al venir un profit
*nuevo esta se limpia.
itab_bal00 = itab_bal00 + wa_itab-kslvt. itab_bal01 = itab_bal01 + wa_itab-ksl01. itab_bal02 = itab_bal02 + wa_itab-ksl02.
itab_bal03 = itab_bal03 + wa_itab-ksl03. itab_bal04 = itab_bal04 + wa_itab-ksl04.
itab_bal05 = itab_bal05 + wa_itab-ksl05. itab_bal06 = itab_bal06 + wa_itab-ksl06.
itab_bal07 = itab_bal07 + wa_itab-ksl07. itab_bal08 = itab_bal08 + wa_itab-ksl08.
itab_bal09 = itab_bal09 + wa_itab-ksl09. itab_bal10 = itab_bal10 + wa_itab-ksl10.
itab_bal11 = itab_bal11 + wa_itab-ksl11. itab_bal12 = itab_bal12 + wa_itab-ksl12.
itab_bal13 = itab_bal13 + wa_itab-ksl13. itab_bal14 = itab_bal14 + wa_itab-ksl14.
itab_bal15 = itab_bal15 + wa_itab-ksl15. itab_bal16 = itab_bal16 + wa_itab-ksl16.
ryear = wa_itab-ryear.
CLEAR t_zavg.
sy-subrc = 0.
numero_de_cta = wa_itab-racct.
company_code = wa_itab-rbukrs.
profit_center = wa_itab-prctr.
currency_code = wa_itab-rtcur.
descripcion = wa_itab-txt20.
*Segundo loop a realizarce. Este utiliza la tabla interna: t_zavg la cual contiene los datos extraidos de zavg_bal_table.
LOOP AT t_zavg INTO wa_zavg WHERE bukrs = wa_itab-rbukrs AND racct = wa_itab-racct AND prctr = wa_itab-prctr.
AT NEW prctr. "Al cambiar el profit center limpia las variables que se encuentran en el clear.
CLEAR: average_month_01, average_month_02, average_month_03, average_month_04, average_month_05,
average_month_06, average_month_07, average_month_08, average_month_09, average_month_10, average_month_11,
average_month_12, average_month.
ENDAT.
*Dependiendo del mes que contiene el record de la tabla t_zavg este va acumulando el average_month.
IF wa_zavg-day_a+4(2) = '01'.
average_month_01 = average_month_01 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '02'.
average_month_02 = average_month_02 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '03'.
average_month_03 = average_month_03 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '04'.
average_month_04 = average_month_04 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '05'.
average_month_05 = average_month_05 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '06'.
average_month_06 = average_month_06 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '07'.
average_month_07 = average_month_07 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '08'.
average_month_08 = average_month_08 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '09'.
average_month_09 = average_month_09 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '10'.
average_month_10 = average_month_10 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '11'.
average_month_11 = average_month_11 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '12'.
average_month_12 = average_month_12 + wa_zavg-accumulate.
ENDIF.
*Este if verifica que cuando el record que se esta verificando sea con fecha de fin de mes calcule el resto del codigo que se encuentra debajo.
IF wa_zavg-day_a = jan_fin OR wa_zavg-day_a = feb_fin OR wa_zavg-day_a = mar_fin OR wa_zavg-day_a = apr_fin OR wa_zavg-day_a = may_fin OR wa_zavg-day_a = jun_fin OR
wa_zavg-day_a = jul_fin OR wa_zavg-day_a = aug_fin OR wa_zavg-day_a = sep_fin OR wa_zavg-day_a = oct_fin OR
wa_zavg-day_a = nov_fin OR wa_zavg-day_a = dec_fin.
aggregate_month = wa_zavg-agregate.
day_a = wa_zavg-day_a.
*Calcula el aggregate_month dependiendo de la fecha del record que se esta procesando.
IF wa_zavg-day_a+4(2) = '01'.
aggregate_month_01 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '02'.
aggregate_month_02 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '03'.
aggregate_month_03 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '04'.
aggregate_month_04 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '05'.
aggregate_month_05 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '06'.
aggregate_month_06 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '07'.
aggregate_month_07 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '08'.
aggregate_month_08 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '09'.
aggregate_month_09 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '10'.
aggregate_month_10 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '11'.
aggregate_month_11 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '12'.
aggregate_month_12 = wa_zavg-agregate.
ENDIF.
ENDIF.
*Este if verifica que cuando el record que se esta verificando sea con fecha de fin de mes calcule el resto del codigo que se encuentra debajo.
IF wa_zavg-day_a+4(4) = jan_fin+4(4) OR wa_zavg-day_a+4(4) = feb_fin+4(4) OR wa_zavg-day_a+4(4) = febb_fin+4(4) OR wa_zavg-day_a+4(4) = mar_fin+4(4) OR
wa_zavg-day_a+4(4) = apr_fin+4(4) OR wa_zavg-day_a+4(4) = may_fin+4(4) OR wa_zavg-day_a+4(4) = jun_fin+4(4) OR wa_zavg-day_a+4(4) = jul_fin+4(4) OR
wa_zavg-day_a+4(4) = aug_fin+4(4) OR wa_zavg-day_a+4(4) = sep_fin+4(4) OR wa_zavg-day_a+4(4) = oct_fin+4(4) OR wa_zavg-day_a+4(4) = nov_fin+4(4) OR
wa_zavg-day_a+4(4) = dec_fin+4(4).
*Calcula la division entre la cantidad acumulada por mes y la fecha del fin de mes.
IF average_month_01 IS NOT INITIAL.
porciento1 = average_month_01 / jan_fin+6(2).
average_month = porciento1.
ENDIF.
IF average_month_02 IS NOT INITIAL.
porciento2 = average_month_02 / feb_fin+6(2).
average_month = porciento2.
ENDIF.
IF average_month_03 IS NOT INITIAL.
porciento3 = average_month_03 / mar_fin+6(2).
average_month = porciento3.
ENDIF.
IF average_month_04 IS NOT INITIAL.
porciento4 = average_month_04 / apr_fin+6(2).
average_month = porciento4.
ENDIF.
IF average_month_05 IS NOT INITIAL.
porciento5 = average_month_05 / may_fin+6(2).
average_month = porciento5.
ENDIF.
IF average_month_06 IS NOT INITIAL.
porciento6 = average_month_06 / jun_fin+6(2).
average_month = porciento6.
ENDIF.
IF average_month_07 IS NOT INITIAL.
porciento7 = average_month_07 / jul_fin+6(2).
average_month = porciento7.
ENDIF.
IF average_month_08 IS NOT INITIAL.
porciento8 = average_month_08 / aug_fin+6(2).
average_month = porciento8.
ENDIF.
IF average_month_09 IS NOT INITIAL.
porciento9 = average_month_09 / sep_fin+6(2).
average_month = porciento9.
ENDIF.
IF average_month_10 IS NOT INITIAL.
porciento10 = average_month_10 / oct_fin+6(2).
average_month = porciento10.
ENDIF.
IF average_month_11 IS NOT INITIAL.
porciento11 = average_month_11 / nov_fin+6(2).
average_month = porciento11.
ENDIF.
IF average_month_12 IS NOT INITIAL.
porciento12 = average_month_12 / dec_fin+6(2).
average_month = porciento12.
ENDIF.
*Cuando la fecha que esta entrando el usuario es la misma a la del record que se esta procesando en ese momento ejecuta el siguiente IF.
IF p_date+4(4) = wa_zavg-day_a+4(4).
current_average_balance = average_month.
current_aggregate_balance = aggregate_month.
average_balance_ytd = average_month.
ENDIF.
ENDIF.
ENDLOOP.
AT END OF prctr.
IF sy-subrc = 0.
*ESTAS VARIABLES SE ESTAN PASANDO A UNA VARIABLE NORMAL YA QUE SI SE DEJAN DENTRO DEL WORK AREA (WA) LE PONE ASTERISCOS.
*LOS IF QUE SE DEMUESTRAN ABAJO SON PARECIDOS A LOS UTILIZADOS EN LA *
*PARTE POSTERIOR LO UNICO QUE LA FECHA UTILIZADA NO ES EXTRAIDA DE LA *
*TABLA, ES LA QUE EL USUARIO INSERTA DENTRO DEL PARAMETRO. *
IF p_date+4(2) >= '01'.
COMPUTE: balance_month_01 = itab_bal00 + itab_bal01.
ENDIF.
IF p_date+4(2) >= '02'.
COMPUTE: balance_month_02 = itab_bal00 + itab_bal01 + itab_bal02.
ENDIF.
IF p_date+4(2) >= '03'.
COMPUTE: balance_month_03 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03.
ENDIF.
IF p_date+4(2) >= '04'.
COMPUTE: balance_month_04 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04.
ENDIF.
IF p_date+4(2) >= '05'.
COMPUTE: balance_month_05 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05.
ENDIF.
IF p_date+4(2) >= '06'.
COMPUTE: balance_month_06 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06.
ENDIF.
IF p_date+4(2) >= '07'.
COMPUTE: balance_month_07 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07.
ENDIF.
IF p_date+4(2) >= '08'.
COMPUTE: balance_month_08 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08.
ENDIF.
IF p_date+4(2) >= '09'.
COMPUTE: balance_month_09 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09.
ENDIF.
IF p_date+4(2) >= '10'.
COMPUTE: balance_month_10 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10.
ENDIF.
IF p_date+4(2) >= '11'.
COMPUTE: balance_month_11 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10 + itab_bal11.
ENDIF.
IF p_date+4(2) >= '12'.
COMPUTE: balance_month_12 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10 + itab_bal11 + itab_bal12.
ENDIF.
IF p_date+4(2) >= '13'.
COMPUTE: balance_month_13 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10 + itab_bal11 + itab_bal12 + itab_bal13.
ENDIF.
COMPUTE: current_balance = + itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10 + itab_bal11 + itab_bal12 + itab_bal13 + itab_bal14 + itab_bal15 + itab_bal16.
*Computo para el activity balance.
IF p_date+4(2) = '01'.
current_activity_balance = itab_ksl01.
ENDIF.
IF p_date+4(2) = '02'.
current_activity_balance = itab_ksl02.
ENDIF.
IF p_date+4(2) = '03'.
current_activity_balance = itab_ksl03.
ENDIF.
IF p_date+4(2) = '04'.
current_activity_balance = itab_ksl04.
ENDIF.
IF p_date+4(2) = '05'.
current_activity_balance = itab_ksl05.
ENDIF.
IF p_date+4(2) = '06'.
current_activity_balance = itab_ksl06.
ENDIF.
IF p_date+4(2) = '07'.
current_activity_balance = itab_ksl07.
ENDIF.
IF p_date+4(2) = '08'.
current_activity_balance = itab_ksl08.
ENDIF.
IF p_date+4(2) = '09'.
current_activity_balance = itab_ksl09.
ENDIF.
IF p_date+4(2) = '10'.
current_activity_balance = itab_ksl10.
ENDIF.
IF p_date+4(2) = '11'.
current_activity_balance = itab_ksl11.
ENDIF.
IF p_date+4(2) = '12'.
current_activity_balance = itab_ksl12.
ENDIF.
*LE RESTA 1 AL AÑO CORRIENTE PARA VERIFICAR LUEGO SI EXISTE INFORMACION*
*DE AÑOS ANTERIORES. *
ano = ryear - 1.
* Get the values of the past year. *
ano = p_date+0(4) - 1.
IF ryear = ano.
wa_msgdetails-activity_previous_year = itab_ksl12.
* balance_previous_year = wa_msgdetails-balance_previous_year. *
wa_msgdetails-average_previous_year = average_month_12.
wa_msgdetails-aggreg_previous_year = aggregate_month_12.
ELSE.
*If the table don't have data the variables get '0000000000000'. *
wa_msgdetails-activity_previous_year = '00000000000000.00'.
wa_msgdetails-average_previous_year = '00000000000000.00'.
wa_msgdetails-aggreg_previous_year = '00000000000000.00'.
AT LAST.
wa_msgdetails-balance_previous_year = '00000000000000.00'.
wa_msgdetails-balance_previous_year = itab_kslvt +
itab_ksl01 +
itab_ksl02 +
itab_ksl03 +
itab_ksl04 +
itab_ksl05 +
itab_ksl06 +
itab_ksl07 +
itab_ksl08 +
itab_ksl09 +
itab_ksl10 +
itab_ksl11 +
itab_ksl12.
ENDAT.
ENDIF.
wa_msgdetails-account = numero_de_cta.
wa_msgdetails-company = company_code.
wa_msgdetails-cost_center = profit_center.
wa_msgdetails-currency_code = currency_code.
wa_msgdetails-account_description = descripcion.
wa_msgdetails-activity_month_01 = itab_ksl01.
wa_msgdetails-average_month_01 = porciento1.
wa_msgdetails-aggreg_month_01 = aggregate_month_01.
wa_msgdetails-activity_month_02 = itab_ksl02.
wa_msgdetails-average_month_02 = porciento2.
wa_msgdetails-aggreg_month_02 = aggregate_month_02.
wa_msgdetails-activity_month_03 = itab_ksl03.
wa_msgdetails-average_month_03 = porciento3.
wa_msgdetails-aggreg_month_03 = aggregate_month_03.
wa_msgdetails-activity_month_04 = itab_ksl04.
wa_msgdetails-average_month_04 = porciento4.
wa_msgdetails-aggreg_month_04 = aggregate_month_04.
wa_msgdetails-activity_month_05 = itab_ksl05.
wa_msgdetails-average_month_05 = porciento5.
wa_msgdetails-aggreg_month_05 = aggregate_month_05.
wa_msgdetails-activity_month_06 = itab_ksl06.
wa_msgdetails-average_month_06 = porciento6.
wa_msgdetails-aggreg_month_06 = aggregate_month_06.
wa_msgdetails-activity_month_07 = itab_ksl07.
wa_msgdetails-average_month_07 = porciento7.
wa_msgdetails-aggreg_month_07 = aggregate_month_07.
wa_msgdetails-activity_month_08 = itab_ksl08.
wa_msgdetails-average_month_08 = porciento8.
wa_msgdetails-aggreg_month_08 = aggregate_month_08.
wa_msgdetails-activity_month_09 = itab_ksl09.
wa_msgdetails-average_month_09 = porciento9.
wa_msgdetails-aggreg_month_09 = aggregate_month_09.
wa_msgdetails-activity_month_10 = itab_ksl10.
wa_msgdetails-average_month_10 = porciento10.
wa_msgdetails-aggreg_month_10 = aggregate_month_10.
wa_msgdetails-activity_month_11 = itab_ksl11.
wa_msgdetails-average_month_11 = porciento11.
wa_msgdetails-aggreg_month_11 = aggregate_month_11.
wa_msgdetails-activity_month_12 = itab_ksl12.
wa_msgdetails-average_month_12 = porciento12.
wa_msgdetails-aggreg_month_12 = aggregate_month_12.
wa_msgdetails-activity_month_13 = itab_ksl13.
wa_msgdetails-average_month_13 = '00000000000000.00'.
wa_msgdetails-aggreg_month_13 = '00000000000000.00'.
wa_msgdetails-balance_month_01 = balance_month_01.
wa_msgdetails-balance_month_02 = balance_month_02.
wa_msgdetails-balance_month_03 = balance_month_03.
wa_msgdetails-balance_month_04 = balance_month_04.
wa_msgdetails-balance_month_05 = balance_month_05.
wa_msgdetails-balance_month_06 = balance_month_06.
wa_msgdetails-balance_month_07 = balance_month_07.
wa_msgdetails-balance_month_08 = balance_month_08.
wa_msgdetails-balance_month_09 = balance_month_09.
wa_msgdetails-balance_month_10 = balance_month_10.
wa_msgdetails-balance_month_11 = balance_month_11.
wa_msgdetails-balance_month_12 = balance_month_12.
wa_msgdetails-balance_month_13 = balance_month_13.
wa_msgdetails-current_balance = current_balance.
wa_msgdetails-current_activity_balance = current_activity_balance.
CLEAR: porciento1, porciento2, porciento3, porciento4, porciento5, porciento6, porciento7, porciento8, porciento9, porciento10, porciento11,
porciento12, average_month.
*se multiplican las siguientes variables que contienen cantidades por -1 cuando el primer numero de la cta. es igual a
* 5, 6, 7, ó 8.
IF numero_de_cta+4(1) = '5' OR numero_de_cta+4(1) = '6' OR numero_de_cta+4(1) = '7' OR numero_de_cta+4(1) = '8'.
IF wa_msgdetails-current_balance IS NOT INITIAL.
wa_msgdetails-current_balance = wa_msgdetails-current_balance * -1.
ENDIF.
IF wa_msgdetails-activity_previous_year IS NOT INITIAL.
wa_msgdetails-activity_previous_year = wa_msgdetails-activity_previous_year * -1.
ENDIF.
IF wa_msgdetails-average_previous_year IS NOT INITIAL.
wa_msgdetails-average_previous_year = wa_msgdetails-average_previous_year * -1.
ENDIF.
IF wa_msgdetails-aggreg_previous_year IS NOT INITIAL.
wa_msgdetails-aggreg_previous_year = wa_msgdetails-aggreg_previous_year * -1.
ENDIF.
IF wa_msgdetails-balance_previous_year IS NOT INITIAL.
wa_msgdetails-balance_previous_year = wa_msgdetails-balance_previous_year * -1.
ENDIF.
IF wa_msgdetails-current_activity_balance IS NOT INITIAL.
wa_msgdetails-current_activity_balance = wa_msgdetails-current_activity_balance * -1.
ENDIF.
IF wa_msgdetails-activity_month_01 IS NOT INITIAL.
wa_msgdetails-activity_month_01 = wa_msgdetails-activity_month_01 * -1.
ENDIF.
IF wa_msgdetails-balance_month_01 IS NOT INITIAL.
wa_msgdetails-balance_month_01 = wa_msgdetails-balance_month_01 * -1.
ENDIF.
IF wa_msgdetails-average_month_01 IS NOT INITIAL.
wa_msgdetails-average_month_01 = wa_msgdetails-average_month_01 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_01 IS NOT INITIAL.
wa_msgdetails-aggreg_month_01 = wa_msgdetails-aggreg_month_01 * -1.
ENDIF.
IF wa_msgdetails-activity_month_02 IS NOT INITIAL.
wa_msgdetails-activity_month_02 = wa_msgdetails-activity_month_02 * -1.
ENDIF.
IF wa_msgdetails-balance_month_02 IS NOT INITIAL.
wa_msgdetails-balance_month_02 = wa_msgdetails-balance_month_02 * -1.
ENDIF.
IF wa_msgdetails-average_month_02 IS NOT INITIAL.
wa_msgdetails-average_month_02 = wa_msgdetails-average_month_02 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_02 IS NOT INITIAL.
wa_msgdetails-aggreg_month_02 = wa_msgdetails-aggreg_month_02 * -1.
ENDIF.
IF wa_msgdetails-activity_month_03 IS NOT INITIAL.
wa_msgdetails-activity_month_03 = wa_msgdetails-activity_month_03 * -1.
ENDIF.
IF wa_msgdetails-balance_month_03 IS NOT INITIAL.
wa_msgdetails-balance_month_03 = wa_msgdetails-balance_month_03 * -1.
ENDIF.
IF wa_msgdetails-average_month_03 IS NOT INITIAL.
wa_msgdetails-average_month_03 = wa_msgdetails-average_month_03 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_03 IS NOT INITIAL.
wa_msgdetails-aggreg_month_03 = wa_msgdetails-aggreg_month_03 * -1.
ENDIF.
IF wa_msgdetails-activity_month_04 IS NOT INITIAL.
wa_msgdetails-activity_month_04 = wa_msgdetails-activity_month_04 * -1.
ENDIF.
IF wa_msgdetails-balance_month_04 IS NOT INITIAL.
wa_msgdetails-balance_month_04 = wa_msgdetails-balance_month_04 * -1.
ENDIF.
IF wa_msgdetails-average_month_04 IS NOT INITIAL.
wa_msgdetails-average_month_04 = wa_msgdetails-average_month_04 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_04 IS NOT INITIAL.
wa_msgdetails-aggreg_month_04 = wa_msgdetails-aggreg_month_04 * -1.
ENDIF.
IF wa_msgdetails-activity_month_05 IS NOT INITIAL.
wa_msgdetails-activity_month_05 = wa_msgdetails-activity_month_05 * -1.
ENDIF.
IF wa_msgdetails-balance_month_05 IS NOT INITIAL.
wa_msgdetails-balance_month_05 = wa_msgdetails-balance_month_05 * -1.
ENDIF.
IF wa_msgdetails-average_month_05 IS NOT INITIAL.
wa_msgdetails-average_month_05 = wa_msgdetails-average_month_05 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_05 IS NOT INITIAL.
wa_msgdetails-aggreg_month_05 = wa_msgdetails-aggreg_month_05 * -1.
ENDIF.
IF wa_msgdetails-activity_month_06 IS NOT INITIAL.
wa_msgdetails-activity_month_06 = wa_msgdetails-activity_month_06 * -1.
ENDIF.
IF wa_msgdetails-balance_month_06 IS NOT INITIAL.
wa_msgdetails-balance_month_06 = wa_msgdetails-balance_month_06 * -1.
ENDIF.
IF wa_msgdetails-average_month_06 IS NOT INITIAL.
wa_msgdetails-average_month_06 = wa_msgdetails-average_month_06 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_06 IS NOT INITIAL.
wa_msgdetails-aggreg_month_06 = wa_msgdetails-aggreg_month_06 * -1.
ENDIF.
IF wa_msgdetails-activity_month_07 IS NOT INITIAL.
wa_msgdetails-activity_month_07 = wa_msgdetails-activity_month_07 * -1.
ENDIF.
IF wa_msgdetails-balance_month_07 IS NOT INITIAL.
wa_msgdetails-balance_month_07 = wa_msgdetails-balance_month_07 * -1.
ENDIF.
IF wa_msgdetails-average_month_07 IS NOT INITIAL.
wa_msgdetails-average_month_07 = wa_msgdetails-average_month_07 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_07 IS NOT INITIAL.
wa_msgdetails-aggreg_month_07 = wa_msgdetails-aggreg_month_07 * -1.
ENDIF.
IF wa_msgdetails-activity_month_08 IS NOT INITIAL.
wa_msgdetails-activity_month_08 = wa_msgdetails-activity_month_08 * -1.
ENDIF.
IF wa_msgdetails-balance_month_08 IS NOT INITIAL.
wa_msgdetails-balance_month_08 = wa_msgdetails-balance_month_08 * -1.
ENDIF.
IF wa_msgdetails-average_month_08 IS NOT INITIAL.
wa_msgdetails-average_month_08 = wa_msgdetails-average_month_08 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_08 IS NOT INITIAL.
wa_msgdetails-aggreg_month_08 = wa_msgdetails-aggreg_month_08 * -1.
ENDIF.
IF wa_msgdetails-activity_month_09 IS NOT INITIAL.
wa_msgdetails-activity_month_09 = wa_msgdetails-activity_month_09 * -1.
ENDIF.
IF wa_msgdetails-balance_month_09 IS NOT INITIAL.
wa_msgdetails-balance_month_09 = wa_msgdetails-balance_month_09 * -1.
ENDIF.
IF wa_msgdetails-average_month_09 IS NOT INITIAL.
wa_msgdetails-average_month_09 = wa_msgdetails-average_month_09 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_09 IS NOT INITIAL.
wa_msgdetails-aggreg_month_09 = wa_msgdetails-aggreg_month_09 * -1.
ENDIF.
IF wa_msgdetails-activity_month_10 IS NOT INITIAL.
wa_msgdetails-activity_month_10 = wa_msgdetails-activity_month_10 * -1.
ENDIF.
IF wa_msgdetails-balance_month_10 IS NOT INITIAL.
wa_msgdetails-balance_month_10 = wa_msgdetails-balance_month_10 * -1.
ENDIF.
IF wa_msgdetails-average_month_10 IS NOT INITIAL.
wa_msgdetails-average_month_10 = wa_msgdetails-average_month_10 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_10 IS NOT INITIAL.
wa_msgdetails-aggreg_month_10 = wa_msgdetails-aggreg_month_10 * -1.
ENDIF.
IF wa_msgdetails-activity_month_11 IS NOT INITIAL.
wa_msgdetails-activity_month_11 = wa_msgdetails-activity_month_11 * -1.
ENDIF.
IF wa_msgdetails-balance_month_11 IS NOT INITIAL.
wa_msgdetails-balance_month_11 = wa_msgdetails-balance_month_11 * -1.
ENDIF.
IF wa_msgdetails-average_month_11 IS NOT INITIAL.
wa_msgdetails-average_month_11 = wa_msgdetails-average_month_11 *Hi,
Are the month-ends (jan_fin etc) stored in the system? There are many variable declarations and if statements that could probably be eliminated if that is the case. More efficient use of storing those variables in internal tables so that the data is only used when needed.
Warren -
I can't find IX2 in Windows 8.1 Network
I guys, I've been installed Windows 8.1 my brand new Lenovo IX2 was working so far so good, but, after a few day it was desappear from the network. I do not change any parameter from IX2 or Windows. it's accesible from the browser going to IX2, also the Media Center is recognized by the PC and SmartTV but from the Windows Explorer not. This issue is drive me crazy!!! please could you help me? I spend the last tree days trying to find a way. Regards Mariano
Hi Gus Lenovo, my Answers bellow.
1.What happens if you enter the IP address into your browser's URL? A: Accesing throught a brawser like Chrome works fine. Going http://192.168.1.22/ or by the name http://ix2/ I've access to the LenovoEMC-IX2 web interface.
2.You can access the user interface? A: Yes. And also login without issues.
3.Can you please verify the ix2's current IP address in your ARP table. A:
Microsoft Windows [Versión 6.3.9600]
(c) 2013 Microsoft Corporation. Todos los derechos reservados.
C:\Users\MarianoC>arp -a
Interfaz: 192.168.1.10 --- 0xc
Dirección de Internet Dirección física Tipo
192.168.1.1 e4-48-c7-c6-ff-49 dinámico
192.168.1.22 00-d0-b8-15-12-db dinámico
192.168.1.255 ff-ff-ff-ff-ff-ff estático
224.0.0.22 01-00-5e-00-00-16 estático
224.0.0.252 01-00-5e-00-00-fc estático
224.0.0.253 01-00-5e-00-00-fd estático
239.255.255.250 01-00-5e-7f-ff-fa estático
255.255.255.255 ff-ff-ff-ff-ff-ff estático
C:\Users\MarianoC>
4.Conversely, you could check the routing table on your router's control panel if you have access to it. A: Could you be more specific. This is what I've on the Network panel from my router Cisco DPC2325
LAN
IP Address: /
IP Network: 192.168.1.0
Decimal NetMask: 255.255.255.0
Broadcast: 192.168.1.255
WAN
IP Address: 190.105.110.169
Subnet Mask: 255.255.252.0
Gateway IP: 190.105.108.1
Duration: D: 00 H: 05 M: 00 S: 00
Expires: --- --- -- --:--:-- ----
IPv4 DNS Servers: 8.8.4.4
8.8.8.8
MAC Address: e4:48:c7:c6:ff:4a -
Hello there:
I have the following issue, I have got a large application running on a Sun App Serv 9.0 on a Sun Blade 8000, this application contans EJB�s Enterprise Application as well as JSP's, the Database is an AS/400 and i use the open source JT400 to work , it works fine, but then for some reason the web container stops responding, i can still access other applications that does not use the conection pool (as well as the admin console). I have tried to add more connections, still yet nothing... The Db admin told me that the objets remains oppened.
Once I restart the APP server the applications works again for some time, on the server.log there is no pattern to describe which can tell me what is happening.
On The OS.. there is nothing that can tell me something, I have reviewed the app9 perf tuneup document and maded the changes tho the OS as well as some changes to the app Serv...
The two connections that i use are Conexion_BD y jdbc as400
The domain.xml is as it follows
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE domain PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 8.0 Domain//EN" "http://www.sun.com/software/appserver/dtds/sun-domain_1_2.dtd">
<!--
Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
-->
<!-- Generated from default-domain.xml.template -->
<!-- Avoid manual edits of this file. Run "asadmin verify-domain-xml" otherwise.-->
<domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
<applications>
<j2ee-application availability-enabled="false" directory-deployed="false" enabled="true" java-web-start-enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/MEjbApp" name="MEjbApp" object-type="system-all"/>
<j2ee-application availability-enabled="false" directory-deployed="false" enabled="true" java-web-start-enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/__JWSappclients" name="__JWSappclients" object-type="system-all"/>
<j2ee-application availability-enabled="false" directory-deployed="false" enabled="true" java-web-start-enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/__ejb_container_timer_app" name="__ejb_container_timer_app" object-type="system-all"/>
<j2ee-application availability-enabled="false" directory-deployed="false" enabled="true" java-web-start-enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-apps/raiz" name="raiz" object-type="user"/>
<ejb-module availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/WSContabilidad" name="WSContabilidad" object-type="user"/>
<ejb-module availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Subsistema_de_Recursos_Humanos" name="Subsistema_de_Recursos_Humanos" object-type="user"/>
<ejb-module availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Generales-ejb" name="Generales-ejb" object-type="user"/>
<ejb-module availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Adquisiciones-ejb" name="Adquisiciones-ejb" object-type="user"/>
<ejb-module availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Caja_Chica-ejb" name="Caja_Chica-ejb" object-type="user"/>
<ejb-module availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Contabilidad-ejb" name="Contabilidad-ejb" object-type="user"/>
<ejb-module availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Proveedores-ejb" name="Proveedores-ejb" object-type="user"/>
<ejb-module availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Presupuesto_de_Inversiones-ejb" name="Presupuesto_de_Inversiones-ejb" object-type="user"/>
<ejb-module availability-enabled="false" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Almacenes-ejb" name="Almacenes-ejb" object-type="user"/>
<web-module availability-enabled="false" context-root="/web1" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/adminapp/adminapp_war" name="adminapp" object-type="system-admin">
<!-- System Web Module - DO NOT DELETE! -->
</web-module>
<web-module availability-enabled="false" context-root="/asadmin" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/admingui/adminGUI_war" name="admingui" object-type="system-admin">
<!-- System Web Module - DO NOT DELETE! -->
</web-module>
<web-module availability-enabled="false" context-root="/GestionPlanillas" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/GestionPlanillas" name="GestionPlanillas" object-type="user"/>
<web-module availability-enabled="false" context-root="/Beneficios" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Beneficios" name="Beneficios" object-type="user"/>
<web-module availability-enabled="false" context-root="/RRHH" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/RRHH" name="RRHH" object-type="user"/>
<web-module availability-enabled="false" context-root="/Contabilidad" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Contabilidad" name="Contabilidad" object-type="user"/>
<web-module availability-enabled="false" context-root="/PresupuestoFinanciero" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/PresupuestoFinanciero" name="PresupuestoFinanciero" object-type="user"/>
<web-module availability-enabled="false" context-root="/SeguridadyAuditoria" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/SeguridadyAuditoria" name="SeguridadyAuditoria" object-type="user"/>
<web-module availability-enabled="false" context-root="/General" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/General" name="General" object-type="user"/>
<web-module availability-enabled="false" context-root="/CajaChica" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/CajaChica" name="CajaChica" object-type="user"/>
<web-module availability-enabled="false" context-root="/Adquisiciones" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Adquisiciones" name="Adquisiciones" object-type="user"/>
<web-module availability-enabled="false" context-root="/Proveedores" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/Proveedores" name="Proveedores" object-type="user"/>
<web-module availability-enabled="false" context-root="/PresupuestodeInversiones" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/PresupuestodeInversiones" name="PresupuestodeInversiones" object-type="user"/>
<web-module availability-enabled="false" context-root="/GestionVacaciones" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/GestionVacaciones" name="GestionVacaciones" object-type="user"/>
<web-module availability-enabled="false" context-root="/PIM" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/PIM" name="PIM" object-type="user"/>
</applications>
<resources>
<jdbc-resource enabled="true" jndi-name="jdbc/__TimerPool" object-type="system-admin" pool-name="__TimerPool"/>
<jdbc-resource enabled="true" jndi-name="jdbc/__CallFlowPool" object-type="system-all" pool-name="__CallFlowPool"/>
<jdbc-resource enabled="true" jndi-name="jdbc/__default" object-type="user" pool-name="DerbyPool"/>
<jdbc-resource enabled="true" jndi-name="ConeccionBD" object-type="user" pool-name="jdbc_as400_10.38.200.4_libjavaPool"/>
<jdbc-resource enabled="true" jndi-name="jdbc/ConeccionBD" object-type="user" pool-name="ConeccionBD"/>
<jdbc-connection-pool allow-non-component-callers="false" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="__CallFlowPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" steady-pool-size="8">
<property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/sun-callflow"/>
<property name="connectionAttributes" value=";create=true"/>
</jdbc-connection-pool>
<jdbc-connection-pool allow-non-component-callers="false" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="__TimerPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" steady-pool-size="8">
<property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"/>
</jdbc-connection-pool>
<jdbc-connection-pool allow-non-component-callers="false" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.ClientDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="DerbyPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="8">
<property name="PortNumber" value="1527"/>
<property name="Password" value="APP"/>
<property name="User" value="APP"/>
<property name="serverName" value="localhost"/>
<property name="DatabaseName" value="sun-appserv-samples"/>
<property name="connectionAttributes" value=";create=true"/>
</jdbc-connection-pool>
<jdbc-connection-pool allow-non-component-callers="false" connection-validation-method="auto-commit" datasource-classname="com.sun.sql.datasource.DriverAdapter" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="jdbc_as400_10.38.200.4_libjavaPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.ConnectionPoolDataSource" steady-pool-size="8">
<property name="DriverClassName" value="com.ibm.as400.access.AS400JDBCDriver"/>
<property name="URL" value="jdbc:as400://10.38.200.4/libjava;user=XXXXXX;password=XXXXX"/>
</jdbc-connection-pool>
<jdbc-connection-pool allow-non-component-callers="false" connection-validation-method="auto-commit" datasource-classname="com.sun.sql.datasource.DriverAdapter" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="64" max-wait-time-in-millis="60000" name="ConeccionBD" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.ConnectionPoolDataSource" steady-pool-size="8">
<property name="DriverClassName" value="com.ibm.as400.access.AS400JDBCDriver"/>
<property name="URL" value="jdbc:as400://10.38.200.4/libjava;user=secofr2a;password=java77"/>
</jdbc-connection-pool>
</resources>
<configs>
<config dynamic-reconfiguration-enabled="true" name="server-config">
<http-service>
<access-log format="%client.name% %auth-user-name% %datetime% %request% %status% %response.length%" rotation-enabled="true" rotation-interval-in-minutes="15" rotation-policy="time" rotation-suffix="yyyy-MM-dd"/>
<http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-1" port="7879" security-enabled="false" server-name="" xpowered-by="true">
</http-listener>
<http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-2" port="38051" security-enabled="true" server-name="" xpowered-by="true">
</http-listener>
<http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="__asadmin" enabled="true" family="inet" id="admin-listener" port="7878" security-enabled="false" server-name="" xpowered-by="true">
</http-listener>
<virtual-server hosts="${com.sun.aas.hostName}" http-listeners="http-listener-1,http-listener-2" id="server" log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">
<property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
<property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
</virtual-server>
<virtual-server default-web-module="admingui" hosts="${com.sun.aas.hostName}" http-listeners="admin-listener" id="__asadmin" log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">
<property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
<property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
</virtual-server>
<request-processing header-buffer-length-in-bytes="4096" initial-thread-count="2" request-timeout-in-seconds="28" thread-count="10" thread-increment="1"/>
<keep-alive max-connections="500" thread-count="1" timeout-in-seconds="28"/>
<connection-pool max-pending-count="4096" queue-size-in-bytes="4096" receive-buffer-size-in-bytes="4096" send-buffer-size-in-bytes="8192"/>
<http-protocol default-response-type="text/plain; charset=iso-8859-1" dns-lookup-enabled="false" forced-response-type="text/plain; charset=iso-8859-1" ssl-enabled="true" version="HTTP/1.1"/>
<http-file-cache file-caching-enabled="on" file-transmission-enabled="false" globally-enabled="true" hash-init-size="0" max-age-in-seconds="30" max-files-count="1024" medium-file-size-limit-in-bytes="537600" medium-file-space-in-bytes="10485760" small-file-size-limit-in-bytes="2048" small-file-space-in-bytes="1048576"/>
</http-service>
<iiop-service client-authentication-required="false">
<orb max-connections="1024" message-fragment-size="1024" use-thread-pool-ids="thread-pool-1"/>
<iiop-listener address="0.0.0.0" enabled="true" id="orb-listener-1" port="38050" security-enabled="false"/>
<iiop-listener address="0.0.0.0" enabled="true" id="SSL" port="38052" security-enabled="true">
<ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
</iiop-listener>
<iiop-listener address="0.0.0.0" enabled="true" id="SSL_MUTUALAUTH" port="38053" security-enabled="true">
<ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
</iiop-listener>
</iiop-service>
<admin-service system-jmx-connector-name="system" type="das-and-server">
<!-- The JSR 160 "system-jmx-connector" -->
<jmx-connector accept-all="false" address="0.0.0.0" auth-realm-name="admin-realm" enabled="true" name="system" port="38054" protocol="rmi_jrmp" security-enabled="false"/>
<!-- The JSR 160 "system-jmx-connector" -->
<das-config admin-session-timeout-in-minutes="60" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" autodeploy-enabled="false" autodeploy-jsp-precompilation-enabled="false" autodeploy-polling-interval-in-seconds="2" autodeploy-verifier-enabled="false" deploy-xml-validation="full" dynamic-reload-enabled="true" dynamic-reload-poll-interval-in-seconds="2"/>
</admin-service>
<web-container/>
<ejb-container cache-idle-timeout-in-seconds="600" cache-resize-quantity="32" commit-option="B" max-cache-size="512" max-pool-size="32" pool-idle-timeout-in-seconds="600" pool-resize-quantity="8" removal-timeout-in-seconds="5400" session-store="${com.sun.aas.instanceRoot}/session-store" steady-pool-size="0" victim-selection-policy="nru">
<ejb-timer-service max-redeliveries="1" minimum-delivery-interval-in-millis="7000" redelivery-interval-internal-in-millis="5000"/>
</ejb-container>
<mdb-container idle-timeout-in-seconds="600" max-pool-size="32" pool-resize-quantity="8" steady-pool-size="0"/>
<jms-service addresslist-behavior="random" addresslist-iterations="3" default-jms-host="default_JMS_host" init-timeout-in-seconds="60" reconnect-attempts="3" reconnect-enabled="true" reconnect-interval-in-seconds="5" type="EMBEDDED">
<jms-host admin-password="admin" admin-user-name="admin" host="genesis.cadebsa.com" name="default_JMS_host" port="38049"/>
</jms-service>
<log-service alarms="false" file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000" log-rotation-timelimit-in-minutes="0" log-to-console="false" retain-error-statistics-for-hours="5" use-system-logging="false">
<module-log-levels admin="INFO" classloader="INFO" cmp="INFO" cmp-container="INFO" configuration="INFO" connector="INFO" corba="INFO" deployment="INFO" ejb-container="INFO" group-management-service="INFO" javamail="INFO" jaxr="INFO" jaxrpc="INFO" jdo="INFO" jms="INFO" jta="INFO" jts="INFO" management-event="INFO" mdb-container="INFO" naming="INFO" node-agent="INFO" resource-adapter="INFO" root="INFO" saaj="INFO" security="INFO" self-management="INFO" server="INFO" synchronization="INFO" util="INFO" verifier="INFO" web-container="INFO"/>
</log-service>
<security-service activate-default-principal-to-role-mapping="false" anonymous-role="ANYONE" audit-enabled="false" audit-modules="default" default-realm="file" jacc="default">
<!-- All administrative users use this realm by default. -->
<auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
<property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile"/>
<property name="jaas-context" value="fileRealm"/>
</auth-realm>
<!-- All administrative users use this realm by default. -->
<auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
<property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
<property name="jaas-context" value="fileRealm"/>
</auth-realm>
<auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate">
</auth-realm>
<jacc-provider name="default" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper">
<property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
</jacc-provider>
<audit-module classname="com.sun.enterprise.security.Audit" name="default">
<property name="auditOn" value="false"/>
</audit-module>
<message-security-config auth-layer="SOAP">
<!-- turned off by default -->
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type="client">
<request-policy auth-source="content"/>
<response-policy auth-source="content"/>
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-2.0.xml"/>
</provider-config>
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client">
<request-policy auth-source="content"/>
<response-policy auth-source="content"/>
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
</provider-config>
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="XWS_ServerProvider" provider-type="server">
<request-policy auth-source="content"/>
<response-policy auth-source="content"/>
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-2.0.xml"/>
</provider-config>
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="ServerProvider" provider-type="server">
<request-policy auth-source="content"/>
<response-policy auth-source="content"/>
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
</provider-config>
</message-security-config>
</security-service>
<transaction-service automatic-recovery="false" heuristic-decision="rollback" keypoint-interval="2048" retry-timeout-in-seconds="600" timeout-in-seconds="0" tx-log-dir="${com.sun.aas.instanceRoot}/logs"/>
<monitoring-service>
<module-monitoring-levels connector-connection-pool="OFF" connector-service="OFF" ejb-container="OFF" http-service="OFF" jdbc-connection-pool="OFF" jms-service="OFF" jvm="OFF" orb="OFF" thread-pool="OFF" transaction-service="OFF" web-container="OFF"/>
</monitoring-service>
<diagnostic-service capture-app-dd="true" capture-hadb-info="true" capture-install-log="true" capture-system-info="true" compute-checksum="true" max-log-entries="500" min-log-level="INFO" verify-config="true"/>
<java-config classpath-suffix="" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" env-classpath-ignored="true" java-home="${com.sun.aas.javaRoot}" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" system-classpath="${com.sun.aas.installRoot}/lib/appserv-launch.jar">
<!-- various required jvm-options -->
<jvm-options>-client</jvm-options>
<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
<jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
<jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
<jvm-options>-Xmx1400m</jvm-options>
<jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
<jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
<jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext${path.separator}${com.sun.aas.derbyRoot}/lib</jvm-options>
<jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
<jvm-options>-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder</jvm-options>
<jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
<jvm-options>-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar</jvm-options>
<jvm-options>-Dcom.sun.enterprise.taglisteners=jsf-impl.jar</jvm-options>
<jvm-options>-XX:NewRatio=2</jvm-options>
<jvm-options>-XX:MaxPermSize=512m</jvm-options>
<jvm-options>-XX:PermSize=512m</jvm-options>
<jvm-options>-Xms1400m</jvm-options>
<jvm-options>-XX:+AggressiveHeap</jvm-options>
<jvm-options>-XX:MaxHeapFreeRatio=20</jvm-options>
<jvm-options>-XX:MinHeapFreeRatio=10</jvm-options>
</java-config>
<thread-pools>
<thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="0" num-work-queues="1" thread-pool-id="thread-pool-1"/>
</thread-pools>
<management-rules enabled="true">
</management-rules>
</config>
<!-- config model with name "server-config" ends -->
</configs>
<servers>
<server config-ref="server-config" lb-weight="100" name="server">
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="adminapp" virtual-servers="__asadmin"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="admingui" virtual-servers="__asadmin"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="MEjbApp" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="__JWSappclients" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="__ejb_container_timer_app" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="GestionPlanillas" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Beneficios" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="RRHH" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Contabilidad" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="WSContabilidad"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="PresupuestoFinanciero"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="SeguridadyAuditoria" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="General"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Subsistema_de_Recursos_Humanos"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="CajaChica" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Adquisiciones" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Proveedores" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Generales-ejb"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="raiz"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Adquisiciones-ejb"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Caja_Chica-ejb"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Contabilidad-ejb"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Proveedores-ejb"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Presupuesto_de_Inversiones-ejb"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="PresupuestodeInversiones" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="GestionVacaciones" virtual-servers="server"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="Almacenes-ejb"/>
<application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="PIM" virtual-servers="server"/>
<resource-ref enabled="true" ref="jdbc/__TimerPool"/>
<resource-ref enabled="true" ref="jdbc/__CallFlowPool"/>
<resource-ref enabled="true" ref="jdbc/__default"/>
<resource-ref enabled="true" ref="ConeccionBD"/>
<resource-ref enabled="true" ref="jdbc/ConeccionBD"/>
</server>
</servers>
<property name="administrative.domain.name" value="testeoapp9"/>
</domain>
Assets.. need further information.. please let me know[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Mas abajo|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Enreo aquiiiiiiiiiii almAux=3 almdeKardex=3|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs En el segundo while|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Mas abajo|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Enrtro al else|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs En el segundo while|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Mas abajo|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Enreo aquiiiiiiiiiii almAux=3 almdeKardex=3|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs En el segundo while|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Mas abajo|#]
[#|2007-10-03T17:12:16.600-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Enreo aquiiiiiiiiiii almAux=3 almdeKardex=3|#]
[#|2007-10-03T17:12:16.601-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs En el segundo while|#]
[#|2007-10-03T17:12:16.601-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Mas abajo|#]
[#|2007-10-03T17:12:16.601-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Enrtro al else|#]
[#|2007-10-03T17:12:16.617-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Entro al listarPedidosPorTipoPIMAlmacen|#]
[#|2007-10-03T17:12:16.633-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Paso el 1er query|#]
[#|2007-10-03T17:12:16.633-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Paso el 2do query|#]
[#|2007-10-03T17:12:16.673-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Paso el 2do query jeje|#]
[#|2007-10-03T17:12:16.673-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Tama��o=1|#]
[#|2007-10-03T17:12:16.673-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs En el segundo while|#]
[#|2007-10-03T17:12:16.673-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Mas abajo|#]
[#|2007-10-03T17:12:16.673-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Enreo aquiiiiiiiiiii almAux=3 almdeKardex=3|#]
[#|2007-10-03T17:12:26.629-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
Entra a interfaz con el valor: GVASQUEZ|#]
[#|2007-10-03T17:12:26.629-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
Sale de la consulta|#]
[#|2007-10-03T17:12:26.629-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
se creo la consulta|#]
[#|2007-10-03T17:12:26.659-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
Creo la lista|#]
[#|2007-10-03T17:12:26.659-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
Centro de costo: 222|#]
[#|2007-10-03T17:12:26.694-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
ccs Entro aquiiiii usuario=GVASQUEZ|#]
[#|2007-10-03T17:12:26.721-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
ccs empleado=2142|#]
[#|2007-10-03T17:12:26.742-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
ccs paso query|#]
[#|2007-10-03T17:12:27.313-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs Entro a imagen|#]
[#|2007-10-03T17:12:27.313-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs Paso 1|#]
[#|2007-10-03T17:12:27.314-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs Paso2|#]
[#|2007-10-03T17:12:27.315-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs Paso3|#]
[#|2007-10-03T17:12:27.315-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs Paso3aaa|#]
[#|2007-10-03T17:12:27.316-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs Paso3ddd|#]
[#|2007-10-03T17:12:27.316-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs:Paso4|#]
[#|2007-10-03T17:12:27.317-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs:Paso5|#]
[#|2007-10-03T17:12:27.318-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs:Paso6|#]
[#|2007-10-03T17:12:27.318-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():NML:Prueba5|#]
[#|2007-10-03T17:12:27.319-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():NML:Prueba6|#]
[#|2007-10-03T17:12:27.319-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():NML:Prueba7|#]
[#|2007-10-03T17:12:27.320-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():NML:Prueba8|#]
[#|2007-10-03T17:12:27.320-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs:Paso7|#]
[#|2007-10-03T17:12:27.321-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs:Paso8|#]
[#|2007-10-03T17:12:27.321-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs:Paso8aa|#]
[#|2007-10-03T17:12:27.322-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs:Paso9|#]
[#|2007-10-03T17:12:27.322-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|WebModule[/PIM] ServletContext.log():ccs:Paso10|#]
[#|2007-10-03T17:12:30.871-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
Entra a interfaz con el valor: GVASQUEZ|#]
[#|2007-10-03T17:12:30.871-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
Sale de la consulta|#]
[#|2007-10-03T17:12:30.871-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
se creo la consulta|#]
[#|2007-10-03T17:12:30.902-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
Creo la lista|#]
[#|2007-10-03T17:12:30.902-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
Centro de costo: 222|#]
[#|2007-10-03T17:12:30.920-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs Entro aquiiiii usuario=GVASQUEZ|#]
[#|2007-10-03T17:12:30.934-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs empleado=2142|#]
[#|2007-10-03T17:12:30.950-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|
ccs paso query|#]
[#|2007-10-03T17:12:31.319-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs Entro a imagen|#]
[#|2007-10-03T17:12:31.319-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs Paso 1|#]
[#|2007-10-03T17:12:31.320-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs Paso2|#]
[#|2007-10-03T17:12:31.320-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs Paso3|#]
[#|2007-10-03T17:12:31.321-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs Paso3aaa|#]
[#|2007-10-03T17:12:31.321-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs Paso3ddd|#]
[#|2007-10-03T17:12:31.322-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs:Paso4|#]
[#|2007-10-03T17:12:31.322-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs:Paso5|#]
[#|2007-10-03T17:12:31.323-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs:Paso6|#]
[#|2007-10-03T17:12:31.323-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():NML:Prueba5|#]
[#|2007-10-03T17:12:31.324-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():NML:Prueba6|#]
[#|2007-10-03T17:12:31.324-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():NML:Prueba7|#]
[#|2007-10-03T17:12:31.325-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():NML:Prueba8|#]
[#|2007-10-03T17:12:31.325-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():NML:Prueba9|#]
[#|2007-10-03T17:12:31.326-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs:Paso7|#]
[#|2007-10-03T17:12:31.326-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs:Paso8|#]
[#|2007-10-03T17:12:31.327-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs:Paso8bb|#]
[#|2007-10-03T17:12:31.327-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs:Paso9|#]
[#|2007-10-03T17:12:31.328-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-7879-0;|WebModule[/PIM] ServletContext.log():ccs:Paso10|#]
[#|2007-10-03T17:12:33.467-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
GVP - Parametros: vPedNro=0,vPedTpo=4,vPedDsc=,vPedEstado=0,vEmpCod=2142|#]
[#|2007-10-03T17:12:33.468-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
:::___qry=SELECT new cadeb.almacenes.datos.PedidoAlmacenDatos(a.pedido,a.tipodePedido,a.cargo,a.folio,a.descripcion, a.tipoPartida,a.conceptoPartida,a.fechadeAlta,a.estado,a.fechadeEstado,a.pedidoparaFecha,a.usuario,a.centroCostoAprobacion,a.observaciones,a.almacen.almacen,a.almacen.descripcion) FROM Almpedidos a Where a.pedido>=0 and UPPER(a.descripcion) Like '%%' and a.empleado =2142 and a.tipodePedido=4 Order by a.pedido|#]
[#|2007-10-03T17:12:33.671-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.684-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:33.694-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.707-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:33.716-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.722-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:33.731-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.736-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:33.745-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.750-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:33.759-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.774-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:33.783-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.799-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:33.856-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.861-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:33.871-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.880-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:33.889-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:33.894-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.067-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.071-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.083-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.088-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.096-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.101-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.109-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.123-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.136-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.143-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.152-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.157-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.166-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.181-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.189-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.203-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.211-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.223-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.232-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.237-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.246-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.265-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.276-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.288-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.297-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.304-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.312-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.317-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.327-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.332-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.341-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.345-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.354-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.363-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.372-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.377-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.386-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.394-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.403-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.408-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.418-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.424-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.433-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.440-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.449-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.455-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.465-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.472-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.481-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.497-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.505-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.514-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:34.525-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
En la clase de datos|#]
[#|2007-10-03T17:12:34.529-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=httpWorkerThread-7879-1;|
en proceso|#]
[#|2007-10-03T17:12:36.857-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
GVP - Parametros: vPedNro=0,vPedTpo=4,vPedDsc=,vPedEstado=0,vEmpCod=2142|#]
[#|2007-10-03T17:12:36.858-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
:::___qry=SELECT new cadeb.almacenes.datos.PedidoAlmacenDatos(a.pedido,a.tipodePedido,a.cargo,a.folio,a.descripcion, a.tipoPartida,a.conceptoPartida,a.fechadeAlta,a.estado,a.fechadeEstado,a.pedidoparaFecha,a.usuario,a.centroCostoAprobacion,a.observaciones,a.almacen.almacen,a.almacen.descripcion) FROM Almpedidos a Where a.pedido>=0 and UPPER(a.descripcion) Like '%%' and a.empleado =2142 and a.tipodePedido=4 Order by a.pedido|#]
[#|2007-10-03T17:12:37.087-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
En la clase de datos|#]
[#|2007-10-03T17:12:37.093-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
en proceso|#]
[#|2007-10-03T17:12:37.102-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
En la clase de datos|#]
[#|2007-10-03T17:12:37.108-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
en proceso|#]
[#|2007-10-03T17:12:37.117-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
En la clase de datos|#]
[#|2007-10-03T17:12:37.123-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
en proceso|#]
[#|2007-10-03T17:12:37.132-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
En la clase de datos|#]
[#|2007-10-03T17:12:37.136-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
en proceso|#]
[#|2007-10-03T17:12:37.145-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
En la clase de datos|#]
[#|2007-10-03T17:12:37.154-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
en proceso|#]
[#|2007-10-03T17:12:37.163-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
En la clase de datos|#]
[#|2007-10-03T17:12:37.168-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
en proceso|#]
[#|2007-10-03T17:12:37.176-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
En la clase de datos|#]
[#|2007-10-03T17:12:37.187-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
en proceso|#]
[#|2007-10-03T17:12:37.196-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=httpWorkerThread-7879-2;|
En la clase de datos|#]
[#|2007-10-03T17:12:37.202-0400|INFO|sun-appserver-pe9.0|javax.enterpri -
Hi , i'm trying to run a simple Midlet with a list, but appear the following errors:
Error running executable C:\WTK22\bin\zayit
java.net.SocketException: No buffer space available (maximum connections reached?): JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at com.sun.kvem.Lime.runClient(Unknown Source)
at com.sun.kvem.KVMBridge.runKVM(Unknown Source)
at com.sun.kvem.KVMBridge.runKVM(Unknown Source)
at com.sun.kvem.midp.MIDP$4.run(Unknown Source)
the code of the Midlet is so simple and i don't know what happen.
i hope that you can help me
thanksthe code is:
package componentes;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class InterfazMid extends MIDlet implements CommandListener {
private Display display;
private List menu;
private List lista;
private TextBox cajaTexto;
private Form form;
private DateField campoFecha;
private Gauge indicador;
private TextField campoTexto;
private Ticker ticker;
private Alert aviso;
private Image imagen;
private Command atras;
private Command menuPrincipal;
private Command salir;
String menuActual = null;
public InterfazMid() {
form = new Form( "Formulario" );
indicador = new Gauge( "Indicador",false,50,20 );
campoTexto = new TextField( "Campo de texto","abc",40,0 );
ticker = new Ticker( "Componentes de la intefaz MIDP" );
aviso = new Alert( "Aviso Sonoro" );
imagen = Image.createImage( "/error.png" );
} catch( Exception e ) {}
atras = new Command( "Atr�s",Command.BACK,0 );
menuPrincipal = new Command( "Men� Ppal",Command.SCREEN,1 );
salir = new Command( "Salir",Command.STOP,2 );
protected void startApp() {
display = Display.getDisplay( this );
menu = new List( "Interfaz MIDP",Choice.IMPLICIT );
menu.append( "Caja de texto",null );
menu.append( "Fecha",null );
menu.append( "Lista",null );
menu.append( "Aviso",null );
menu.append( "Formulario",null );
menu.addCommand( salir );
menu.setCommandListener( this );
menu.setTicker( ticker );
mainMenu();
protected void pauseApp() {}
protected void destroyApp( boolean flag ) {}
public void mainMenu() {
menuActual = "Men� Ppal";
display.setCurrent( menu );
public void testTextBox() {
cajaTexto = new TextBox( "Teclea algo:","",10,TextField.ANY );
cajaTexto.setTicker( new Ticker("Probando TextBox") );
cajaTexto.addCommand( atras );
cajaTexto.setCommandListener( this );
cajaTexto.setString( "ABC" );
display.setCurrent( cajaTexto );
menuActual = "texto";
public void testList() {
lista = new List( "Seleciona:",Choice.MULTIPLE );
lista.setTicker( new Ticker("Probando List") );
lista.addCommand( atras );
lista.setCommandListener( this );
lista.append( "Opci�n 1",null );
lista.append( "Opci�n 2",null );
lista.append( "Opci�n 3",null );
lista.append( "Opci�n 4",null );
display.setCurrent(lista);
menuActual = "lista";
public void testAlert() {
aviso.setType( AlertType.ERROR );
aviso.setImage( imagen );
aviso.setString( " ** ERROR **" );
display.setCurrent( aviso );
public void testDate() {
java.util.Date fecha = new java.util.Date();
campoFecha = new DateField( "Hoy es: ",DateField.DATE );
campoFecha.setDate( fecha );
Form f = new Form( "Fecha" );
f.append( campoFecha );
f.addCommand( atras );
f.setCommandListener( this );
display.setCurrent( f );
menuActual = "fecha";
public void testForm() {
form.append( campoTexto );
form.append( indicador );
form.addCommand( atras );
form.setCommandListener( this );
display.setCurrent( form );
menuActual = "form";
public void commandAction( Command c,Displayable d ) {
String label = c.getLabel();
if( label.equals("Salir") ) {
destroyApp( true );
notifyDestroyed();
else if (label.equals("Atr�s")) {
if( menuActual.equals( "lista" ) ||
menuActual.equals( "texto" ) ||
menuActual.equals( "fecha" ) ||
menuActual.equals( "form" ) ) {
mainMenu();
else {
List l = (List)display.getCurrent();
switch( l.getSelectedIndex() ) {
case 0:
testTextBox();
break;
case 1:
testDate();
break;
case 2:
testList();
break;
case 3:
testAlert();
break;
case 4:
testForm();
break;
the code is so simple. i think that the problem is on the j2me wirless toolkit but i don't know.
thank you
bye -
Buenas,
alguien sabe si en Java hay alg�n gestor de �lbumes de fotos parecido a Coppermine (PHP) ??? Estoy trabajando con JAlbum pero busco algo m�s din�mico, donde los usuarios puedan colgar ellos las fotos desde un interfaz web.
Saludos y gracias
Hello friends,
do you know if is there any photo albums manager like Coppermine ( PHP ) ??? Currently I'm working with JAlbum, but I'm looking for something more dynamic, where the users can upload pictures from a web interface.
Best Regards and thank youTry on sf.net?
This is developer forum; it is not really the best place to get suggestions for complete applications, but rather answers to specific Java programming questions.
Good luck in finding and application -
Problem with GET File using FTP_COMMAND
Hi,
I have the follow situation:
concatenate 'cd' '/interfaz/DM/data_in/comm' into w_cmd separated by ' '.
call function 'FTP_COMMAND'
EXPORTING
handle = L_HANDLE
command = w_cmd
TABLES
data = result.
w_cmd = 'nlist'.
call function 'FTP_COMMAND'
EXPORTING
handle = L_HANDLE
command = w_cmd
TABLES
data = result.
**.. Create ftp-command
CONCATENATE 'get' '"SM201002230002.txt"'
INTO w_cmd SEPARATED BY ' '.
call function 'FTP_COMMAND'
EXPORTING
handle = L_HANDLE
command = w_cmd
TABLES
data = result.
call function 'FTP_DISCONNECT'
EXPORTING
handle = L_HANDLE.
But I don´t have to take the file.
The result that i have in internal table result is:
nlist
200 PORT command successful.
150 Opening data connection for ..
.sh_history
SM201002230002.txt
SM201002230001.txt
226 Transfer complete.
get "SM201002230002.txt"
200 PORT command successful.
150 Opening data connection for SM201002230002.txt (152 bytes).
226 Transfer complete.
152 bytes received in 0.00 seconds (0.15 Kbytes/s)
Why i Can´t take the File?Send the solution.
CONCATENATE 'cd' '/interfaz/DM/data_in/comm' into w_cmd separated by ' '.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = L_HANDLE
command = w_cmd
TABLES
data = result.
w_cmd = 'ls'.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = L_HANDLE
command = w_cmd
TABLES
data = result.
TYPES: BEGIN OF ty_files,
file TYPE char200,
END OF ty_files.
DATA: it_files TYPE STANDARD TABLE OF ty_files,
wa_files TYPE ty_files.
LOOP AT result.
check result-line+72(4) = '.txt'.
IF sy-subrc = 0.
W_CMD = result-LINE+58(18).
CALL FUNCTION 'FTP_SERVER_TO_R3'
EXPORTING
HANDLE = L_HANDLE
FNAME = W_CMD " SM201002230001.txt
CHARACTER_MODE = 'X'
IMPORTING
BLOB_LENGTH =
TABLES
BLOB =
TEXT = I_FTP
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
ENDIF.
ENDLOOP. -
Hi,
I'm trying to create an UI Template. I've generated the html using Frontpage and am successfully able to see in a browser.
I've copied the html to the UI form, but when I try to preview or execute the UI template, I get the following error:
Error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-11230)
nullI AM FACING SIMILAR PROBLEM, THE EXACT ERROR IS:
Error: Excepcisn de wwv_generate_component.build_procedure (WWV-01821)
No se ha podido generar la pantalla de interfaz de usuario: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-16409)
(SORRY , PART OF THE ERROR IS IN SPANISH!)
I CREATED A FORM , WORKED WITH IT A LOT WITHOUT PROBLEMS. NOW I NEED TO DO SOME CHANGES ON CERTAIN FIELDS AND WHEN I TRY TO SAVE IT I GET THE ABOVE ERROR.
THEN I GO BACK TO AN OLDER VERSION, COPY AND TRY TO DO CHANGES AND AGAIN THE ERROR COMES UP.
THE CHANGES I AM TRYING TO DO ARE TO SOME OF THE EXISTING FIELDS IN THE FORM WHICH NEED TO BE PUT AS "INSERTABLE".
THE SCREEN LAYOUT IS DISPLAYED WITHOUT PROBLEM.
(THE FORM IS BASED ON A TABLE WITH APROX 80 FIELDS).
I NEED SOME URGENT HELP. PLS LET ME KNOW ANY OTHER INFO YOU MAY NEED TO HELP ME SOLVE THIS PROBLEM.
FYI I AM WORKING ON PORTAL VERSION 3.0.9 / ON Windows 2000 (DATABASE 8.1.7.0 AND iAS ARE ON DIFFERENT MACHINES).
TKS IN ADVANCE -
Changing Audio Language in Netflix (Latin America)
Hi all,
I´m having issues with Netflix in Latin America from an Apple TV. Many movies have three languages (spanish, english and portuguese) and depending the availabitty it starts by default in spanish. I prefer english but i can´t find the way to change the audio language, I´ve found out how to change subtitules but I can´t find the way to change audio language.
I alredy tried changing the defalut audio options on the Apple Tv general seetings but that haven´t changed a thing. It seems to be a limitation on iOS devices cause I´m also experiencing the same thing on my iPhone 4.
Thanks in advance.
MauroMe sucede lo mismo:
Usaba Netflix en mi PS3 y cambiar el audio a otro idioma era una sencillez.
Desde que Netflix lanzó para iOS y Apple TV, he notado que es imposible cambiar el audio (en mi iPhone), solo hay opciones para subtítulos. En el Apple TV, algunas películas se reproducen por defecto en español y no puedo cambiarlas al audio en inglés.
Me gusta más la interfaz en Apple TV (y uso mi iPhone como remoto) que en PS3, por eso la molestia mía, si no, no me importara tanto.
Sugiero que todos hagamos un "feedback" a Apple y/o llamemos a Netflix Servicio al Cliente para presionar para que mejoren el servicio, es un problema nuevo porque a nosotros los latinoamericanos nos gusta más escuchar el audio en el idioma original y leer subtítulos, estamos acostumbrados a eso.
Para el tema del "Feedback" para Apple TV ver el enlace:
http://www.apple.com/feedback/appletv.html
Message was edited by: racso39 -
Problem to create jar with images
Hello
I have a project, it's a frame with a panel that contains a image, I want to create a Jar, but I have to problems, if create a Jar and execute out the project folder, I can't see the images, if I use getClass().getResource, I have other problems, I can't add panels.
How it's difficult to say, I going to put a link from the project make with eclipse [My project|http://www.megaupload.com/?d=HBPHUWE9] , if someone wants have a look I would be grateful.
http://www.megaupload.com/?d=HBPHUWE9
Just look at the package com.constructor.interfaz
To make the jar use the class InterfazFactoriaPaneles
Thanks in advance !
Edited by: Dav1d on Jul 10, 2009 6:11 AM
Edited by: Dav1d on Jul 10, 2009 6:12 AMI explain better:
I have a Class -> InterfazFactoriaPaneles, with this main
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
InterfazFactoriaPaneles application = new InterfazFactoriaPaneles();
application.getJFrame().setVisible(true);
in the Frame I add a JPanel with an image, to load the image I override this method, where com.constructor.imagenes, it's the path where I've got my images :
public void paintComponent(Graphics g){
Dimension tamanio = getSize();
ImageIcon imagenFondo = new ImageIcon("./src/com/constructor/imagenes/patronConstructor.jpg");
g.drawImage(imagenFondo.getImage(),0,0,tamanio.width,tamanio.height,null);
setOpaque(false);
super.paintComponent(g);
the with a menu, I remove the panel with the image I load other panel with components (JTextField, JTable, JLabel,...).
If run the program from eclipse, everything it's ok, if I export into jar file, it works if the jar it's inside the project folder, but if I put the jar in other location, doens't load images, I google from answer and I read to put images path like that: new ImageIcon(getClass().getResource("/com/constructor/imagenes/patronConstructor.jpg")); , but if I do that, and run in eclipse, everything it's ok, but If I export into a Jar, I load the image, but when I try to change to other panel it doesn't work.
So I do not what's the answer, if someone check my code, and try to make a jar, and the move the jar file into other location, will be able to see images doesn't appears. -
JSF, tiles, xml and xsl
Good days people, I am employed at an app that wants to integrate JSF, tiles, xml and xsl.
Basically the app receives information of the user's interfaz, builds an url with the above mentioned information and invokes to a service web that a xml returns with the information. The idea is to generate the exit in format html or wml with an insole(staff) xsl and to send the result in this format to every jsp that is going to form a part of the page that it will generate tiles. at first I understand that it is feasible, i�d like to know if someone already has done it and since it has done it.
Just now what I have is a managed bean that receives the parameters of the altar frontal and invokes a method of a service, like this:
public String encuentra(){
//deja los atributos privados rellenos.
String mensaje ;
crearYRellenarBusquedaVO();
try {
setResultado(this.getServicio().obtenerResultadosWML(this.getBusquedaVO()));
mensaje="succesNoJS";
}catch(java.lang.IllegalArgumentException e){
mensaje="error";
}catch(es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException e1){
mensaje="error";
}catch(Exception e2){
mensaje="error";
return mensaje;
public String obtenerResultadosWML(es.yell.frontlite.service.impl.BusquedaVO busquedaVO){
if (busquedaVO == null){
throw new IllegalArgumentException(
"obtenerResultadosJSdesactivado(es.yell.frontlite.service.impl.BusquedaVO busquedaVO) - 'busquedaVO' no puede ser nulo.");
try{
return this.manejarObtenerResultadosWML(busquedaVO);
}catch(es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException e1){
throw new es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException(
"Error ejecutando el servicio String obtenerResultadosJSdesactivado(es.yell.frontlite.service.impl.BusquedaVO busquedaVO). " + e1.getCause(),e1);
}catch(Exception e){
throw new es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException(
"Error ejecutando el servicio String obtenerResultadosJSdesactivado(es.yell.frontlite.service.impl.BusquedaVO busquedaVO). " + e.getCause(),e);
//it returns html code!
protected String manejarObtenerResultadosWML(es.yell.frontlite.service.impl.BusquedaVO busquedaVO)
throws java.lang.Exception{
try{
// xmlOrigen has full xml response from server
String xmlOrigen = manejarObtenerResultadosJSActivado(busquedaVO);
Source xmlSource = new StreamSource(new StringBufferInputStream(xmlOrigen));
Source xsltSource = new StreamSource(SrvBusquedaNoxtrumServiceImpl.class.getResourceAsStream(Constantes.XSL_FILE));
StringWriter cadenaSalida = new StringWriter();
Result bufferResultado = new StreamResult(cadenaSalida);
TransformerFactory factoriaTrans = TransformerFactory.newInstance();
Transformer transformador = factoriaTrans.newTransformer(xsltSource);
transformador.transform(xmlSource, bufferResultado);
System.out.println(cadenaSalida.toString());
return cadenaSalida.toString();
}catch(Exception e2){
throw new es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException (e2.getMessage());
With this exit in html, since(as,like) how could i forward it towards a jsp especially?
faces-config.xml
<navigation-rule>
<from-view-id>/index.jsp</from-view-id>
<navigation-case>
<from-outcome>succesNoJS</from-outcome>
<to-view-id>/jsDesactivado.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>error</from-outcome>
<to-view-id>/error.jsp</to-view-id>
</navigation-case>
</navigation-rule>
index.jsp
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<f:view>
<f:loadBundle basename="MessageResources" var="msg"/>
<head>
<title>
${msg.titulo}
</title>
</head>
<body>
<h:form id="formulario">
Que:
<h:inputText id="campoQue" value="#{yellProxy.campoQue}" />
Donde
<h:inputText id="campoDonde" value="#{ yellProxy.campoDonde}" />
<h:commandButton id="boton" value="Encuentra" action="#{yellProxy.encuentra}"/>
</h:form>
</f:view>
</body>
</html>
jsDesactivado.jsp
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<%@taglib uri=" http://java.sun.com/jsp/jstl/core" prefix="c"%>
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
" http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1>JSP Page</h1>
jsDesactivado!!
<%--
This example uses JSTL, uncomment the taglib directive above.
To test, display the page like this: index.jsp?sayHello=true&name=Murphy
--%>
<%--
<c:if test="${param.sayHello}">
<!-- Let's welcome the user ${param.name} -->
Hello ${param.name}!
</c:if>
--%>
<jsp:getProperty name="yellProxy" property="resultado"/>
</body>
</html>
If you could pass me a simple example of use of an app that uses JSF, tiles, xml and xsl, i�be grateful
regards a lot!We too (at Viking Freight) would also be very interested to see if anybody
has produced such a useful series of classes...
Frank Lees, Developer
-----Original Message-----
From: Amin, Kamran [mailto:kamran.aminframeworkinc.com]
Sent: Wednesday, January 19, 2000 12:11 PM
To: 'Forte User'
Subject: (forte-users) XML and XSL in Forte
Has anybody integrated an XSL parser with Forte. I know Forte provides us
with an XML parser but that does not help with parsing XSL. There a lot of
parsers written in JAVA but that will not integrate well with Forte. We
need something that will be easy to integrate with Forte. This parser will
take our XML and XSL to give us a result set. If anybody can comment on the
subject or share some information I would appreciate it.
thanks in advance.
ka
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com -
Error method : mouseClicked();
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at PnlSimulacion.mouseClicked(PnlSimulacion.java:816)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:21
1)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)Here is my class Simulacion:
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
import java.util.Locale;
import java.util.ArrayList;
import java.util.Date;
import java.text.SimpleDateFormat;
//import java.applet.*;
import sun.audio.*;
import java.io.*;
public class PnlSimulacion extends JInternalFrame implements ActionListener,MouseListener {
// Declaraci�n de variables
JPanel pnlTragam,
pnlTxtCredito,pnlTxtCoins,pnlTxtGanancia;
JLabel lblTragamonedas,
lblGirar, lblApostUno, lblApostMax,lblAceptar,
//Labels que contendr�n las im�genes de los rodillos
lblRod1,lblRod2,lblRod3,
lblGirando,
//arreglo de labels(para los numeros
lbl[]=new JLabel[10],lbl1[]=new JLabel[3],lbl2[]=new JLabel[10];
JButton btnAceptar;
ImageIcon girarIn,girarOut,girarPush,apuestaMaximaIn,apuestaMaximaOut,
apuestaMaximaPush,apostarUnoIn,apostarUnoOut,apostarUnoPush;
JTextArea txtS;
//ArrayList de imagenes
ArrayList<ImageIcon> arrImagenes = new ArrayList<ImageIcon>();
//SOLO para la prueba, cambie la variable de moneda
double moneda=50.0;
//variable global de coins
double coins=0;
Timer timer;
//cuenta cuantas veces a giado el rodillo
int girosRod1,girosRod2,girosRod3;
//indice de la imagen que se ve en cada rodillo
int indRodillo1, indRodillo2, indRodillo3;
SimpleDateFormat sdf;
// AudioClip sonido1,betOne,betMax,winBig; esto es para JApplets
// //Creacion del Imput para sonido en JFrame o aplicaciones no Applet
// InputStream in = new FileInputStream("Spin.wav");
// InputStream sonido1 = new FileInputStream("Spin.wav");
// InputStream betOne = new FileInputStream("BetOne.wav");
// InputStream betMax = new FileInputStream("BetMax.wav");
// InputStream winBig = new FileInputStream("WinBig.wav");
// InputStream csonido1 = new FileInputStream("Spin.wav");
//referencia al frame
private MnuPanel m;
public Sonido s; // <-------------------------- THIS COULD BE THE ERROR?
// Crea la interfaz gr�fica de usuario
public PnlSimulacion(MnuPanel m) {
// AudioStream as = new AudioStream(in);
// AudioData data = as.getData();
// ContinuousAudioDataStream cas = new ContinuousAudioDataStream (data);
// AudioStream betOne = new AudioStream(betOne);
// AudioStream betMax = new AudioStream(betMax);
// AudioStream winBig = new AudioStream(winBig);
getContentPane().setLayout(null);
// sonido1=getAudioClip(getDocumentBase(),);
// betOne=getAudioClip(getDocumentBase(),"BetOne.wav");
// betMax=getAudioClip(getDocumentBase(),"BetMax.wav");
// winBig=getAudioClip(getDocumentBase(),"WinBig.wav");
Date d = new Date();
//para fomratear adecuadamente
//SimpleDateFormat sdf=new SimpleDateFormat("dd/MM/yy");
sdf=new SimpleDateFormat("dd/MM/yy hh:mm:ss");
//crea el timer, ajustarlo segun se kiera
timer= new Timer(40,this);
//PANEL TRAGAMONEDAS
//Panel del tragamonedas
pnlTragam=new JPanel();
pnlTragam.setLayout(null);
pnlTragam.setBounds(0,0,800,640);
pnlTragam.setVisible(true);
getContentPane().add(pnlTragam);
// textArea para el ticket
txtS=new JTextArea();
txtS.setBounds(635,240,152,230);
txtS.setEditable(false);
pnlTragam.add(txtS);
//crea un label que es el que contendr� la imag�n del simulador
lblTragamonedas=new JLabel(
new ImageIcon(getClass().getResource("FondoTragamonedas.png")));
lblTragamonedas.setBounds(0,0,800,640);
pnlTragam.add(lblTragamonedas);
//BOTON aceptar del ticket
btnAceptar=new JButton(
new ImageIcon(getClass().getResource("aceptar.jpg")));
btnAceptar.setBounds(682,483,72,21);
btnAceptar.addActionListener(this);
pnlTragam.add(btnAceptar);
//imagenes de los botones para cargar
girarIn = new ImageIcon(
getClass().getResource("girarIn.jpg"));
girarOut = new ImageIcon(
getClass().getResource("girarOut.jpg"));
girarPush = new ImageIcon(
getClass().getResource("girarPush.jpg"));
apuestaMaximaIn = new ImageIcon(
getClass().getResource("apuestaMaximaIn.jpg"));
apuestaMaximaOut = new ImageIcon(
getClass().getResource("apuestaMaximaOut.jpg"));
apuestaMaximaPush = new ImageIcon(
getClass().getResource("apuestaMaximaPush.jpg"));
apostarUnoIn = new ImageIcon(
getClass().getResource("apostarUnoIn.jpg"));
apostarUnoOut = new ImageIcon(
getClass().getResource("apostarUnoOut.jpg"));
apostarUnoPush = new ImageIcon(
getClass().getResource("apostarUnoPush.jpg"));
//lblGirar
lblGirar=new JLabel(girarOut);
lblGirar.setBounds(451,517,66,42);
lblGirar.addMouseListener(this);
lblGirar.setToolTipText("presione para girar los rodillos");
lblGirar.setCursor(new Cursor(Cursor.HAND_CURSOR));
pnlTragam.add(lblGirar);
//lbl de apuesta "uno por uno"
lblApostUno=new JLabel(apostarUnoOut);
lblApostUno.setBounds(375,518,61,41);
lblApostUno.addMouseListener(this);
lblApostUno.setCursor(new Cursor(Cursor.HAND_CURSOR));
lblApostUno.setToolTipText("presione para apostar solo una moneda");
pnlTragam.add(lblApostUno);
//BOTON de apuesta "maxima" (2 soles)
lblApostMax=new JLabel(apuestaMaximaOut);
lblApostMax.setBounds(528,518,67,41);
lblApostMax.addMouseListener(this);
lblApostMax.setCursor(new Cursor(Cursor.HAND_CURSOR));
lblApostMax.setToolTipText("presione para reaizar la maxima apuesta");
pnlTragam.add(lblApostMax);
//gif GIRANDO...
lblGirando = new JLabel(new ImageIcon(
getClass().getResource("girando.gif")));
lblGirando.setBounds(400,598,69,17);
lblGirando.setVisible(false);
lblTragamonedas.add(lblGirando);
//PANEL MUESTRA_CREDITO
//este es un peque�o panel que contiene imagenes de mumeros
pnlTxtCredito=new JPanel();
pnlTxtCredito.setLayout(null);
pnlTxtCredito.setBounds(408,470,102,19);
pnlTxtCredito.setVisible(true);
lblTragamonedas.add(pnlTxtCredito);
//PANEL MUESTRA_MONEDAS_INSERTADAS(COINS)
//este es un peque�o panel que contiene imagenes de mumeros
pnlTxtCoins=new JPanel();
pnlTxtCoins.setLayout(null);
pnlTxtCoins.setBounds(539,427,25,19);
pnlTxtCoins.setVisible(true);
lblTragamonedas.add(pnlTxtCoins);
//PANEL MUESTRA_GANANCIA
//este es un peque�o panel que contiene imagenes de mumeros
pnlTxtGanancia=new JPanel();
pnlTxtGanancia.setLayout(null);
pnlTxtGanancia.setBounds(272,470,102,19);
pnlTxtGanancia.setVisible(true);
lblTragamonedas.add(pnlTxtGanancia);
//labels que muestran las imagenes de los rodillos-------------
lblRod1=new JLabel();
lblRod1.setBounds(255,343,80,110);
pnlTragam.add(lblRod1);
lblRod2=new JLabel();
lblRod2.setBounds(342,343,80,110);
pnlTragam.add(lblRod2);
lblRod3=new JLabel();
lblRod3.setBounds(429,343,80,110);
pnlTragam.add(lblRod3);
//metodos a mostrar cuando inicia el programa
mostrarNada();
mostrarNada1();
mostrarNada2();
procesarCredito(moneda);
cargaImagenes();
lblRod1.setIcon(arrImagenes.get(0));
lblRod2.setIcon(arrImagenes.get(0));
lblRod3.setIcon(arrImagenes.get(0));
//muestra la imagen
// Procesa eventos de tipo ActionEvent
public void actionPerformed( ActionEvent e ){
//cuando el timer esta activo
if(e.getSource()==timer){
//esto suceder� cada 100milisegundos
girar();
//desactiva las acciones de los Botones (labels)
if(e.getSource()==lblApostUno){//no hace nada
if(e.getSource()==lblApostMax){//no hace nada
if(e.getSource()==lblGirar){//no hace nada
if(e.getSource()==btnAceptar){
txtS.setText("");
}//fin de action performed
//METODOS PROPIOS
int aleatorio(int min,int max){
return (int)((max-min+1)*Math.random()+min);
//PANEL MUESTRA_CREDITO
void procesarCredito(double numero){
String num=numero +"0";
limpiar();
int pos=0;
char caracter;
for(int i=num.length()-1;i>=0;i--){
caracter=num.charAt(i);
if(caracter=='.'){
lbl[pos].setIcon(new ImageIcon(getClass().getResource(
"im10.jpg")));
pos++;
}else{
lbl[pos].setIcon(new ImageIcon(getClass().getResource(
"im"+caracter+".jpg")));
pos++;
}//fin del for
}//fin de muestraCredito
void limpiar(){
for(int i=0;i<10;i++){
lbl.setIcon(new ImageIcon(getClass().getResource(
"imSin.jpg")));
void mostrarNada(){
for(int i=0;i<2;i++){
lbl[i]=new JLabel(new ImageIcon(getClass().getResource(
"im0.jpg")));
lbl[i].setBounds(91-i*11,0,11,19);
pnlTxtCredito.add(lbl[i]);
lbl[2]=new JLabel(new ImageIcon(getClass().getResource(
"im10.jpg")));//rep el punto
lbl[2].setBounds(77,0,3,19);
pnlTxtCredito.add(lbl[2]);
for(int i=3;i<10;i++){
lbl[i]=new JLabel(new ImageIcon(getClass().getResource(
"imSin.jpg")));
lbl[i].setBounds(99-i*11,0,11,19);
pnlTxtCredito.add(lbl[i]);
}//fin de mostarNada
//MUESTRA COINS
void procesarCoins(double numero){
String num=""+numero;
limpiar1();
int pos=0;
char caracter;
for(int i=num.length()-1;i>=0;i--){
caracter=num.charAt(i);
if(caracter=='.'){
lbl1[pos].setIcon(new ImageIcon(getClass().getResource(
"im10.jpg")));
pos++;
}else{
lbl1[pos].setIcon(new ImageIcon(getClass().getResource(
"im"+caracter+".jpg")));
pos++;
}//fin del for
}//fin de procesarCoins
void limpiar1(){
for(int i=0;i<3;i++){
lbl1[i].setIcon(new ImageIcon(getClass().getResource(
"imSin.jpg")));
void mostrarNada1(){
lbl1[0]=new JLabel(new ImageIcon(getClass().getResource("im0.jpg")));
lbl1[0].setBounds(14,0,11,19);
pnlTxtCoins.add(lbl1[0]);
lbl1[1]=new JLabel(new ImageIcon(getClass().getResource("im10.jpg")));
lbl1[1].setBounds(11,0,3,19);
pnlTxtCoins.add(lbl1[1]);
lbl1[2]=new JLabel(new ImageIcon(getClass().getResource("im0.jpg")));
lbl1[2].setBounds(0,0,11,19);
pnlTxtCoins.add(lbl1[2]);
//MUESTRA_GANANCIA
void procesarGanancia(double numero){
String num=numero+"0";
limpiar2();
int pos=0;
char caracter;
for(int i=num.length()-1;i>=0;i--){
caracter=num.charAt(i);
if(caracter=='.'){
lbl2[pos].setIcon(new ImageIcon(getClass().getResource(
"im10.jpg")));
pos++;
}else{
lbl2[pos].setIcon(new ImageIcon(getClass().getResource(
"im"+caracter+".jpg")));
pos++;
}//fin del for
}//fin de procesarGanancia
void limpiar2(){
for(int i=0;i<10;i++){
lbl2[i].setIcon(new ImageIcon(getClass().getResource(
"imSin.jpg")));
}//fin de for
void mostrarNada2(){
for(int i=0;i<2;i++){
lbl2[i]=new JLabel(new ImageIcon(getClass().getResource(
"im0.jpg")));
lbl2[i].setBounds(91-i*11,0,11,19);
pnlTxtGanancia.add(lbl2[i]);
lbl2[2]=new JLabel(new ImageIcon(getClass().getResource(
"im10.jpg")));
lbl2[2].setBounds(77,0,3,19);
pnlTxtGanancia.add(lbl2[2]);
for(int i=3;i<10;i++){
lbl2[i]=new JLabel(new ImageIcon(getClass().getResource(
"imSin.jpg")));
lbl2[i].setBounds(99-i*11,0,11,19);
pnlTxtGanancia.add(lbl2[i]);
void pasarCredito(){
//restamos 0.50 a moneda por cada presionada de boton "Apostar Uno"
moneda-=0.5;
//aumentamos 0.5 a la apuesta
coins+=0.5;
//solo puede apostarse 2.00 como m�ximo.validamos:
//Si la apuesta llega a 2.5
if(coins==2.5){
//entonces devolvemos los 2.5 a moneda
moneda+=2.50;
//y cambiamos cois a cero
coins=0.0;
}//fin de if
}//fin de pasarCredito
void pasarMaximoMonedas(){
for(double i=coins;i<2.0;i+=0.5){
coins+=0.5;
moneda-=0.5;
void girar(){
//limpia el panel de ganancia
procesarGanancia(0);
//si los rodillos dejaron de girar
if( (girosRod1+girosRod2+girosRod3)==0){
//detiene el timer
lblGirando.setVisible(false);
timer.stop();
// AudioPlayer.player.stop(sonido1);
// String spin = "spin.wav";
// try {
// URL clipUrl = new URL("file:" + spin);
// AudioClip audioClip = Applet.newAudioClip("spin.wav");
// audioClip.play();
// Thread.currentThread().sleep(3000);
// } catch (Exception e) {
// e.printStackTrace();
//comprueba los resultados
comprovarResultados(indRodillo1,indRodillo2,indRodillo3 );
}else{
// sonido1.loop();
// AudioPlayer.player.start (csonido1);
lblGirando.setVisible(true);
//Giran los rodillos seg�n la cantidad de rotaciones aleatorias
//verifica si falta rodar un rodillo
if(girosRod1>0){
//cambiar la imagen y almacenar el indice de la que se encuentra
indRodillo1=girarImagen(lblRod1,indRodillo1);
//decrementar el numero de rotaciones del rodillo
girosRod1--;
if(girosRod2>0){
//cambiar la imagen y almacenar el indice de la que se encuentra
indRodillo2=girarImagen(lblRod2,indRodillo2);
//decrementar el numero de rotaciones del rodillo
girosRod2--;
if(girosRod3>0){
//cambiar la imagen y almacenar el indice de la que se encuentra
indRodillo3=girarImagen(lblRod3,indRodillo3);
//decrementar el numero de rotaciones del rodillo
girosRod3--;
}//fin de else
}//fin del m�todo girar
void comprovarResultados(int var1,int var2,int var3 ){
String result=""+ var1+ var2+ var3;
//si sali� las tres imagenes bar*1
if(result.equals("222")){
// AudioPlayer.player.start(winBig);
// winBig.play();
moneda=moneda +coins*20;
procesarCredito(moneda);
procesarGanancia(coins*20);
imprimirTicket(20);
mensaje("ud. a ganado :"+coins*20);
coins=0;
procesarCoins(coins);
//si sali� las tres imagenes bar*2
}else if(result.equals("444")){
// AudioPlayer.player.start(winBig);
// winBig.play();
moneda=moneda +coins*40;
procesarCredito(moneda);
procesarGanancia(coins*40);
imprimirTicket(40);
mensaje("ud. a ganado :"+coins*40);
coins=0;
procesarCoins(coins);
//si sali� las tres imagenes bar*3
}else if(result.equals("888")){
// AudioPlayer.player.start(winBig);
// winBig.play();
moneda=moneda +coins*80;
procesarCredito(moneda);
procesarGanancia(coins*80);
imprimirTicket(80);
mensaje("ud. a ganado :"+coins*80);
coins=0;
procesarCoins(coins);
//si sali� las tres imagenes dolar
}else if(result.equals("000")){
// AudioPlayer.player.start(winBig);
// winBig.play();
moneda=moneda +coins*1000;
procesarCredito(moneda);
procesarGanancia(coins*1000);
imprimirTicket(1000);
mensaje("ud. a ganado :"+coins*1000);
coins=0;
procesarCoins(coins);
//si sali� las tres imagenes cereza
}else if(result.equals("666")){
// AudioPlayer.player.start(winBig);
// winBig.play();
moneda=moneda +coins*160;
procesarCredito(moneda);
procesarGanancia(coins*160);
imprimirTicket(106);
mensaje("ud. a ganado :"+coins*160);
coins=0;
procesarCoins(coins);
//si salieron 3 bares cualquiera
}else if(
result.equals("224") || result.equals("228") ||
result.equals("242") || result.equals("244") ||
result.equals("248") || result.equals("282") ||
result.equals("284") || result.equals("288") ||
result.equals("422") || result.equals("424") ||
result.equals("428") || result.equals("442") ||
result.equals("448") || result.equals("482") ||
result.equals("484") || result.equals("488") ||
result.equals("822") || result.equals("824") ||
result.equals("828") || result.equals("842") ||
result.equals("844") || result.equals("848") ||
result.equals("882") || result.equals("884")
// AudioPlayer.player.start(winBig);
// winBig.play();
moneda=moneda + coins*10;
procesarCredito(moneda);
procesarGanancia(coins*10);
mensaje("ud. a ganado :"+coins*10);
imprimirTicket(10);
coins=0;
procesarCoins(coins);
//si sale dos cerezas
}else if(
result.matches("[6][6][0-9]")||
result.matches("[0-9][6][6]")||
result.matches("[6][0-9][6]")
// AudioPlayer.player.start(winBig);
// winBig.play();
moneda=moneda + coins*5;
procesarCredito(moneda);
procesarGanancia(coins*5);
imprimirTicket(5);
mensaje("ud. a ganado :"+coins*5);
coins=0;
procesarCoins(coins);
//si sale una cereza
}else if( result.matches("[6][0-9][0-9]")||
result.matches("[0-9][6][0-9]")||
result.matches("[0-9][0-9][6]")
// AudioPlayer.player.start(winBig);
// winBig.play();
moneda=moneda + coins*2;
procesarCredito(moneda);
procesarGanancia(coins*2);
imprimirTicket(2);
mensaje("ud. a ganado :"+coins*2);
coins=0;
procesarCoins(coins);
} else {
coins=0;
procesarCoins(coins);
procesarGanancia(0);
int girarImagen(JLabel lblImagen, int indiceImagenActual){
// Si la imagen que se ve actualmente es la �ltima se
// debe mostrar la primera (0)
if( indiceImagenActual == 9){
indiceImagenActual = -1;
// Mostrar la siguiente imagen seg�n el indice actual
lblImagen.setIcon(arrImagenes.get(indiceImagenActual+1));
return indiceImagenActual+1;
void cargaImagenes(){
//Carga las im�genes de los rodillos
for(int i=0; i<10; i++){
arrImagenes.add(new ImageIcon(
getClass().getResource("imag"+i+".png")
void imprimirTicket(int producto){
Date d = new Date();
txtS.setText(" TRAGAMONEDAS \n");
txtS.append(" CIBERTEC\n ");
txtS.append("******************************\n");
txtS.append("Gan� \t: S/. "+coins*producto +"\n");
txtS.append("Credito actual\t: S/. "+moneda +"\n");
txtS.append("****************************** \n");
txtS.append("Gracias por jugar \n ");
txtS.append(""+ sdf.format(d));
void mensaje(String text1){
JOptionPane.showMessageDialog(this,text1,"Mensaje",1);
//---------------------METODOS PARA EVENTOS DE MOUSE-------------------
public void mousePressed(MouseEvent e) {
if(e.getSource()==lblGirar){
lblGirar.setIcon(girarPush);
if(e.getSource()==lblApostUno){
lblApostUno.setIcon(apostarUnoPush);
if(e.getSource()==lblApostMax){
lblApostMax.setIcon(apuestaMaximaPush);
public void mouseReleased(MouseEvent e) {
if(e.getSource()==lblGirar){
lblGirar.setIcon(girarIn);
if(e.getSource()==lblApostUno){
lblApostUno.setIcon(apostarUnoIn);
if(e.getSource()==lblApostMax){
lblApostMax.setIcon(apuestaMaximaIn);
public void mouseEntered(MouseEvent e) {
if(e.getSource()==lblGirar){
lblGirar.setIcon(girarIn);
if(e.getSource()==lblApostMax){
lblApostMax.setIcon(apuestaMaximaIn);
if(e.getSource()==lblApostUno){
lblApostUno.setIcon(apostarUnoIn);
public void mouseExited(MouseEvent e) {
if(e.getSource()==lblGirar){
lblGirar.setIcon(girarOut);
if(e.getSource()==lblApostMax){
lblApostMax.setIcon(apuestaMaximaOut);
if(e.getSource()==lblApostUno){
lblApostUno.setIcon(apostarUnoOut);
// AudioPlayer.player.stop(betOne);
public void mouseClicked(MouseEvent e) {
//Se ejecuta al darle click al JLabel lblGirar
if(e.getSource()==lblGirar){
if(coins==0){
JOptionPane.showMessageDialog(this,"ingrese una moneda",
"Mensaje",1);
}else if(moneda<0){
JOptionPane.showMessageDialog(this,"Recargue su tarjeta",
"Mensaje",1);
}else{
//mediante los numeros aleatorios generamos el n�mero de giros
//que dara cada rodillo
girosRod1=aleatorio(10,40);
girosRod2=aleatorio(girosRod1+10,girosRod1+40);
girosRod3=aleatorio(girosRod2+10,girosRod2+40);
//inicia el Timer
timer.start();
}//fin de btn girar
//boton Apostar Uno
if(e.getSource()==lblApostUno){
// AudioPlayer.player.start(betOne);
// betOne.play();
//si no se tiene credito muestra un mensaje
if(moneda<=0){
JOptionPane.showMessageDialog(this,"Recargue su tarjeta",
"Mensaje",1);
//si se tiene credito
}else{
pasarCredito();
procesarCoins(coins);
procesarCredito(moneda);
}//fin de apostar uno
//si se presiona el boton de apuesta m�xima
if(e.getSource()==lblApostMax){
s.playBetMax();
// AudioPlayer.player.start(betMax);
// betMax.play();
//si tiene 2 o mas soles se puede efectuar la apuesta maxima
if(moneda>=2){
pasarMaximoMonedas();
procesarCoins(coins);
procesarCredito(moneda);
}//sino se muestra un mensaje
else{
JOptionPane.showMessageDialog(this,
"No cuenta con cr�dito suficiente para efectuar una"+
"apuesta m�xima ", "Mensaje",1);
}//fin de apuesta m�xima
}//fin de public
}//fin de la clase
and my class Sonido:
import java.net.URL;
import java.io.FileInputStream;
import sun.audio.*;
public class Sonido {
public AudioData spinData,betOneData,betMaxData,winBigData;
public AudioDataStream spinStream, betOneStream, betMaxStream, winBigStream ;
public ContinuousAudioDataStream continuousSpinStream,continuousBetOneStream,continuousBetMaxStream,continuousWinBigStream;
static int length;
public Sonido (URL url) throws java.io.IOException {//ITS ALL CORRECTLY? WHERE I HAVE TO PUT THE URL CLASSES/"FILE.WAV"
spinData = new AudioStream (url.openStream()).getData();
betOneData = new AudioStream (url.openStream()).getData();
betMaxData = new AudioStream (url.openStream()).getData();
winBigData = new AudioStream (url.openStream()).getData();
spinStream = null;
betOneStream = null;
betMaxStream = null;
winBigStream = null;
continuousSpinStream = null;
continuousBetOneStream = null;
continuousBetMaxStream = null;
continuousWinBigStream = null;
public Sonido (String Spin,String WinBig,String BetOne,String BetMax ) throws java.io.IOException {
FileInputStream spin = new FileInputStream (Spin);
FileInputStream winBig = new FileInputStream (WinBig);
FileInputStream betOne = new FileInputStream (BetOne);
FileInputStream betMax = new FileInputStream (BetMax);
AudioStream spinStream = new AudioStream (spin);
AudioStream betOneStream = new AudioStream (winBig);
AudioStream betMaxStream = new AudioStream (betOne);
AudioStream winBigStream = new AudioStream (betMax);
spinData = spinStream.getData();
betOneData = betOneStream.getData();
betMaxData = betMaxStream.getData();
winBigData = winBigStream.getData();
spinStream = null;
betOneStream = null;
betMaxStream = null;
winBigStream = null;
continuousSpinStream = null;
continuousBetOneStream = null;
continuousBetMaxStream = null;
continuousWinBigStream = null;
public void playSpin() {
spinStream = new AudioDataStream (spinData);
AudioPlayer.player.start (spinStream);
public void loopSpin() {
continuousSpinStream = new ContinuousAudioDataStream (spinData);
AudioPlayer.player.start (continuousSpinStream);
public void stopSpin() {
if (spinStream != null)
AudioPlayer.player.stop (spinStream);
if (continuousSpinStream != null)
AudioPlayer.player.stop (continuousSpinStream);
public void playBetOne() {
betOneStream = new AudioDataStream (betOneData);
AudioPlayer.player.start (betOneStream);
public void loopBetOne() {
continuousBetOneStream = new ContinuousAudioDataStream (betOneData);
AudioPlayer.player.start (continuousBetOneStream);
public void stopBetOne() {
if (betOneStream != null)
AudioPlayer.player.stop (betOneStream);
if (continuousBetOneStream != null)
AudioPlayer.player.stop (continuousBetOneStream);
public void playBetMax() {
betMaxStream = new AudioDataStream (betMaxData);
AudioPlayer.player.start (betMaxStream);
public void loopBetMax() {
continuousSpinStream = new ContinuousAudioDataStream (spinData);
AudioPlayer.player.start (continuousSpinStream);
public void stopBetMax() {
if (betMaxStream != null)
AudioPlayer.player.stop (betMaxStream);
if (continuousBetMaxStream != null)
AudioPlayer.player.stop (continuousBetMaxStream);
public void playWinBig () {
winBigStream = new AudioDataStream (winBigData);
AudioPlayer.player.start (winBigStream);
public void loopWinBig () {
continuousWinBigStream = new ContinuousAudioDataStream (spinData);
AudioPlayer.player.start (continuousWinBigStream);
public void stopWinBig () {
if (winBigStream != null)
AudioPlayer.player.stop (winBigStream);
if (continuousWinBigStream != null)
AudioPlayer.player.stop (continuousWinBigStream);
// public static void main (String args[]) throws Exception {
// URL url1 = new URL ("http://localhost:8080/audio/1.au");
// URL url2 = new URL ("http://localhost:8080/audio/2.au");
// PruebaSonido sac1 = new PruebaSonido (url1);
// PruebaSonido sac2 = new PruebaSonido (url2);
// PruebaSonido sac3 = new PruebaSonido ("1.au");
// sac1.play ();
// sac2.loop ();
// sac3.play ();
// try {// Delay for loop
// Thread.sleep (2000);
// } catch (InterruptedException ie) {}
// sac2.stop();
}uhmmmmmm that's all someone know why dont play my .wav files? thanks a lotin the tutorial the code of the class Sonido is like this:, i cant find a constructor, you can?
import java.net.URL;
import java.io.FileInputStream;
import sun.audio.*;
public class SunAudioClip {
private AudioData audiodata;
private AudioDataStream audiostream;
private ContinuousAudioDataStream continuousaudiostream;
static int length;
public SunAudioClip (URL url) throws java.io.IOException {
audiodata = new AudioStream (url.openStream()).getData();
audiostream = null;
continuousaudiostream = null;
public SunAudioClip (String Spin) throws java.io.IOException {
FileInputStream fis = new FileInputStream (Spin);
AudioStream audioStream = new AudioStream (fis);
audiodata = audioStream.getData();
audiostream = null;
continuousaudiostream = null;
public void play () {
audiostream = new AudioDataStream (audiodata);
AudioPlayer.player.start (audiostream);
public void loop () {
continuousaudiostream = new ContinuousAudioDataStream (audiodata);
AudioPlayer.player.start (continuousaudiostream);
public void stop () {
if (audiostream != null)
AudioPlayer.player.stop (audiostream);
if (continuousaudiostream != null)
AudioPlayer.player.stop (continuousaudiostream);
public static void main (String args[]) throws Exception {
URL url1 = new URL ("http://localhost:8080/audio/1.au");
URL url2 = new URL ("http://localhost:8080/audio/2.au");
SunAudioClip sac1 = new SunAudioClip (url1);
SunAudioClip sac2 = new SunAudioClip (url2);
SunAudioClip sac3 = new SunAudioClip ("1.au");
sac1.play ();
sac2.loop ();
sac3.play ();
try {// Delay for loop
Thread.sleep (2000);
} catch (InterruptedException ie) {}
sac2.stop();
}
Maybe you are looking for
-
Copy file from client machine to unix db server
Dear all, I have oracle form 10g, and data base server using 10 r 2, I have an oracle for to browse client XML file and return the name of the file including the path to TEXT item what I want to do after that is to copy the seelcted file from the cli
-
I can't access a report in reporting services in a VM via azure website with reportviewer
Hi. I just create a VM with Reporting services, create a dataset, and a report, but when i try to access that report from my azure website via reportviewer i receive the error "the request failed with http status 401: unauthorized". Somebody with an
-
Load xml to Datagrid, add row or edit and save it to the xml file??
Good afternoon, I know how to load the xml, add a row or edit the data in a datagrid . Only thing I dont't know how to save the changes to the xml file. I'm ussing Flash Professional CC and it wil be an Adobe Air desktop application.
-
Update prices in ME21N (purchase order)
Hi, We need to re-calculate prices automatically when creating or modifying a purchase order taking into account changes in some pricing fields of the order. User has the standard option of updating the prices in 'condition' tab selecting the option
-
ABAP HR enhancement for Short profile in PB20 or PB30
Hello gurus, I am trying to display shortprofile in trnsaction PB20 and PB30. Here values are coming but I want to know from where and how this values are coming as I need to display some extra text for this. Here requirement is there is some short p