Installation base
Hi Expert,
When SAP deliver "Access Enforcer" and "Compliance Calibrator" to the customer, does it need install something in the backend ECC system?
I found some other components in the Demo system
VIRSACCS 200_640 0001 SAPK-20201INVIRSACCS Process Control 2.0 for NW_640
VIRSAHR 510_640 0001 SAPK-51001INVIRSAHR RTA 5.1 Installation Package for HR Syst
VIRSANH 510_640 0003 SAPK-51003INVIRSANH RTA 5.1 Installation package for HR and
Is it mandatory? As far as I know, Access Enforcer is a pure java based application, is that correct?
Does SAP have a trial version of GRC can be installed?
Thanks and best regards.
GRC Access Control which comprises Virsa Compliance Calibrator, Virsa Access Enforcer, Virsa Firefighter, and Virsa Role Expert requires the installation of Real-Time Agents (RTAs) in the connected SAP systems. Like the connected SAP systems the RTAs are ABAP-based.
Similar Messages
-
Creation of Installation base automatically
Hi Friends,
I am exploring the solution for customer installation. With respect to that I want a installation base creation as automatic after customer master creation. The installation base should be equavelent to customer master, All partner data at customer master should copy automatically. In fact client has 8000 customer master. If the customer is removed , deleted then it should impact the Ibase.
Also when ever the sales delevery completed with respect to the equipment(material serial no combination) , the same should go as component under installation base.Also equipment should get all partner detail from the installation base.
If the equipment is removed via sales document then all partner details should be removed.However the usage records hass to be captured like previous partner etc. In addition what is the way to create the measurements points, maintenance plan in equipment.
Regards
ThennaHi,
I think your requirment can be met only with CRM services module, However Automatic installed base gets created through maintaining Serial no. profile for Equipment, use "oein" T-code and while making delivery to customer through SD process, when you select the serial no.s just tick mark on the left box in "delvery > Extras>Serial Numbers."
Prior to this process please maintain proper serial no. profilein MM for the material.(Euipment)
regards
DSR
Edited by: D.Srinivasa Rao on Oct 28, 2011 12:36 PM -
Hi All
I am working on IBase scenario for my client, I am new to the IBase scenario. Here we are creating installation base for two to five levels of product.
Once we create IBase for lower level then this IBase is inserted in upper level IBase. Like this we assign all levels based on product.In some cases we need to unassign any of IBase from its upper level IBase. When it is unassigned we are not able to display the IBase which unassigned. When it is unassigned from upper level how come system not able to display this IBase. If we speak functionally the part (IBase) which is unassigned should be valid to assign in any other upper level IBase in feature.
The error I am getting for above is
Serial number XXXXXXX for material XXXXXXX does not exist in any IBase
Message no. IQ122
Diagnosis
Serial number BMF3000106 for material S24-D5022-C100-6 does not exist in any installed base on 31.03.2015 at 10:22:09.
System Response
The system cancels processing.
Hi experts please suggest.
Regards
KesavaHello Kesava
Can you please explain in detail what exactly you are trying to do while assigning and unassigning Ibase.
Regards
Naresh -
Oracle File Safe Installation Basis of Oracle DBA
I Have 4 Years Experience As Oracle Developer I want to Learn Oracle DBA Advance Topic File Safe
Any body help me
Mail me at any time
Bye Bye
Sabir
nullI Have 4 Years Experience As Oracle Developer I want to Learn Oracle DBA Advance Topic File Safe
Any body help me
Mail me at any time
Bye Bye
Sabir
null -
[Solved] Black screen - Installation issues on Dell Inspiron 1720
Hi,
I'm new to Archlinux, and i want to post my experience/issues of my first installation:
I performance the core installation (base + devel packages and wireless tools as extra package)
relevant hardware/drivers used:
b44 for broadcom nic (wired)
iwl3945 for my wireless nic
intel g965 graphics card (intel GM965 express chipset - xf86-video-intel driver)
Installation went ok till i had to upgrade the system:
pacman -Suy (after package synchronization)
glibc: /usr/bin/tzselect exists in filesystem
glibc: /usr/sbin/zdump exists in filesystem
glibc: /usr/sbin/zic exists in filesystem
After some research on the wiki i found that i had to query the packages to know if those files are owned by a program or not (if no pakcage owns those i could remove them, but it was not the case)
pacman -Qo tzselect
pacman -Qo zdump
pacman -Qo zic
All were owned by the package tzdata:
so i reinstalled the package tzdata:
pacman -S tzdata
Has this to be filed as a bug or is this a stupid newbie error? (did the installation on a virtual machine, on a laptop (twice) and always got this error)
After that i was able to upgrade the system.
Following that i installed the video card drivers:
pacman -S xf86-video-intel and i rebooted the system.
After reboot i got the grub screen, booted the system and got a black screen (last thing i saw as something like loading udevevents..)
Googling again and looking the forums here, i read that i had to chroot my environment and update the system again (pacman -Suy -> which did not help).
Soo after some more searching i found 2 things:
- https://wiki.archlinux.org/index.php/KM … odesetting : i added this in menu.lst: nomodeset
- i blacklisted the intel driver
Rebooted and i my graphics were working again.
So later on i'll test if the parameter solved my problem, or blacklisting the driver.
- i'll unblacklist the driver and reboot -> if it works then i know it's that parameter
- if not ok, i'll blacklist the driver and remove the parameter from the menu.lst
I hope to find what's causing the issue.
Anyone having issues with the intel driver?
Thanks for sharing your experience/info.
Last edited by Manuuz (2012-05-12 13:12:54)Getting a little bit further, it requires a lot of configuration to get what you want..
- I just installed fluxbox
- added my user to the sudo group (allowing to reboot)
- installed Slim
What's i've noticed also is that when you select an interface in etc/rc.conf, for example, eth0, and it's not connected at bootup, you lose like 10 seconds before the boot process proceeds.
If you out-comment that line, you get a red line (error) saying that no interface is definded.
I guess i'll just have to disable the network daemon at startup and install some kind of network connection manager for my wireless at logon. -
Oracle Enterprise Manager Agent deployment (Installation and Configuration) Error
Hello,
I am trying to create an agent on a linux server using Oracle Enterprise Manager 12.1.0.3. The user is created with root privilege on the server, by change /etc/sudoers entry username the same as the root entry. After that I tried to add host target by clicking Setup->Add Target->Add target Manually->Add Host Targets in the Oracle Enterprise Manager.
In the Add Target view: I clicked on add, then I entry host and platform information. After that I click next. Then I provided the Linux x86-64 : Installation Details for
Installation Base Directory, Instance Directory, Name Credential ... then click next. then click Deploy Agent.
In the Add Host Status view: stages Initialization and Remote Prerequisite Check successfully passed, but in the stage Agent Deployment, it failed in the Installation and Configuration phrase of the Agent Deployment stage.
The log content is shown below. There are numerous SEVERE Errors. But I don't have much experience in dealing with these type of problems. I thank you in advance for all the helps.
lf
WARNING: Validation of XML schema is disabled because AggregateDescriptions.xsd could not be found
INFO: Creating new CFM connection
INFO: Creating a new logger for oracle.sysman.top.agent
INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/oracle.sysman.top.agent.12_1_0_3_0.xml
INFO: Creating a new logger for OuiConfigVariables
INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/OuiConfigVariables.1_0_0_0_0.xml
INFO: Aggregate Description oracle.sysman.top.agent:12.1.0.3.0:common successfully loaded
INFO: Aggregate Description OuiConfigVariables:1.0.0.0.0:common successfully loaded
INFO: Successfully returning from CfmFactory.connect()
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: oracle.sysman.top.agent:IAction.perform() was called on {Action state:configuration in CfmAggregateInstance: oracle.sysman.top.agent:12.1.0.3.0:common:family=CFM:oh=/users/ncgf/em_agent/core/12.1.0.3.0:label=1}
INFO: Framework waiting for Action to complete at 15:08:10.272
INFO: CfwProgressMonitor:actionProgress:About to perform Action=configuration Status=is running with ActionStep=0 stepIndex=0 microStep=0
WARNING: Skipping environment variable line: "}": oracle.sysman.emCfg.common.CfwException: A non-empty environment line must contain "=": }
WARNING: Failed to read environment variable file /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties: java.io.FileNotFoundException: /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties (No such file or directory)
INFO: oracle.sysman.top.agent:About to execute plug-in Agent Configuration Assistant
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant is running
INFO: oracle.sysman.top.agent:Internal PlugIn Class: oracle.sysman.agent.config.AgentConfiguration
INFO: oracle.sysman.top.agent:Classpath = /users/ncgf/em_agent/core/12.1.0.3.0/oui/jlib/srvm.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/agentConfig.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/emConfigInstall.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/emagentSDK.jar:/users/ncgf/em_agent/core/12.1.0.3.0/modules/oracle.http_client_11.1.1.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/log4j-core.jar
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration has been started
INFO: oracle.sysman.top.agent:Parametes passed to agent configuration are:
1.ORACLE_HOME=/users/ncgf/em_agent/core/12.1.0.3.0
2.AGENT_PORT=3872
3.ORACLE_HOSTNAME=nsn175-89.us.oracle.com
4.b_doDiscovery=false
5.AGENT_BASE_DIR=/users/ncgf/em_agent
6.AGENT_INSTANCE_HOME=/users/ncgf/em_agent/agent_inst
7.s_hostname=nsn175-89.us.oracle.com
8.OMS_HOST=nsn175-105.us.oracle.com
9.b_startAgent=false
10.b_secureAgent=true
11.b_chainedInstall=false
12.b_forceConfigure=false
13.EM_UPLOAD_PORT=4904
14.b_forceAgentDefaultPort=false
15.s_staticPorts=
16.PROPERTIES_FILE=
b_skipValidation=false
INFO: oracle.sysman.top.agent:Validating OMS_HOST and EM_UPLOAD_PORT
INFO: oracle.sysman.top.agent:Validating with http protocol ...
INFO: oracle.sysman.top.agent:URL framed is:http://nsn175-105.us.oracle.com:4904/empbs/genwallet
SEVERE: oracle.sysman.top.agent:Connection refusedUnexpected end of file from server
INFO: oracle.sysman.top.agent:Validating with https protocol ...
INFO: oracle.sysman.top.agent:URL framed is:https://nsn175-105.us.oracle.com:4904/empbs/genwallet
SEVERE: oracle.sysman.top.agent:The EM_UPLOAD_PORT passed is a secure port. Hence AGENT_REGISTRATION_PASSWORD or s_encrSecurePwd should be passed
INFO: oracle.sysman.top.agent:EM Protocol Switch determined: https
INFO: oracle.sysman.top.agent:Performing free port detection..
INFO: oracle.sysman.top.agent:Trying for host : nsn175-89/10.134.175.89 and port : 3872
INFO: oracle.sysman.top.agent: Trying for host : /127.0.0.1 and port : 3872
INFO: oracle.sysman.top.agent:** Agent Port Check completed successfully.**
INFO: oracle.sysman.top.agent:Agent Port from User Passed Port3872
INFO: oracle.sysman.top.agent:Paths after canonical format conversions are :
1. state_dir=/users/ncgf/em_agent/agent_inst
2. agentBaseDir=/users/ncgf/em_agent
3. oraHome=/users/ncgf/em_agent/core/12.1.0.3.0
INFO: oracle.sysman.top.agent:Parent directory of agent instance home:/users/ncgf/em_agent
INFO: oracle.sysman.top.agent:AgentConfiguration:perform:AgentPortHandler for /users/ncgf/em_agent/core/12.1.0.3.0 and hosts=nsn175-89.us.oracle.com returned Port to Use=3872
INFO: oracle.sysman.top.agent:Instantiating emctl.template file #DEFAULT_EMSTATE# with /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Writing the following contents into /users/ncgf/em_agent/core/12.1.0.3.0/install/oragchomelist
INFO: oracle.sysman.top.agent:/users/ncgf/em_agent/core/12.1.0.3.0:/users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist.
INFO: oracle.sysman.top.agent:Executing emctl deploy agent command...
INFO: oracle.sysman.top.agent:AgentConfiguration: Executing emctl deploy agent command...
INFO: oracle.sysman.top.agent:Executing the command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com
INFO: oracle.sysman.top.agent:Creating shared install...
INFO: oracle.sysman.top.agent:Source location: /users/ncgf/em_agent/core/12.1.0.3.0
INFO: oracle.sysman.top.agent:Destination (shared install) : /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Secure Mode: No
INFO: oracle.sysman.top.agent:DeployMode : agent
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:Creating directories...
INFO: oracle.sysman.top.agent:Creating private.properties...
INFO: oracle.sysman.top.agent:Creating blackouts.xml...
INFO: oracle.sysman.top.agent:Creating targets.xml...
INFO: oracle.sysman.top.agent:Creating emctl control program...
INFO: oracle.sysman.top.agent:Creating emtgtctl control program...
INFO: oracle.sysman.top.agent:Agent will not be secured.
INFO: oracle.sysman.top.agent:Secure REPOSITORY_URL found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Secure emdWalletSrcUrl found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Property 'agentTZRegion' is missing from /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties. Updating it...
INFO: oracle.sysman.top.agent:An agentTZregion of 'US/Pacific' is installed in /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties.
INFO: oracle.sysman.top.agent:The command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com completed with status=0
SEVERE: oracle.sysman.top.agent:Securing of agent step will be skipped because of the following reasons:
1. Agent Registration Password was not passed.
2. b_secureAgent was passed as false
3. The flag -forceConfigure was assed from agentDeploy.sh
INFO: oracle.sysman.top.agent:Plugin File:/users/ncgf/em_agent/plugins.txt
INFO: oracle.sysman.top.agent:Plugin Homes found.
INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/core/12.1.0.3.0/perl/bin/perl /users/ncgf/em_agent/core/12.1.0.3.0/bin/AgentPluginDeploy.pl -oracleHome /users/ncgf/em_agent/core/12.1.0.3.0 -agentDir /users/ncgf/em_agent -pluginIdsInfoFile /users/ncgf/em_agent/plugins.txt -action configure -emStateDir /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:The Agent emStateDir location passed is /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent: The log file is /users/ncgf/em_agent/agent_inst/install/logs/agentplugindeploy_2013_10_16_15_08_11.log
INFO: oracle.sysman.top.agent: The temp file created to check R/W permissions in Oraclehome: /users/ncgf/em_agent/core/12.1.0.3.0 is /users/ncgf/em_agent/core/12.1.0.3.0/rwFile
INFO: oracle.sysman.top.agent:Plugin command completed with status=0
INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/agent_inst/bin/emctl listplugins agent -type all
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:---------------------------------------------------------------
INFO: oracle.sysman.top.agent:---------------------------------------------------------------
SEVERE: oracle.sysman.top.agent:ERROR: The Management Agent configuration failed. The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed, or this plug-in may not be present in the Management Agent software. Ensure that the Management Agent software has the oracle.sysman.oh monitoring plug-in, if not then retry the operation. If the agent software has the oracle.sysman.oh monitoring plug-in, view the plug-in deployment log /users/ncgf/em_agent/agent_inst/install/logs to check if the plug-in configuration for the oracle.sysman.oh monitoring plug-in failed.
SEVERE: oracle.sysman.top.agent:Agent configuration has failed
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: done waiting for Action from 15:08:10.272
Thank you for your help AkankshaSheoranKaler. I have executed the following command based on your request. If there is any issue, please let me know. Thanks!
"Can you run this command to make sure that the agents bits were downloaded correctly : oms home /bin /emcli verify_updates
Share the output of the command. I am suspecting this is a know issue (Bug 17300008) but i will wait for your output. Also if you can open an SR with oracle support to track this issue and its resolution. "
[ncgf@nsn175-105 bin]$ ./emcli setup -url=https://nsn175-105.us.oracle.com:7803/em -u sername=SYSMAN
Oracle Enterprise Manager 12c 3.
Copyright (c) 1996, 2013 Oracle Corporation and/or its affiliates. All rights reserve d.
The configuration directory "/users/ncgf" may not be local. See the "dir" option in t he help for the setup command.
Do you want to continue using this directory? [yes/no] yes
Enter password
Emcli setup successful
[ncgf@nsn175-105 bin]$ ./emcli verify_updates
Verifying updates. Starting validation...
Type : Plug-in
Description: Demo Hostsample Test Plugin
Attributes
Version: 1201000100
Revision: 0
OS Platform: Generic Platform
Plug-in Name: Demo Host Sample Plugin
Archives are missing from the Software Library. Unable to determine the URL for downloading the update. The update might not have come from Oracle Enterprise Manager Store.
For each update with missing archives, emcli import_update can be used with a -force option to re-upload the archives to the Software Library.Hello AkankshaSheoranKaler
We have done the following, but we aren't able to resolve this issue. Thank you for your help!
lf
“This happen if the software library is not accessible, readable or unmounted (if it is in shared file system).”
On Enterprise Manager server [nsn175-105], we did the following:
1. we modified /etc/exports to include this line: /export *(rw,no_root_squash,sync)
we start nfs service by executing command “service nfs start”.
On Management Agent server (nsn175-89), we verified that we are able to mount /export directory of EM server.
On Management Agent server, we started firefox browser and were able to run successfully https://nsn175-105.us.oracle.com:4904/empbs/genwallet
After making this change, we ran agent deployment again. We encountered the same error as shown above.
“You can fix the software library or you can download the agent bits in offline mode.”
For fixing the software library, select Setup->Provision and Patching->Offline Patching, then select Offline Patching radio button, download: https://updates.oracle.com/download/em_catalog.zip. Next upload this zip file.
“Try downloading the bits again”
We are not sure what agent bits are. Would you please explain this and provide procedure how we can download this?
(Here I have attempted to fix the software library, but I am new to Enterprise Manager and not sure how to interpret this). -
Hello everyone - thanks for reading & possibly rescuing me
OS 10.9.1 (all system updates applied) MacBook Pro Retina 8GB RAM - Original retail CD media.
Have tried to copy the installer & base files folder from the CD to a new folder on the desktop (same error).
Have tried to install booted into safe mode (same error).
Have tried creating a Read/Wright .dmg file from the CD in Disk Utility to install from (same error)
Have tried to add it through 'Steam' but as its just an installer Steam doesn't recognise it.
The game is available to buy on the App Store for download, but I already have physically bought it (Grrrrrrr!).
Any suggestions anyone?This is a very common problem with Mavericks and Mountain Lion. I had this issue so many times and many others probably did too. I went into Preferences-->Security&Privacy and select "Anywhere" under allow apps from.
If that doesn't work. You should repair disk permissions on your hard drive. There is a case where the files on the hard drive is not organized and therefore, the mac doesn't recognize it. Go into disk utility, select Macintosh HD or your mac partition, then press repair disk permissions. My macbook pro took 15 minutes for this disk repair process. -
SDM deployment error during XI 3.0 installation
(nobody in the PI forum replied, so I'm reposting here)
I need to install a sandbox using this old version. Installation base is 6.40 WebAS plus Java addon SR1. System installs fine, however during final SDM deployment I get a problem during the J2EE engine restart:
errors:
service sld ================= ERROR =================
Cannot start service com.sap.aii.af.cpa.svc; it has hard reference to service sld which is not started.
and around 20 more services which have a dependency on sld
sld does not start because:
/Applications/SLD#sap.com/com.sap.lcr#com.sap.lcr.sagent.BuilderDirector#J2EE_
GUEST#328####e4cd3451819411dec19c001d72bd0666#SAPEngine_Application_Threadimpl:3_0##0#0#Error#1#com.sap.lcr.sagent.BuilderDirector#Plain###Can't access http store#
OR:
SAPEngine_System_Threadimpl:5_32##0#0#Error#1#com.sap.engine.core.service630.container.ServiceRunner#Plain###Service sld error. Nested exception is: com.sap.engine.frame.ServiceException: <--Localization failed: ResourceBundle='com.sap.engine.frame.KernelResourceBundle', ID='sld_3012', A
rguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key sld_3012
at com.sap.sldserv.SldServerFrame.start(SldServerFrame.java:109)
at com.sap.sldserv.SldServerFrame.start(SldServerFrame.java:78) ...........
further suspicious warnings:
Aug 5, 2009 12:51:17 AM Info: No action: Selected development component 'com.sap.aii.af.ms.svc'/'sap.com'/'SAP AG'/'3.0.0920041027171222.0000' will not be deployed because containing software component 'SAP-XIAFC'/'sap.com'/'SAP AG'/'1000.3.0.9.1.20041028052722' will not be deployed.
and this for around 20 more components from comp.sap.aii*
What went wrong, and, what can I do to fix this? Redeploy sld ? I could not find how.
Java version is latest 1.4.2 x86_64 from IBM (1.4.2_13) for my architecture (x86_64 Linux RHEL5), DB is maxdb 7.6
Any help is appreciated, Thanks.
SanjayCan you please check thet if you have given a central SLD then that SLD is up and running as you are getting the message.
Cannot start service com.sap.aii.af.cpa.svc; it has hard reference to service sld which is not started.
Please check this note it will solve your issue.
Note 994433 - XI AF on J2EE Engine terminates with OutOfMemoryError
you can manually start th services.
Thanks Rishi Abrol -
MI Client Installation Problems
Hi,
I have installed
MI Version & SP Level -- MI 25 SP 13 (JSP )
- installation file type: -- setup.exe
- platform OS -- Windows XP
- JDK info -- j2sdk 1.4.2 08.
After installation i made an Entry into "MobileEngine.config"
MobileEngine.Sync.Gateway.Port=Server-Port
MobileEngine.Sync.Gateway.System=System-id
MobileEngine.Sync.Gateway.Host=Host-Name
then i started server using command Prompt startup.bat. I am able to see server running with the following Message
D:\MIJSP>startup
D:\MIJSP>set ME_HOME=D:\MIJSP
D:\MIJSP>set JAVA_OPTIONS=
D:\MIJSP>set JAVA_EXE=C:\j2sdk1.4.2_08\bin\java.exe
D:\MIJSP>set JAVA_HOME=C:\j2sdk1.4.2_08
D:\MIJSP>set bootstrapjars=;
D:\MIJSP>REM set bootstrapjars=D:\MIJSP\lib\system\crimson.jar;D:\MIJSP\lib\sy
stem\jaxp.jar;D:\MIJSP\lib\system\xalan.jar;
D:\MIJSP>REM SET JAVA_HOME=
D:\MIJSP>REM SET ME_HOME=
D:\MIJSP>REM SET JAVA_EXE=
D:\MIJSP>REM SET JAVA_OPTIONS=-mx256m
D:\MIJSP>SET _OLDCP=
D:\MIJSP>set _MEJARS=
D:\MIJSP>copy /b "D:\MIJSP\SetMejar.txt" + "D:\MIJSP\listOfJars.txt" "D:\MIJSP\s
etMeJar.bat"
D:\MIJSP\SetMejar.txt
D:\MIJSP\listOfJars.txt
1 file(s) copied.
D:\MIJSP>call "D:\MIJSP\setMeJar.bat"
D:\MIJSP>SET _MEJARS=D:\MIJSP\lib\crimson.jar;D:\MIJSP\lib\jasper.jar;D:\MIJSP\l
ib\jaxp.jar;D:\MIJSP\lib\MEg.jar;D:\MIJSP\lib\pinstall.jar;D:\MIJSP\lib\servlet.
jar;D:\MIJSP\lib\webserver.jar;D:\MIJSP\lib\xalan.jar;
D:\MIJSP>set _SSLJARS=
D:\MIJSP>if exist "D:\MIJSP\lib\jsse.jar" set _SSLJARS=D:\MIJSP\lib\jsse.jar
D:\MIJSP>if exist "D:\MIJSP\lib\jcert.jar" set _SSLJARS=;D:\MIJSP\lib\jcert.jar
D:\MIJSP>if exist "D:\MIJSP\lib\jnet.jar" set _SSLJARS=;D:\MIJSP\lib\jnet.jar
D:\MIJSP>set CLASSPATH=D:\MIJSP\lib\crimson.jar;D:\MIJSP\lib\jasper.jar;D:\MIJSP
\lib\jaxp.jar;D:\MIJSP\lib\MEg.jar;D:\MIJSP\lib\pinstall.jar;D:\MIJSP\lib\servle
t.jar;D:\MIJSP\lib\webserver.jar;D:\MIJSP\lib\xalan.jar;;;;;C:\j2sdk1.4.2_08\lib
\tools.jar
D:\MIJSP>echo Using CLASSPATH: D:\MIJSP\lib\crimson.jar;D:\MIJSP\lib\jasper.jar;
D:\MIJSP\lib\jaxp.jar;D:\MIJSP\lib\MEg.jar;D:\MIJSP\lib\pinstall.jar;D:\MIJSP\li
b\servlet.jar;D:\MIJSP\lib\webserver.jar;D:\MIJSP\lib\xalan.jar;;;;;C:\j2sdk1.4.
2_08\lib\tools.jar
Using CLASSPATH: D:\MIJSP\lib\crimson.jar;D:\MIJSP\lib\jasper.jar;D:\MIJSP\lib\j
axp.jar;D:\MIJSP\lib\MEg.jar;D:\MIJSP\lib\pinstall.jar;D:\MIJSP\lib\servlet.jar;
D:\MIJSP\lib\webserver.jar;D:\MIJSP\lib\xalan.jar;;;;;C:\j2sdk1.4.2_08\lib\tools
.jar
D:\MIJSP>"C:\j2sdk1.4.2_08\bin\java.exe" -DSERVER_IMPL="com.sap.tc.webdynpro.se
rverimpl.me.MEServerImplementation" -Duse.repository=noDB com.sap.ip.me.core.Sta
rtup "-home:D:\MIJSP"
Use the MobileEngine classloader
Collect jar: D:\MIJSP\lib\crimson.jar
Collect jar: D:\MIJSP\lib\jasper.jar
Collect jar: D:\MIJSP\lib\jaxp.jar
Collect jar: D:\MIJSP\lib\MEg.jar
Collect jar: D:\MIJSP\lib\pinstall.jar
Collect jar: D:\MIJSP\lib\servlet.jar
Collect jar: D:\MIJSP\lib\webserver.jar
Collect jar: D:\MIJSP\lib\xalan.jar
Initialize framework ...
Configuration initialized. Installation Base = D:\MIJSP
Path settings adjusted
Timezone initialized; use timezone id 'Europe/Berlin'
Trace initialized. Log is switched on.
Framework singletons initialized.
Gzip data compression configuration initialized.
Registry initialized.
MI OS installer lib (D:\MIJSP\bin\NATSTART.DLL) loaded successfully.
Dlls loaded.
Timed Sync initialized.
Persistence initialized.
Smart Sync initialized.
CCMS initialized.
Agents initialized.
Communication server initialized.
Framework initialized.
Check if running inside installation server.
Installation toolkit parameters D:\MIJSP/itool.properties not detected
Use normal startup: true
Starting tomcat. Check logs/tomcat.log for error messages
after that ,i started MI Client or double clicked MobileEngine.exe . I am getting Page Cannot be Displayed Error.
Please let me know ,am i missing any configuration settings.
Thanks a Lot
MadhanI have no files as agent.properties. When I want to start SAP Mobile Client it says Time out 61. Can not connect to server.
And here is the trace file.
[20060620 13:02:28:218] I [MI/API/Logging ] ***** LOG / TRACE SWITCHED ON
[20060620 13:02:28:218] I [MI/API/Logging ] ***** Mobile Engine version: MI 25 SP 15 Patch 00 Build 200512142038
[20060620 13:02:28:218] I [MI/API/Logging ] ***** Current timezone: Europe/Istanbul
[20060620 13:02:28:280] A [MI/Persistence ] com.sap.ip.me.core.PersistedDataUpgradeComponent miSyncDataVersionBeforeConversion is 251300
[20060620 13:02:28:280] A [MI/Persistence ] No upgrade necessary for com.sap.ip.me.core.PersistedDataUpgradeComponent because MI.Sync.DataVersion is 251300
[20060620 13:02:28:781] I [MI/Core ] The https protocol is able to run with the currently used java version: 1.4.2_08
[20060620 13:02:28:796] D [MI/Core ] System property javax.net.ssl.keyStore has value: C:\Program Files\SAP Mobile Infrastructure\settings\keystore
[20060620 13:02:28:796] D [MI/Core ] System property javax.net.ssl.trustStore has value: C:\Program Files\SAP Mobile Infrastructure\settings\truststore
[20060620 13:02:28:796] D [MI/Core ] SecurityManager: The following security providers are available:
[20060620 13:02:28:796] D [MI/Core ] Name: SUN, preference order: 1, info: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores), version: 1.42.
[20060620 13:02:28:812] D [MI/Core ] Name: SunJSSE, preference order: 2, info: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1), version: 1.42.
[20060620 13:02:28:812] D [MI/Core ] Name: SunRsaSign, preference order: 3, info: SUN's provider for RSA signatures, version: 1.42.
[20060620 13:02:28:812] D [MI/Core ] Name: SunJCE, preference order: 4, info: SunJCE Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1), version: 1.42.
[20060620 13:02:28:812] D [MI/Core ] Name: SunJGSS, preference order: 5, info: Sun (Kerberos v5), version: 1.
[20060620 13:02:28:812] D [MI/Core ] SecurityManager: The following message digest algorithm was instantiated: SHA-1 Message Digest from SUN, <initialized>
[20060620 13:02:28:812] D [MI/Core ] SecurityManager: Selected synchronization password handling option: AtSync
[20060620 13:02:28:812] D [MI/API/Configuration ] null (root cause: null [java.lang.NumberFormatException])
[20060620 13:02:28:843] D [MI/Core ] New UserManager SINGLETON created : com.sap.ip.me.core.UserManagerImpl@15a8767
[20060620 13:02:28:859] P [MI/Core ] Set current application to 'Framework'
[20060620 13:02:28:968] D [MI/Core ] load conversation id 176EB66BA658CD47B23668F9ACD46510
[20060620 13:02:28:984] D [MI/Core ] load conversation id 03E9B5EB17196145B9B19E0993E1BEF1
[20060620 13:02:29:000] D [MI/Core ] load conversation id 19E00AF9B0B020409F1B04A15E51FCF6
[20060620 13:02:29:031] D [MI/Core ] load conversation id 4FE8C3EB9BA8CD4CBA0177B6B9427141
[20060620 13:02:29:031] D [MI/Core ] load conversation id D4A0AA68D9E1EF4BB32BE1417BE43DC5
[20060620 13:02:29:031] D [MI/Core ] load conversation id 863106AB9593D34C842657C72A0EE240
[20060620 13:02:29:046] D [MI/Core ] load conversation id 20C28975ABA38840ACD50BF27B0CDE2C
[20060620 13:02:29:046] D [MI/Core ] load conversation id MI2853484152454429
[20060620 13:02:29:046] D [MI/Core ] load conversation id MI50454c494e
[20060620 13:02:29:062] D [MI/Core ] load conversation id MI43524d524643
[20060620 13:02:29:062] D [MI/Core ] load conversation id 0C0D21BD9FC56F4BB292DD05716B64A5
[20060620 13:02:29:078] D [MI/Core ] load conversation id AA171B4F6252D54A96D9D499ACA05E29
[20060620 13:02:29:125] D [MI/API/Services ] Read Hashtable from directory C:\Program Files\SAP Mobile Infrastructure\sync\eventListeners
[20060620 13:02:29:265] D [MI/Core ] GzipDataCompressionConfiguration: GzipDataCompression is switched on.
[20060620 13:02:29:297] I [MI/Core ] MI OS installer lib (C:\Program Files\SAP Mobile Infrastructure\bin\NATSTART.DLL) loaded successfully
[20060620 13:02:29:297] I [MI/Core ] Libraries are loaded
[20060620 13:02:29:297] I [MI/API/Persistence ] Determined PersistenceImplementation (implementation / config paramter value): DB2E / DB2E
[20060620 13:02:29:406] D [MI/Core ] DB2e DLLs loaded
[20060620 13:02:29:531] D [MI/API/Services ] Read Hashtable from directory C:\Program Files\SAP Mobile Infrastructure\sync\inboundProcessors
[20060620 13:02:29:969] D [MI/API/Services ] Read Hashtable from directory C:\Program Files\SAP Mobile Infrastructure\sync\registeredMethods
[20060620 13:02:30:047] D [MI/Sync ] Start dumping of registered inbound processors (inboundProcessors)
[20060620 13:02:30:047] D [MI/Sync ] "WAF_INSTALLATION_LOG" --> com.sap.ip.me.core.InstallationLog
[20060620 13:02:30:047] D [MI/Sync ] "WAF_REGISTRY" --> com.sapmarkets.web.liTS.util.reg.RegistrySyncInboundProcessing
[20060620 13:02:30:047] D [MI/Sync ] "CLIENT_ALERT" --> com.sap.ip.me.ccms.AlertInboundProcessor
[20060620 13:02:30:047] D [MI/Sync ] "SYSTEMNEWS" --> com.sap.ip.mi.systemnews.InboundListener
[20060620 13:02:30:047] D [MI/Sync ] "CRMHH_SYNC_PLAYBACK" --> com.sap.crm.handheld.core.sync.response.UpSyncProcessor
[20060620 13:02:30:047] D [MI/Sync ] "DEVICEINFO" --> com.sap.ip.me.core.DeviceAttributeInboundProcessor
[20060620 13:02:30:047] D [MI/Sync ] "MI_SET_CLIENTTRACE" --> com.sap.ip.me.ccms.remotetracing.RemoteTracingInboundProcessor
[20060620 13:02:30:047] D [MI/Sync ] "AGENT_PARAMETERS" --> com.sap.ip.me.services.os.AgentManager$AgentInboundProcessor
[20060620 13:02:30:047] D [MI/Sync ] "SMARTSYNC" --> com.sap.ip.me.smartsync.core.SyncAdapter
[20060620 13:02:30:047] D [MI/Sync ] "CRMHH_SYNC" --> com.sap.crm.handheld.core.sync.response.DownSyncProcessor
[20060620 13:02:30:047] D [MI/Sync ] "CENTRAL_TRACING" --> com.sap.ip.me.sync.LogSenderInboundProcessor
[20060620 13:02:30:047] D [MI/Sync ] End of dump of registered inbound processors (inboundProcessors)
[20060620 13:02:30:047] D [MI/Sync ] Register inbound processor com.sap.ip.me.smartsync.core.SyncAdapter for method SMARTSYNC
[20060620 13:02:30:063] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 for ConvId 176EB66BA658CD47B23668F9ACD46510
[20060620 13:02:30:063] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 for ConvId 03E9B5EB17196145B9B19E0993E1BEF1
[20060620 13:02:30:063] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 for ConvId 19E00AF9B0B020409F1B04A15E51FCF6
[20060620 13:02:30:078] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 for ConvId 863106AB9593D34C842657C72A0EE240
[20060620 13:02:30:078] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 for ConvId 20C28975ABA38840ACD50BF27B0CDE2C
[20060620 13:02:30:078] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 for ConvId 4FE8C3EB9BA8CD4CBA0177B6B9427141
[20060620 13:02:30:078] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 for ConvId D4A0AA68D9E1EF4BB32BE1417BE43DC5
[20060620 13:02:30:110] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 was registered for key com.sap.ip.me.smartsync.core.SyncAdapter/MI2853484152454429
[20060620 13:02:30:110] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 for ConvId MI50454c494e
[20060620 13:02:30:110] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 for ConvId MI43524d524643
[20060620 13:02:30:141] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 was registered for key com.sap.ip.me.smartsync.core.SyncAdapter/0C0D21BD9FC56F4BB292DD05716B64A5
[20060620 13:02:30:188] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@18d9850 was registered for key com.sap.ip.me.smartsync.core.SyncAdapter/AA171B4F6252D54A96D9D499ACA05E29
[20060620 13:02:30:188] D [MI/Smartsync ] Smart Sync Framework successfully initialzed.
[20060620 13:02:30:235] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.ccms.AlertManagerImpl@b5dac4 was registered for key com.sap.ip.me.ccms.AlertManagerImpl/MI2853484152454429
[20060620 13:02:30:235] D [MI/Sync ] Register inbound processor com.sap.ip.me.ccms.AlertInboundProcessor for method CLIENT_ALERT
[20060620 13:02:30:313] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.ccms.LastSuccessfulSyncAlert@1ff0dde was registered for key com.sap.ip.me.ccms.LastSuccessfulSyncAlert/MI2853484152454429
[20060620 13:02:30:391] I [MI/Services/Os ] Error:.java.lang.NullPointerException -
Where i can find nokia n82 dictionary installer ba...
helllo guys...i really want to installed mobile dictionary in my handphone when i read the nokia dictionary..but i never found the link to download the installer base packages..the only link appears is just for languages packages..can some one help me please..
thanks in advance....Same question from me ... did an answer get posted anywhere?
-
MTT Development Environment Installation
I got the complete sources of MTT and want to create a Project with those.
Therefor I used the guide (MBA_MTR_MTS_16_Development_Environment_Installation_Guide.pdf) which comes with the sources.
After all sources are compiled without any error I get an exception when I try to run the project with the runtime environment, as it is suggested in the guide:
Initialize framework ...
Configuration initialized. Installation Base = C:\Programme\SAP Mobile Infrastructure
Path settings adjusted
Timezone initialized; use timezone id 'Europe/Berlin'
Trace initialized. Log is not switched on.
java.lang.RuntimeException: Cannot load conversation ids from persistence
at com.sap.ip.me.core.ConversationIdHandler.load(ConversationIdHandler.java:671)
at com.sap.ip.me.core.ConversationIdHandler.<init>(ConversationIdHandler.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.sap.ip.me.api.conf.Configuration.createInstanceForType(Configuration.java:499)
at com.sap.ip.me.api.conf.Configuration.getSingletonInstanceForType(Configuration.java:444)
at com.sap.ip.me.core.ConversationIdHandler.<clinit>(ConversationIdHandler.java:739)
at com.sap.ip.me.core.FrameworkInitializer.initSingletons(FrameworkInitializer.java:640)
at com.sap.ip.me.core.FrameworkInitializer.initializeFramework(FrameworkInitializer.java:195)
at com.sap.ip.me.core.FrameworkInitializer.main(FrameworkInitializer.java:86)
java.lang.ExceptionInInitializerError
at com.sap.ip.me.core.FrameworkInitializer.initSingletons(FrameworkInitializer.java:640)
at com.sap.ip.me.core.FrameworkInitializer.initializeFramework(FrameworkInitializer.java:195)
at com.sap.ip.me.core.FrameworkInitializer.main(FrameworkInitializer.java:86)
Caused by: com.sap.ip.me.api.conf.FactoryException: Exception while instantiating com.sap.ip.me.core.ConversationIdHandler
at com.sap.ip.me.api.conf.Configuration.createInstanceForType(Configuration.java:503)
at com.sap.ip.me.api.conf.Configuration.getSingletonInstanceForType(Configuration.java:444)
at com.sap.ip.me.core.ConversationIdHandler.<clinit>(ConversationIdHandler.java:739)
... 3 more
Exception in thread "main"Hi,
U can try to remove the data folder and work folder under MI home directory and try to restart.
best case: try to run project via eclipse
if problem persists u can reinstall MI.
regards
anubhav -
dear all
i have finished the middleware configuration and in the mobile administrator i have deployed the mobile component (MDSD 2.1)
and now i want to install it on the mobile client (windows mobile 6.0)
how can i deploy the DB2E .. i have a file DB2EveryplaceDE0719eval.tar
and how to install the MI client ???for your info ... i have installed CreMe 4.12 and restart my mobile .... then i have used the URl http://imi.com:8030/sap/bc/bsp/sap/me_fw_install/install.htm from my PC and downloaded MAP70_WinCESetupCore_Core.CAB and copied this file to my mobile and installed it .. then i restarted my mobile
i did not install the DB yet ....
is there something wrong ?????
this is my JSCPOUT file ....
Could not find command file /nlfont.txt NSIcom Ltd., CrEme(tm) Evaluation Version CrE-ME J2ME(tm)
CrE-ME V4.12.22 B145.190307 19-March-2007
MemoryLimit=28544Kb
EBCI(TM) Interpreter V1.00,
Copyright 1998-2002 by Bytecodes, Inc.
Use the MobileEngine classloader
Collect jar: \MI\lib\ME.jar
Collect jar: \MI\lib\system\crimson.jar
Collect jar: \MI\lib\system\xalan.jar
Collect jar: \MI\lib\system\jaxp.jar
Collect jar: \MI\lib\pinstall.jar
Collect jar: \MI\lib\system\iaik_javax_crypto.jar
Collect jar: \MI\lib\system\iaik_jce.jar
Collect jar: \MI\lib\system\jdk11x_update.jar
Added com.sap.ip.me.core.ShutDownThread as a JVM ShutdownHook
Initialize framework ...
Configuration initialized. Installation Base = /MI
Path settings adjusted
Timezone initialized; use timezone id 'EET'
Trace initialized. Log is switched on.
Thread[Thread-1,5,main] com.sap.ip.me.core.ShutDownThread activated
Calling CommunicationServer.doSmoothShutdown()
smooth shutdown will be performed
java.lang.NoClassDefFoundError: com/sap/ip/me/core/UserManagerImpl
at
at com.sap.ip.me.core.ConversationIdHandler.<init>()
at java.lang.Class.newInstance()
at com.sap.ip.me.api.conf.Configuration.createInstanceForType()
at com.sap.ip.me.api.conf.Configuration.getSingletonInstanceForType()
at
at com.sap.ip.me.sync.SyncManagerImpl.<init>()
at com.sap.ip.me.sync.SyncManagerMerger.<init>()
at java.lang.Class.newInstance()
at
at com.sap.ip.me.core.CommunicationServer.doSmoothShutdown()
at com.sap.ip.me.core.ShutDownThread.run() -
Question About SAP Trail Installation 7.02
I have a question. if some could assist please. I wanted to learn the process of SAP installation(basis) and assigning users, roles...etc. I downloaded the Trial "SAP NetWeaver Application Server ABAP 7.02 SP6 32-bit Developer Edition", and successfully installed it on Windows XP platform. I was able to successfully log in trial SAP using the SAP GUI.
The issue is that when I compare the trail SAP 7.02 with our previous installed SAP(purchased license). I see that many modules are missing in the trial SAP version. e.g using transaction code "/nspro" & SAP Reference IMG. I don't see Financial accounting, controlling, investment management, enterprise controlling...etc etc and many many more.
Is there something that needs to be done in the SAP trial 7.02 installation that will activate the missing modules or how can I see the other modules or the trial version does not have these. Do I need to download any other file....Can someone please guide or provide any tips.Hi,
The Developer Edition allows individuals free of charge to test, evaluate, prototype and share add-on software code on code exchange This package comes with SAP's robust ABAP server. It also includes Web Dynpro for ABAP.
Therefore, you will not find the other functionalities in this edition. It is only for developers to practice ABAP.
Regards,
Shitij -
Mildet connect to oracle DB using servlet problem ,help please
hi guys i have a problem am tring to connect my midlet to databse through midlet but i don`t know what is the problem so far the midlet already connect to my servlet url but the servlet cant read the parameters to open the connection for database
my servlet code
* To change this template, choose Tools | Templates
* and open the template in the editor.
import java.io.*;
import java.net.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.text.*;
* @author freddy
public class getconnection extends HttpServlet {
Statement statement;
ResultSet rs=null;
String bstr=null;
String bstr1=null;
String bstr2=null;
public void init()
* Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
* @param request servlet request
* @param response servlet response
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
try {
/* TODO output your page here
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet getConnection</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Servlet getConnection at " + request.getContextPath () + "</h1>");
out.println("</body>");
out.println("</html>");
} finally {
out.close();
// <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
* Handles the HTTP <code>GET</code> method.
* @param request servlet request
* @param response servlet response
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
doPost(request,response);
* Handles the HTTP <code>POST</code> method.
* @param request servlet request
* @param response servlet response
@Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
DataInputStream in = new DataInputStream(
(InputStream)request.getInputStream());
String sid = in.readUTF();
String user = in.readUTF();
String pwd = in.readUTF();
// "jdbc:oracle:thin:@localhost:1521"+": "+sid
String message = message = "Name:"+bstr+" telephone:"+bstr1+" burthday:"+bstr2;
try {
connect(sid,user, pwd);
message += "100 ok connected";
} catch (Throwable t) {
message += "200 " + t.toString();
response.setContentType("text/plain");
response.setContentLength(message.length());
PrintWriter out = response.getWriter();
out.println(message);
in.close();
out.close();
out.flush();
private void connect(String sid, String user,String pwd)
throws Exception {
// Establish a JDBC connection to the MYSQL database server.
//Class.forName("org.gjt.mm.mysql.Driver");
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:"+sid,user,pwd);
System.out.print("connected");
try{
statement =conn.createStatement();
rs=statement.executeQuery(" Select*from WOH.P_DEMGRAPHICS where P_ID='P1000 '");
catch(SQLException e)
System.err.print(e);
try{
while (rs.next()) {
bstr=rs.getString(2);
bstr1=rs.getString(3);
bstr2=rs.getString(4);
statement.close();
catch (SQLException e) {
//bstr += e.toString();
System.err.println(e);
System.exit(1);
// Establish a JDBC connection to the Oracle database server.
//DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
//Connection conn = DriverManager.getConnection(
// "jdbc:oracle:thin:@localhost:1521:"+db,user,pwd);
// Establish a JDBC connection to the SQL database server.
//Class.forName("net.sourceforge.jtds.jdbc.Driver");
//Connection conn = DriverManager.getConnection(
// "jdbc:jtds:sqlserver://localhost:1433/"+db,user,pwd);
* Returns a short description of the servlet.
public String getServletInfo() {
return "Short description";
// </editor-fold>
}Midlet code
* To change this template, choose Tools | Templates
* and open the template in the editor.
import java.io.*;
import java.util.*;
import javax.microedition.io.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
* @author freddy
public class testOrcl extends MIDlet implements CommandListener {
protected String url;
private String username;
private Display display;
private Command exit = new Command("EXIT", Command.EXIT, 1);;
private Command connect = new Command("Connect", Command.SCREEN, 1);
private TextField tb;
private Form menu;
private TextField tb1;
private TextField tb2;
DB db;
public testOrcl() throws Exception
display=Display.getDisplay(this);
url="http://localhost:8084/getConnection/getconnection";
public void startApp() {
displayMenu();
public void displayMenu()
menu= new Form("connect");
tb = new TextField("Please input database: ","",30,
TextField.ANY );
tb1 = new TextField("Please input username: ","",30,
TextField.ANY);
tb2 = new TextField("Please input password: ","",30,
TextField.PASSWORD);
menu.append(tb);
menu.append(tb1);
menu.append(tb2);
menu.addCommand(exit);
menu.addCommand(connect);
menu.setCommandListener(this);
display.setCurrent(menu);
public void pauseApp() {
public void destroyApp(boolean unconditional) { }
public void commandAction(Command command, Displayable screen) {
if (command == exit) {
destroyApp(false);
notifyDestroyed();
} else if (command == connect) {
db = new DB(this);
db.start();
db.connectDb(tb.getString(),tb1.getString(),tb2.getString());
* To change this template, choose Tools | Templates
* and open the template in the editor.
import java.io.*;
import java.util.*;
import javax.microedition.io.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.lang.*;
* @author freddy
public class DB implements Runnable {
testOrcl midlet;
private Display display;
String sid;
String user;
String pwd;
public DB( testOrcl midlet)
this.midlet=midlet;
display=Display.getDisplay(midlet);
public void start()
Thread t = new Thread(this);
t.start();
public void run()
StringBuffer sb = new StringBuffer();
try {
HttpConnection c = (HttpConnection) Connector.open(midlet.url);
c.setRequestProperty(
"User-Agent","Profile/MIDP-2.1, Configuration/CLDC-1.1");
c.setRequestProperty("Content-Language","en-US");
c.setRequestMethod(HttpConnection.POST);
DataOutputStream os =
(DataOutputStream)c.openDataOutputStream();
os.writeUTF(sid.trim());
os.writeUTF(user.trim());
os.writeUTF(pwd.trim());
os.flush();
os.close();
// Get the response from the servlet page.
DataInputStream is =(DataInputStream)c.openDataInputStream();
//is = c.openInputStream();
int ch;
sb = new StringBuffer();
while ((ch = is.read()) != -1) {
sb.append((char)ch);
showAlert(sb.toString());
is.close();
c.close();
} catch (Exception e) {
showAlert(e.getMessage());
/* This method takes input from user like db,user and pwd and pass
to servlet */
public void connectDb(String sid,String user,String pwd) {
this.sid = sid;
this.user = user;
this.pwd = pwd;
/* Display Error On screen*/
private void showAlert(String err) {
Alert a = new Alert("");
a.setString(err);
a.setTimeout(Alert.FOREVER);
display.setCurrent(a);
Comment out process request or rewrite & move it to a position after you read the parameters and connect to the db. Decide where you want to write to the output stream. Also, you have some superfluous casting.
I take it that you are using netbeans? If you debug and step through the code you will get an idea of the flow. The steps should be, midlet connects with POST, doPost is called, server reads parameters, server opens connection, executes query, releases/closes connection, and writes a response to the midlet.
Some notes about the connect method; The scope of rs may cause problems. It is unlike you will have a valid result set if you have a problem with create statement or execute. Take a look at connection pooling and be mindful how the connections are opened, used, and closed; put all the important cleanup operations in a finally. Remove system.exit from your servlet. Actually I would suggest limiting the scope of all your vars;
If you store the username, password, and sid on the midlet, you may have trouble updating the installation base if you need to change the values for any reason. Also, you have clients which contain your database u/p, susceptible to snooping and decompilation. Use the servlet to abstract the db from the client. And use a datasource (with connection pooling) for obtaining connections to db. -
Can't change printer port on Windows 8.1 and Server 2012 R2
1. Install "Lexmark X646e Class Driver" using a in-box print driver (i.e. one comes with the Windows installation base) .
2. Go to "Printer properties" -> "Port"
3. Select a custom monitor port, and the following error occurs in Event Viewer.
An error occurred while configuring print queue 'Lexmark X646e Class Driver'. Printer driver 'Lexmark X646e Class Driver' may not be used in conjunction with a non-inbox port monitor.
Same steps applied on Windows 8 and Server 2012, and not issues found. The restriction/limitation is newly added in Window 8.1 and Server 2012 R2.
Changing to a custom monitor port after printer driver installation is very important for us.
How can we solve or workaround the above issue, so it can behave like Windows 8 and Server 2012?What Port Monitor just so I can bubble this information to some others?
Alan Morris Windows Printing Team
Hi Alan:
We developed a custom printing system, which involved the following configurations:
1. Create a custom port monitor on server 2012 r2.
2. Change an existing print queue to use this custom port monitor, and share this print queue.
3. All workstations will print to this shared print queue on the server.
The goal is to manage/monitor the print information in StartDocPort for all printing for instance. This is what we've been doing for a long time.
Now we upgraded our system from server 2012 to server 2012 R2, but we can't change the port monitor to our ones anymore.
I've tried the Type3 printer driver, such as Brother Color Type3 Class Driver, unfortunately it didn't work if the installation is using "Add a printer", and select the driver from the list.
The only way to make it work is to install the printer driver using the one downloaded from the vendor's website, this will bypass Windows "Add a printer".
Is there any chance we can make this to behave like server 2012 or earlier? Modify registry keys?
Cheers
Steven
Maybe you are looking for
-
I want to get avl report, removed by moderator
Design selection screen as follows. Input: Company Code _____________ Bank Name _____________ Branch _____________ Date from ___________ to ______________ Vendors _____________to _______________ Output: ALV Heading - Company code with ad
-
We are in a corporate network. regular users do not have the authority to install anything. So having the pluggin checker is useless for them. Is there a way to disable this so it can only be done manually Thanks
-
Fonts are missing after reloading ID-CS3
The nightmare continues. After having a major corruption of all Adobe software about a month ago, my IT person finally had to completely wipe my machine clean and reload everything. I am on Windows Vista and using Adobe CS3 Design Standard. Now, with
-
How do I add a mailto link to the AppsLocalLogin.jsp page Thank you in advance!!
-
Hi experts, I normally work in Microsoft tools but using SQL Server Reporting Services I am developing a report against an Oracle dB because the source dB is Oracle. I have in past developed T-SQL queries to include prompts but obviously the same for