Contents of J2SE
Dear all,
I have searched for some relevant threads but could not find the required so..posting my requirement here.
I am newbie to Java, trying to attend courses on java.
various Java training institutes have broken J2SE into Core Java and Advanced Java... etc..
this is disturbing clarity on the actual contents of J2SE.
I would like to know the contents of J2SE... I have searched SCJP training list also but,....
Can anyone give some detailed contents of J2SE please...please..
Here are some contents listed.. please correct if wrong...
1. JVM architecture
2. OOPS approach
3. Java phenomenon - What does this include ???
4. Interfaces, Packages
5. exception handling
6. Annotations
7. Multithreading
8 Collection framework
9. Reflection API
10. Generics
11. I/O
12. Networking
13. AWT,
14 SWING
15. Applets
16. JDBC
17. Servlets
18. JSP
19. Using servers - Weblogic, Websphere, Jboss, ...
Anything missing OR Anything unintended !!!!!
Thanks for your patience
Regards
Bijju
warnerja wrote:
Bijju wrote:
warnerja wrote:
For pete's sake, you want someone to (re)write a book for you here?
Let me manage your expectations: It isn't going to happen.Thanks for all your attempt to answer my question. However you havent answered my Q.I took your question to be more like: "Am I a complete ignoramous who is incapable of research and will just waste your time answering stupid questions from me?"
And I answered that correctly.
I have a suggestion for you... If you want to have it read on..
Your kind of attitude may never help a newbie.. So kindly stop posting such discouraging posts in the "New to Java" thread.A "newbie" isn't someone who is incapable of researching and asking proper questions. I help real newbies all the time. You are way beneath being a newbie.If you think you have answered correctly, i tell you,.. you have replied to it not answered.
If you think a user isnt a real newbie.... please dont reply to that post. Someone like JoachimSauer ,BigDaddyLoveHandles,... may help them / answer them.
Similar Messages
-
J2SE XML to Flat File Content Conversion
Hi
I've currently got a scenario which sends a flat file to the integration server, it gets mapped and sent to a receiver adapter on a deployed j2se engine.
I'm now trying to convert the xi-xml structured file to a flat file again on the j2se side (the same flat file format it originally had).
My original flat file looks like this -
477
477=AA1
My xml file looks like this -
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ResultMessage xmlns:ns0="urn:xxxx-com:a_test_j2se_filetofile">
<Item>
<field1>477</field1>
</Item>
<Item>
<field1>477</field1>
<field2>AA1</field2>
</Item>
</ns0:ResultMessage>
I am using these content conversion parameters:
xml.addHeaderLine=0
xml.fieldSeparator==
xml.endSeparator='nl'
I get this error on the integration engine (sxmb_moni):
Error while sending by HTTP (error code: 500, error text: Internal Server Error:java.lang.NullPointerException) (See attachment HTMLError for details)
and the j2se adpater log says this:
17:16:32 (4120): Message "13b9d644-54c9-4ffb-0c40-db4c14458d77" of type "application/xml", kind "B" received
17:16:32 (4124): Parsing XML message
17:16:32 (4131): ERROR: Message processing failed with "java.lang.NullPointerException"
What am i missing?So, now... I did a test configuration in XI and sent your test-payload...it worked.
The J2SE adapter configuration:
File adapter java class
classname=com.sap.aii.messaging.adapter.ModuleXMB2File
version=30
mode=XMB2FILEWITHCONVERSION
#Adress for XMB endpoint -
XI.httpPort=8111
XI.httpService=/file/receiver
#File Adapter specific parameters -
file.createDir=1
file.targetDir=c:/transfer/inbound
file.targetFilename=xmboutput.txt
#file.writeMode=append
#file.writeMode=overwrite
file.writeMode=addCounter
file.counterMode=immediately
#file.counterMode=afterFirst
file.counterSeparator=_
file.counterFormat=00000
file.counterStep=1
#File Content Conversion specific parameters -
xml.addHeaderLine=0
xml.fieldSeparator==
xml.endSeparator='nl'
And here the configuration of the receiver communication channel in the integration directory:
Adapter Type: XI
Receiver
Transport-Protocol: HTTP 1.0
Message-Protocol: XI 3.0
Adapter-Engine: Integration Server
Adressing-Type: URL Address
Target Host: <yourJ2SEip>
Service Number: 8111
Path Prefix:http://<yourJ2SEip>:8111/file/receiver
Authentication Data
Logon data for non-SAP systems
User
Password
That's it... sent your payload and got the wished result:
477
477=AA1
Regards,
Heinrich -
Content Conversion for J2SE Adapter
Hi,
I have configured the J2SE Adapter properly,
Still content conversion is not taking place for my file and it is going unconverted to xi.
Following is the process.
I have the file as:
<b>0000665811 0111 500.00 20071217</b>
I Require the xml as
<b><ns0:Mt_Customer_Balance_Info xmlns:ns0="http://aoa.nestle.com/fi">
<RECORDSET>
<CUSC>0000665811</CUSC>
<CRCA>0111</CRCA>
<OBAL>500.00</OBAL>
<DATE_REPORT>20071217</DATE_REPORT>
</RECORDSET>
</ns0:Mt_Customer_Balance_Info></b>
I have configured as follows:
<b>mode=FILE2XMBWITHROWCONVERSION
xml.processFieldNames=fromConfiguration
xml.fieldSeparator='0x09'
xml.lastFieldsOptional=NO
xml.endSeparator=nl
xml.fieldNames=CUSC,CRCA,OBAL,DATE_REPORT
xml.structureTitle=RECORDSET
xml.documentName=FILE
xml.documentNamespace=http://aoa.nestle.com/fi</b>
Can you help me regarding this?hi anupam,
u may refer this and see if u have done the configuration correctly.
http://help.sap.com/saphelp_nw04/helpdata/en/88/0f453cf1fcc85ee10000000a11402f/frameset.htm
regards,
latika. -
File content Conversion in j2se at the receiver side
Hi ,
I need to do a file content conversion using j2se adapter at the recevier side.
my structure is something like
<name>
<name1>
<name2>
</name>
<address>
<address1>
<address2>
</address>
and the output should be like
#tname1$name2
#sadress1.address2
Please do the needfull
Thanks & Regards,
HamsaHi Hamsa,
#tname1$name2
#sadress1.address2
Lot of # and $, so can you paste the FCC parameters that you have tried in the File adapter?
In j2se also we can use the same. If you are not sure on how to use, paste the FCC parameter here and someone will be able to make the J2SE version out of it
Regards
Suraj -
Hi Gurus!
I have a problem creating XML in J2SE adapter.
This is the XML I need to get:
<RECORDSET>
<ROW>
<storenum>628</storenum>
<Storename></Storename>
<POnumber>00010300</POnumber>
<POexternal>C8Y17531</POexternal>
<MaterialNum>497990</MaterialNum>
<Quantity>00008</Quantity>
<POdate>20080314</POdate>
<DeliveryDate>20080317</DeliveryDate>
<DeliveryID>D8Y19983</DeliveryID>
<VendorID>231125</VendorID>
<linenum>1</linenum>
</ROW>
<ROW>
<storenum>390</storenum>
<Storename></Storename>
<POnumber>00011267</POnumber>
<POexternal>C8Y17704</POexternal>
<MaterialNum>497990</MaterialNum>
<Quantity>00008</Quantity>
<POdate>20080316</POdate>
<DeliveryDate>20080317</DeliveryDate>
<DeliveryID>D8Y20036</DeliveryID>
<VendorID>231125</VendorID>
<linenum>1</linenum>
</ROW>
</RECORDSET>
And this, is what I get now:
<RECORDSET>
<ROW>
<storenum>628</storenum>
<Storename></Storename>
<POnumber>00010300</POnumber>
<POexternal>C8Y17531</POexternal>
<MaterialNum>497990</MaterialNum>
<Quantity>00008</Quantity>
<POdate>20080314</POdate>
<DeliveryDate>20080317</DeliveryDate>
<DeliveryID>D8Y19983</DeliveryID>
<VendorID>231125</VendorID>
<linenum>1</linenum>
</ROW>
</RECORDSET>
<RECORDSET>
<ROW>
<storenum>390</storenum>
<Storename></Storename>
<POnumber>00011267</POnumber>
<POexternal>C8Y17704</POexternal>
<MaterialNum>497990</MaterialNum>
<Quantity>00008</Quantity>
<POdate>20080316</POdate>
<DeliveryDate>20080317</DeliveryDate>
<DeliveryID>D8Y20036</DeliveryID>
<VendorID>231125</VendorID>
<linenum>1</linenum>
</ROW>
</RECORDSET>
Here is my code:
##CONTENT CONVERSION paramters
xml.recordsetName=RECORDSET
xml.recordsetsPerMessage=*
xml.processFieldNames=fromConfiguration
xml.keyFieldType=Float
xml.keyFieldName=ROW
xml.recordsetStructure=ROW,1
#xml.fieldNames=storenum,Storename,POnumber,POexternal,MaterialNum,Quantity,POdate,DeliveryDate,DeliveryID,VendorID,linenum
#xml.fieldFixedLengths=6,20,8,10,13,5,8,8,10,10,13
xml.documentName=DeliveryNotes...
xml.documentNamespace=http://...
xml.ROW.fieldFixedLengths=6,20,8,10,13,5,8,8,10,10,13
xml.ROW.keyFieldValue=1
xml.ROW.fieldNames=storenum,Storename,POnumber,POexternal,MaterialNum,Quantity,POdate,DeliveryDate,DeliveryID,VendorID,linenum
What is my problem?Thanks Gabriel.
If I change to xml.recordsetStructure=ROW,*
J2SE is not running, in LOG there are these messages
14:38:39 (4023): File adapter initialized successfully
14:38:39 (4007): File adapter started
14:38:39 (4051): Process 1 file(s):
14:38:39 : D:\Temp\Plainj2seTest\Movil\PDN1403778.txt
14:38:39 (4052): Start processing "TXT" file "D:\Temp\Plainj2seTest\Movil\PDN1403778.txt" size 1130 in "EO mode
14:38:39 (4058): Start converting to XML format
14:38:39 (4061): Converted complete file content to XML format
14:38:39 (4078): Empty document found. Skip and proceed with next message
14:38:39 (4037): File "PDN1403778.txt" processed successfully -
Write mode :Add Time Stamp in J2SE Adapter
Hi All,
We are using J2SE receiver adapter while converting Idoc to File and the file comes in the following format.
<filename>20080310-104448-995.dat
But client wants it in more specific format.
<filename>.D20080310.T104448.P00995.dat
or
<filename>-D20080310-T104448-P00995.dat
I have got no idea on this. So , if any one of you is aware, request you to let me know......
Thanks,
VijiHi,
I think you need to assign it dynamically as you cannot change the format for Add TimeStamp
See the below links:
File Adapter: Dynamic file name
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm
Thanks,
Tiny -
Stupid error in J2SE Adapter !!!
Greetings,
I am trying a simple scenario sending data from my PC database to XI using J2SE JDBC Adapter (stack 09). The same problem also happen when sending file using File Adapter. I got the following error : Any help is welcome.
Wed Nov 03 08:17:19 GMT+03:00 2004 *****
08:17:19 (4209): Guaranteed Delivery database operation pending
08:17:25 (4212): JDBC adapter initialized successfully
08:17:25 (4202): JDBC adapter started
08:17:25 (4220): Sending message "a2d4a910-2b0f-11d9-a214-e9630a0e6b86" to Integration Engine... (message size: 535 bytes)
08:17:25 (4221): ERROR: Finished sending query result to Integration Engine with error "com.sap.aii.messaging.net.TransportException: HTTP 500 HTTP standard status code
http-Response:
content-type: text/xml
content-length: 1282
content-id: <[email protected]>
soapaction: 'http://sap.com/xi/XI/Message/30'
server: SAP Web Application Server (1.0;640)
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
</SOAP:Header>
<SOAP:Body>
<SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" SOAP:mustUnderstand="1"><SOAP:faultcode>Client</SOAP:faultcode><SOAP:faultstring></SOAP:faultstring><SOAP:faultactor>http://sap.com/xi/XI/Message/30</SOAP:faultactor><SOAP:faultdetail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="PARSER">ITEM_MISSING</SAP:Code><SAP:P1>/@versionMajor</SAP:P1><SAP:P2/><SAP:P3/><SAP:P4>ST: ST_XMS_MSGHDR30_MAIN</SAP:P4><SAP:AdditionalText>Attribute 'versionMajor' expected</SAP:AdditionalText><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>XML tag /@versionMajor missing in SOAP message header (SAP XI Extension)
Attribute 'versionMajor' expected
</SAP:Stack></SAP:Error></SOAP:faultdetail></SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
". Skip confirmation and proceed with next query
08:17:25 (4077): Retry mode - wait 10 sec, 0 msec interval before retryHi,
AFAIK, builer package shoud be under WEB-INF\classes directory or the context. It is under that direcory.
As far as adding the package to system classpath or Tomcat classpath, I dont want to do that as it would contaminate the classpath of other applications/contexts.
The applications server is supposed to automatically add WEB-INF\classes into the classpath of the context. And its working for other context.
There has to be other solution.
Regards
Amitabh -
How to secure a J2SE Web Service
Hi,
I have created a J2SE Web Service using JAX-WS and I now wish to secure it but I can't seem to work out how to do it in an automated manner.
I have used the simple Java-First method, writing an annotated java class and then running wsgen to generate the WSDL and required artifacts.
WSIT seems to be the solution, placing a WSIT config file in a META-INF directory on the classpath. However, in the examples that I have there seems to be a huge amount of overlap between the WSDL and the WSIT config file. Moreover, the content of the WSIT config seems to be dependent on the contents of the WSDL. This means that should I update the implementation class I would have to manually update the WSIT config (unlike the WSDL which would be autogenerated from the Java class).
Ideally I would like to create two files:
- myserviceImpl.java
- wsit-config.xml (using the correct naming convention)
Then run WSGEN and, hey presto, a full WSDL is generated complete ith security policy information. However, it seems that this is not the way it works.
I'd be grateful for any advice you can give on how to automate this process. My current idea is to generate the WSDL and then use an XSLT step in the build process to drag the WSIT config into the WSDL.
I'd also be interested in hearing how other people have created secure J2SE web services.
I am using Eclipse (not NetBeans) and Maven.
ThanksI am using Eclipse (not NetBeans) and Maven.I hate doing this, but have you tried Netbeans? Metro has really tight integration with it and pretty much can do what you want. However, making a programmer change IDE is like suggesting someone to try another religion.
-
How to display the contents of java.util.list in a frame???
i should use awt only not applet...
i need to display the contents of java.util.list in a frame...
the contents contains rows queried from a oracle database.....
the contents should be displayed similar to how a lable is displayed..
please help me out..
thanks
dineshOf course there is something in AWT:
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/List.
htmlagain, if you carefully read the question, he needs a
table to display a JDBC result set. There is no
pre-made table component in AWT.Well, I read that he filled the data into a java.util.List and now wants to display this list. So a List-component should be sufficient. But I might be wrong...
-Puce -
We have about 1,800 workstations running Windows 7 (both 32-bit and 64-bit) running various versions of the Java JRE from 6 update 32 through 7 update 51. Most are on 6 update 45. We would like to standardize on Java 7 update 51 (32-bit) and get everyone updated to that version for security reasons.
For the past two weeks, we have been having trouble with our installation pre-pilot. What we are seeing is that our procedure successfully closes any open Internet Explorer windows and Java-related processes, uninstalls all old versions of the Java JRE, and then claims to have successfully installed Java 7 update 51. The Java Control panel works. We can even take Internet Explorer to Verify Java Version or Java Tester - What Version of Java Are You Running? and confirm that the Java applets on those sites are loading (though the latter only works after adding the site to the exceptions site list); however, when testers try to access our Kronos Workforce Central 6.3.10 system, the Java applets used by that system do not load.
We have tried the following things, none of which worked:
Clear Internet Explorer browser cache and cookies.
Clear the local Java cache.
Reboot the computer.
Reset Internet Explorer settings, including personal settings.
The one thing which does work is going into the Java Control Panel, going to the Security tab, unchecking "Enable Java content in the browser", pressing Apply, pressing OK on the pop-up window, checking the "Enable Java content in the browser" box again, pressing OK, pressing OK on the pop-up window, and then restarting Internet Explorer. It is only after this point that all Java applets, including the ones used by Kronos Workforce Central 6.3.10, work.
What I need to know is how I can automate the procedure of reinitializing the "Enable Java content in the browser" checkbox after installation or am I doing something wrong or missing a step in the automated installation that is causing this to happen?
We are using Microsoft SCCM 2007 R3 to accomplish this upgrade, and everything is being run on the client machine using the SYSTEM account. First, the PowerShell script "javaclean.ps1" is run, with part of the command-line process changing the PowerShell script execution policy to Bypass. This script handles the closing of Java-dependent applications and Java processes and uninstalls old Java versions.
javaclean.ps1:
#Find all Java products excluding the auto updater which actually gets uninstalled when the main install is removed.
write-host "Searching for all installed Java versions" -ForegroundColor Yellow
[array]$javas=Get-WmiObject -query "select * from win32_Product where (Name like 'Java %' or Name like 'Java(TM)%' or Name like 'J2SE%') and Name <> 'Java Auto Updater'"
if ($javas.count -gt 0)
write-host "Java is already Installed" -ForegroundColor Yellow
#Get all the Java processes and kill them. If java is running and the processes aren't killed then this script will invoke a sudden reboot.
[array]$processes=Get-Process -Name "Java*" #-erroraction silentlycontinue
$processes += Get-Process -Name "iexplore" #-erroraction silentlycontinue
$processes += Get-Process -Name "firefox" #-erroraction silentlycontinue
$processes += Get-Process -Name "chrome" #-erroraction silentlycontinue
$processes += Get-Process -Name "jqs" #-erroraction silentlycontinue
$processes += Get-Process -Name "jusched" #-erroraction silentlycontinue
$processes += Get-Process -Name "jp2launcher" #-erroraction silentlycontinue
if ($processes.Count -gt 0)
foreach ($myprocess in $processes)
$myprocess.kill()
#Loop through the installed Java products.
foreach($java in $javas){
write-host "Uninstalling "$java.name -ForegroundColor Yellow
$java.Uninstall()
After this script is complete, SCCM calls a the VBS script "install.vbs" to perform the actual installation of Java JRE 7 update 51.
install.vbs
'* Script: Install JRE 7 routine
'* Date: 3/14/14
'* Author: [REDACTED]
'* Rev: 1.0
'* Notes:
'/// Common
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objWshShell = CreateObject("WScript.Shell")
' Get system architecture
Dim colSys : Set colSys = GetObject("WinMGMTS://").ExecQuery("SELECT AddressWidth FROM Win32_Processor",, 48)
Dim objSys
For Each objSys In colSys
If objSys.AddressWidth = 64 Then bolIs64Bit = True
Next
' Get operating system
Dim colOS : Set colOS = GetObject("WinMGMTS://").ExecQuery ("Select * from Win32_OperatingSystem",,48)
Dim objOS
For Each objOS In colOS
If Left(objOS.caption, 20) = "Microsoft Windows 8 " Then
bolIsWin8 = True
WScript.Echo "win8"
End If
If Left(objOS.caption, 22) = "Microsoft Windows 8.1 " Then
bolIsWin81 = True
WScript.Echo "win81"
End If
Next
' Set 32 bit program files directory
If bolIs64Bit = True Then
strPFILES = "Program Files (x86)"
strSYSDIR = "SysWOW64"
Else strPFILES = "Program Files"
strSYSDIR = "System32"
End If
' Set windows directory
strWIN = objWshShell.ExpandEnvironmentStrings("%windir%")
' Set the current directory
strCurrentDir = objFSO.GetParentFolderName(Wscript.ScriptFullName)
' Set computer name
strCompName = objWshShell.ExpandEnvironmentStrings("%computername%")
'/// Main script
'/// Install via .msi & capture exit code
'intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\package.msi""" & " TRANSFORMS=""" & strCurrentDir & _
' "\transform.mst"" ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
'wscript.quit(intExitCode)
'****RUN COMMANDS HERE****
' Create folder structure if it doesn't exist already
strFullPath = "c:\Windows\Sun\Java\Deployment" '
' How many levels are there in the path?
nLevel = 0
strParentPath = strFullPath
Do Until strParentPath = ""
strParentPath = objFSO.GetParentFolderName(strParentPath)
nLevel = nLevel + 1
Loop
For iLevel = 1 To nLevel
' Figure out path for directory at level iLevel
strParentPath = strFullPath
For j = 1 To nLevel - iLevel
strParentPath = objFSO.GetParentFolderName(strParentPath)
Next
' Does this directory exist? If not, create it.
If objFSO.FolderExists(strParentPath) = False Then
Set newFolder = objFSO.CreateFolder(strParentPath)
End If
Next
' Kill running processes
objWshShell.Run "taskkill /F /IM iexplore.exe", 8, True
objWshShell.Run "taskkill /F /IM firefox.exe", 8, True
objWshShell.Run "taskkill /F /IM chrome.exe", 8, True
objWshShell.Run "taskkill /F /IM javaw.exe", 8, True
objWshShell.Run "taskkill /F /IM java.exe", 8, True
objWshShell.Run "taskkill /F /IM jqs.exe", 8, True
objWshShell.Run "taskkill /F /IM jusched.exe", 8, True
' Copy deployment files
objFSO.CopyFile strCurrentDir & "\deployment.config", "c:\Windows\Sun\Java\Deployment\", True
objFSO.CopyFile strCurrentDir & "\deployment.properties", "c:\Windows\Sun\Java\Deployment\", True
' Disable UAC
' If bolIsWin8 Or bolIsWin81 = True Then
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 0 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f", 8, True
' End If
' Install application
intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\jre1.7.0_51.msi"" IEXPLORER=1 AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEB_JAVA=1 ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
' Enable UAC
' If bolIsWin8 Or bolIsWin81 = True Then
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 1 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 5 /f", 8, True
' End If
wscript.quit(intExitCode)
'/// Install via .exe on network
'objWshShell.Run """" & strCurrentDir & "\Setup.exe"" -s -sms -f1""" & strCurrentDir & _
' "\setup.iss"" -f2""" & strWIN & "\Temp\Install-app.txt""", 8, True
' Need to turn off the open file security warning first
Set objEnv = objWshShell.Environment("PROCESS")
objEnv("SEE_MASK_NOZONECHECKS") = 1
' intExitCode = objWshShell.Run("""" & strCurrentDir & "\jre-7u45-windows-i586.exe"" /s /v""/norestart " & _
' "TRANSFORMS=""" & strCurrentDir & "\Tribe-jre7.mst""""", 8, True)
' WScript.Quit(intExitCode)
'****RUN COMMANDS HERE****
' Then turn it back on
objEnv.Remove("SEE_MASK_NOZONECHECKS")
'/// Additional functions
Help on this issue would be much appreciated!It turns out that this is actually a problem with Kronos Workforce Central. We had the "site.java.plugin.CLSID.familyVersion" setting in that application set to "clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA", which is the Java CLSID for Java 6. After updating this value to "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" (the Java universal CLSID), this problem did not occur upon the automatic upgrade of Java.
We have both Java 6 and Java 7 in our environment, and did during our Kronos implementation, so I don't know why we were using the Java 6 CLSID in the first place.
Case closed! -
Hi experts m new to apps please help.. I have installed successfully Oracle Apps R12 on OEL - 5 All the services runining fine. but when i am opening forms its giving error "install missing plugins" i installed jre-6u7-linux-i586-rpm.bin and Mozilla Firefox 3.0.18 [root@ust ~]# cd firefox/plugins/ [root@ust plugins]# ln -s /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so [root@ust plugins]# ls libjavaplugin_oji.so libnullplugin.so [root@ust plugins]# ll total 20 lrwxrwxrwx 1 root root 58 Sep 11 16:22 libjavaplugin_oji.so -> /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so -rwxr-xr-x 1 root root 19160 Sep 15 2007 libnullplugin.so [root@ust plugins]# but when m trying to open forms at that time giving error "install j2se plugin version 1.6.0_07 on your client and NPX_PLUGIN_PATH environment variable set before starting Netscape."
Linux is not a certified client tier for accessing EBS
Unable to access r12 forms in linux client
https://forums.oracle.com/search.jspa?view=content&resultTypes=&dateRange=all&q=linux+client&rankBy=relevance&contentTyp…
HTH
Srini -
Hi,
We are using J2SE Plain Adapter ...
In one of my scenario i need to send a flat file from one system to another.
To achieve this i have created a sender file adapter in J2SE with content conversion. file is picked successfully ..i have given a sample file as follows
123;abc;xyz
456;qwe;fds
then in moni i can see this file as in XML.
now i need to convert this xml file into flat file by using J2SE receiver file adapter.
Can anybody help me how to configure receiver file adapter in J2SE?
Please see the below code... for sender file J2SE adapter..
<b>## file adapter java class
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
version=30
mode=FILE2XMBWITHSTRUCTURECONVERSION
Use Password Tokens
PWD.tokenHandler=PWtokens
Integration Engine address and document settings
XI.SLDConfiguration=SLDaccessor
XI.TargetURL=http://abc.com:8000/sap/xi/engine?type=entry
XI.User=xyz
XI.Password=xyz
XI.Client=100
XI.Language=en
Quality of Service (EO,EOIO,BE)
XI.QualityOfService=EO
Repository Information
##XI.SenderParty=ADAPTER
XI.SenderService=BS_SENDER_FCC
XI.Interface=MI_FCC1_Out
XI.InterfaceNamespace=http://www.sap-press.com/xi/training/00
#XI.ReceiverParty=
#XI.ReceiverService=
File processing config
file.sourceDir=f:/abc/
file.sourceFilename=xyz*
file.type=TXT
#file.encoding=UTF-8
file.pollInterval=10
file.processingMode=delete
xml.documentName=MT_FCC1
xml.documentNamespace=http://www.sap-press.com/xi/training/00
xml.recordsetName=Data
xml.recordsetStructure=item,1
xml.item.fieldNames=ID,Name,Address
xml.item.fieldSeparator=,</b>
Thanks in Advance..
Regards,
Reehanuse this help link as a reference;
http://help.sap.com/saphelp_nw04s/helpdata/en/95/bb623c6369f454e10000000a114084/content.htm
it is as similar to the sender side configuration -
i,
When I post a XI message via SAP PI 7.10 SP7 integration server to a J2SE adapter engine to a file adapter, then when I use mode "XMB2FILE" in the receiver file adapter configuration on the J2SE Adapter Engine then the XML file is delivered into the appropriate folder with the correct XML format and content (As expected). However when I change the mode to XMB2FILEWITHCONVERSION then message fails in the integration Engine on the PI server.
With:
<Trace level="2" type="T">Addressing mode: url</Trace>
<Trace level="3" type="T">Host = "HOST"</Trace>
<Trace level="3" type="T">Port = 8111</Trace>
<Trace level="3" type="T">Transport protocol = HTTP 1.0</Trace>
<Trace level="3" type="T">Message protocol =</Trace>
<Trace level="3" type="T">Path = /file/receiver?action=execute&pipelineid=Receiver</Trace>
<Trace level="2" type="T">Auth mode: basicNonSAP</Trace>
<Trace level="3" type="T">Conversion of language from char2 to char1</Trace>
<Trace level="3" type="T">User = rip</Trace>
<Trace level="3" type="T">Client =</Trace>
<Trace level="3" type="T">Language =</Trace>
<Trace level="3" type="T">Creating HTTP-client</Trace>
<Trace level="3" type="T">HTTP-client: creation finished</Trace>
<Trace level="3" type="T">Security: Basic authentication</Trace>
<Trace level="3" type="T">Serializing message object...</Trace>
<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
<Trace level="3" type="T">HTTP-client: request sent</Trace>
<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
<Trace level="3" type="T">HTTP-client: response received</Trace>
<Trace level="3" type="T">HTTP-client: checking status code...</Trace>
<Trace level="3" type="T">HTTP-client: status code = 500</Trace>
<Trace level="3" type="T">Deserializing message object...</Trace>
<Trace level="3" type="System_Error">Error while sending by HTTP (error code: 500, error text: Internal Server Error:java.lang.NullPointerException)</Trace>
</Trace>
</Trace>
<Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
<Trace level="1" type="T">Persist Message in Retry State</Trace>
A file is created in the target folder with no content and each time PI retries a new file is created.
If I look at the J2SE adapter trace file the following error is displayed:
Apr 3, 2009 3:05:03 PM ...i.messaging.adapter.XMB2FileProcessor [Thread[Thread-1145,5,main]] Error: Message processing failed with
java.lang.NullPointerException
at com.sap.aii.af.sdk.xi.adapter.Conversion.convertXML2Plain(Conversion.java:621)
at com.sap.aii.messaging.adapter.XMB2FileProcessor.persistFile(ModuleXMB2File.java:1658)
at com.sap.aii.messaging.adapter.XMB2FileProcessor.onMessage(ModuleXMB2File.java:1346)
at com.sap.aii.messaging.adapter.ModuleHttpServer$ListenerDetails.onMessage(ModuleHttpServer.java:448)
at com.sap.aii.af.sdk.xi.net.HTTPRequest.run(ServerHttpImpl.java:437)
Please can you assist in the resolution of this problem?
Regards
Willie HugoHi Stefan,
Thank for the prompt reply. I am sending the XI message to a plain J2SE Adapter Engine. As I under stand the process, the XI message XML to flat file conversion will take place in the J2SE Adapter Engine in the File Adapter, configured there. If I under stand correctly we need to deploy a patch to the J2SE Adapter Engine and the note refers to XI 3.00 & 7.00, these Adapter Engines I can only assume is J2EE. Also the scenario described in the note is from csv to XML and not the required XML to CSV.
Please can you assist further?
Regards
Willie Hugo -
Question about J2SE-File-Adapter
Hallo,
i would send with the J2SE-File-Adapter a *.CSV to SAP XI.
The structure in the SAP XI is:
PlaintMaintenanceMessagetype
......Datasource..................string
......Data
..........item
..............EquipmentID.............string
..............FunktionalLocation......string
..............Data....................string
..............Time....................string
The *.csv File structure is:
6ATESTDEMOYVES,
1234,
Limo,
20060105,
122030,
The configuration of the J2SE-File-Adapter is:
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
version=30
mode=FILE2XMBWITHROWCONVERSION
##File Adapter specific parameters (example, see docu)
##file.type=BIN
file.type=TXT
file.encoding=UTF-8
xml.documentName=ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender"
xml.structureTitle=6ATESTDEMOYVES
xml.processFieldNames=fromConfiguration
xml.fieldSeparator=;
xml.fieldNames=Datasource,EpuipmentID,FunctionalLocation,Data,Time
But it not runing! Can anybody help me? Are any How to guide to send a *.csv with the J2SE-File-Adapter.
Thanks laura
With the XML File it works. But there are ofer 40000 records in the *.csv, and i will not create this in *.xml!
The structure of the XML.File are:
<?xml version="1.0" encoding="UTF-8"?>
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Datasource>6ATESTDEMOYVES</Datasource>
<Data>
<item>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>122030</Time>
</item>
<item>
<EpuipmentID>1235</EpuipmentID>
<FunctionalLocation>Bier</FunctionalLocation>
<Data>20060106</Data>
<Time>122031</Time>
</item>
</Data>
</ns:PlaintMaintenanceMessagetype>Hi Laura,
You can navigate thru these links to get more information:
http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b498e02af76b
Cheers,
Chandra -
"Performance" problems with the File adapter on Plain J2SE Adapter Engine
Hi,
At the moment I'm on a customer side to solve some XI issues for a few days. One of the issues is the performance of the Plain J2SE Adapter Engine, using the file adapter to transfer XML messages(already XI message format) from the legacy system to the Integration Engine. The File adapter has to deal with "large" XML messages(max at the moment is 65 Mb) and the engine fails with the following error when transferring the big XML file: "ERROR: Finished sending to Integration Engine with error "java.lang.OutOfMemoryError". Skip confirmation and quit this loop".
As far I got the information from the customer the memory use of the Plain adapter engine is set to 512Mb. This is maybe to low. But I don't know where to look for this, I only have the adapter web interface in front of me, no access to the OS it self via for example remote connection.
On the Integration Engine I know there is the ability to split large message with the file adapter(File Content Conversion), but I don't know this for the Plain Adapter Engine. Is there a possibility to do this also on the Plain Adapter Engine?
Thanks in advance for any input.
Greetings,
PatrickHi Sameer,
Thanks for your answers.
On the first solution, yes that is possible, we first decided to see if the legacy system can do the splitting, before starting developing a Java program.
On the second solution, as far as I know is this solution possible on the Integration Engine. But we are facing the problems on the Plain J2SE Adapter Engine. I went trough that documentation(link:
http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/frameset.htm ), to look for I similiar solution in the Plain Adapter Engine. So my question is, is this possible with the Plain Adapter? And if so, what kind of parameters I need to use to achieve this.
Regards,
Patrick
Maybe you are looking for
-
Firefox is crashing at random times, sometimes pointing to plugin-container.
I typically have Firefox running all the time. Recently it has been crashing at random times. Some of the crashes leave messages saying that plugin-container has crashed. Some are reported and leave behind a record in about:crashes, but in other case
-
SRM 7.0 upgrade addon issues
I recently updated my ST-PI addon from 2005_1_640 to 2008_1_640 on my SRM system to match the ST-PI level on our SOLMAN system. Now I'm upgrading our SRM system from SRM 5.0 to SRM 7.0 and I'm stuck at the addon section of the upgrade. During the ext
-
Hi, I am using java.sql.Date and preparedStatement for SQL select query, something like : select app_id, entry_date, message from testTable where entryDate >= ? and entryDate <= ? for example i'am supplying date as yesturday's date and i want data wh
-
How to reMark an old disk and make it usable for a new disk group?
I can not reuse the old disks: [root@localhost rc5.d]# /etc/init.d/oracleasm createdisk VOL1 /dev/sda11 Marking disk "/dev/sda11" as an ASM disk: [ OK ] [root@localhost rc5.d]# /etc/init.d/oracleasm createdisk VOL2 /dev/sda12 Marking disk "/dev/sda
-
IPv6 prefix delegation with AVPair ipv6:delegated-prefix
Dear all I have a LNS running c7200-adventerprisek9-mz.124-24.T4.bin. I am trying to delegate IPv6 prefixes to vpdn users as described in http://www.cisco.com/en/US/customer/prod/collateral/iosswrel/ps6537/ps6553/whitepaper_c11-602131.html#wp9000270