Issues when configure LDAP server in OBIEE
Hi,
I have a big issue, I configure LDAP server for authentication of users, and everything looks fine, but my problem is when I log in Interactive Dashbaords, I enter without any problem, but some parameters and some filters and some functions are NOT working, for example:
-In a parameter I have this condition for Default value: SELECT YEAR(Tiempo.Dia) FROM Finanzas WHERE Tiempo.dia = CURRENT_DATE, and returns me a null value, but if I change to this SELECT YEAR(Tiempo.Dia) FROM Finanzas WHERE Tiempo.dia = CURRENT_DATE-1, returns me "2010"
I have similar behaviors in other parameters, and some filters and some functions.
Everything happen in Development instance. I configure LDAP server in Development instance.
In Production instance nothing of this is happen, but I do not configure LDAP server yet.
What do anyone think is happen here? This happens because I configure LDAP server? What do you think that mades this behavior for my parameters, filters and functions?
Do you think is a better practice to clone Production instance to Development instance? If so, how can I do a clone instance, only for OBIEE?
Regards,
Arnulfo
Edited by: ArnulfoPA on 25-may-2010 15:35
The date returned by CURRENT_DATE is determined by the system in which the Oracle BI Server is running. So, does CURRENT_DATE returns an equal values on prom and dev instances in your case?
Similar Messages
-
Error when configuring Siebel Server in Windows server 2003
Hi
I am getting below error when configuring Siebel server in Windows server 2003 VM. All the ODBC connections and SADMIN user id & password and gateway host name and port everything correct. Able to ping and telnet to gateway port 2320. Please help on how to overcome this situation....
2021 2012-03-08 01:13:22 0000-00-00 00:00:00 -0500 00000000 001 003f 0001 09 sw_cfg_util 3940 3332 C:\sba81\siebsrvr\log\sw_cfg_util.log 8.1.1 SIA [21111] ENU
GenericLog GenericError 1 000000024f580f64:0 2012-03-08 01:13:22 Error in transferring input values ,num of arrays incorrect 0, expected : 1
GenericLog GenericError 1 000000024f580f64:0 2012-03-08 01:13:22 TransferInputsToValues returned error:3611539 to SetControlValues
GenericLog GenericError 1 000000024f58096c:0 2012-03-08 01:13:33 NSS - ErrCode 4597527 SysErr 0
GenericLog GenericError 1 000000034f58096c:0 2012-03-08 01:13:35 NSS - ErrCode 4597527 SysErr 0
GenericLog GenericError 1 000000034f58096c:0 2012-03-08 01:13:35 Validation failed : C028: Unable to connect to the Siebel Gateway Name Server ῤ粃䂬粃呸 ֓呸 ֓㷕粃Ꞡ粈㶻粃
GenericLog GenericError 1 000000034f58096c:0 2012-03-08 01:13:35 ValidateFailed for Gateway Name Server TCP/IP Port, error : C028: Unable to connect to the Siebel Gateway Name Server ῤ粃䂬粃呸 ֓呸 ֓㷕粃Ꞡ粈㶻粃Please check Doc ID 1391312.1 on support.oracle.com, this article has a list of possible causes and resolutions for the error messages you are receiving.
Hope it helps,
Wilson -
When configuring a server the 'version' pull down is not populated
When configuring a server the 'version' pull down on the second tab is not populated preventing me from continuing.
Settings:
server name = cfusion
app server = Jrun
host name = localhost (or cfusion, same results)
port = 80
Context Root = /
app server name = cfusion
Server home = C:\ColdFusion9
doc root = C:\ColdFusion9\wwwroot
I am evaluating this for our development team. If I can't get it to work, no sale.There is no way to avoid that the contentlib will be placed on the site server.
I don‘t agree that storage cost is high. It might be true for fast storage, but that‘s not needed for it.
Torsten Meringer | http://www.mssccmfaq.de -
Facing issue in configuring soa server in local jdev 11G
Hi All,
I am facing an issue in configuring local soa server in jdev 11G. I was trying to do the practice excercises in the local jdev and while configuring soa server followed following steps :-
1. Configure SOA to install the Integrated OC4J Server
a. In JDeveloper, select Tools -> Preferences, Run, and then select Integrated OC4J Server.
b. Next, select Tools -> Configure SOA…
c. Complete the dialog for your configuration specifying the database location and the SOA schema user name and password
d. Use the Test button to test the database connection and then click on Ok
This will take 8-10 minutes to run and when finished will end with "Build Successful."
In the end I am getting following log file
[echo] ==Starting standalone oc4j. Check server log D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log.
[echo] ==Waiting max 420 second(s) for startup of URL http://LAP1-RBAGRI-IN:8988...
[echo]
* Configuring SOA Infrastructure has FAILED. *
* Please check following logs for possible cause: *
* D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\install\tmp\soa-infra-java.log
* D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log
[echo] ==Stopping oc4j standalone...
BUILD SUCCESSFUL
Total time: 7 minutes 11 secondsHi Heidi,
Thanks a lot for your response. The solution you provided worked for me. I am able to configure SOA now and the SOAConsole is coming up properly.
One issue I am facing while deploying my application . The application is getting deployed properly but it does not show up in the console if I look at Default server console I can see this error message :-
Incorrect db schema version.
The database schema version "11.1.6" from the database does not match the version "11.1.7" expected by the server.
The database schema for your SOA installation was not properly installed or your installation is using a database schema installed for a prior release.
The database schema currently in place has probably been configured for a previous release; please re-install the database schema and try to start the server again.
Though I have configured the database locally just like mentioned in the training material. Please let me know if you have any thoughts on this.
Regards,
Ranjana -
Good morning,
I'm experiencing the following issue when installing Microsoft SQL Server Express 2012 (with tools, SQLEXPRWT_x86_ENU.exe) on the laptop of my company;
Installation goes plain until around the end of the progress bar, it stops on the setup of
SqlEngineDBStartConfigAction_install_configrc_Cpu32
giving 7-8 times, even pressing "Cancel", the message "The requested control is not valid for this service";
After this, I receive one last message ""Could not find the database engine startup handle", then installation ends with failures, in particular the Database Engine and the Server Replication failed to be installed.
I've put in my SkyDrive the error log I received after the install;
I'm at full disposal if you need further information,
thank you in advance
Best regards
FrancescoWell, i just ran into this issue and the problem was lack of admin rights. It was my company's laptop so got the setup initiated by my company's IT team with admin rights. However, the upon completion of setup, i go the same error messages as stated above:
SqlEngineDBStartConfigAction_install_configrc_Cpu32
giving 7-8 times, even pressing "Cancel", the message "The requested control is not valid for this service";
After this, I receive one last message ""Could not find the database engine startup handle", then installation ends with failures, in particular the Database Engine and the Server Replication failed to be installed.
Also, if you open SQL Server Configuration, the status of the service is "Change Pending" and you would not be able to set the startup login type to Local Service/System/Network.
Then, I just got my account added as Local Admin and then tried to start the service and was able to.
However, I am not sure whether same was the case for you.
Please mark the answer as helpful if i have answered your query. Thanks and Regards, Kartar Rana -
Printing issues when printing to Server 2008 R2 Print Server
We have a problem with netwok printing that encompasses many different areas and versions of Windows OSes so I will be posting this in a few different places.
Let me lay this out for you. We have a single Server 2008 R2 print server with 300 printers of various models. This print server has both 32 and 64-bit drivers installed for every printer. For the HP printers we are using the HP Universal Printing PCL 6
(version 61.94.3.37) and for the Ricoh printers we are using their PCL6 driver for universal printing version 3.5. All drivers run in Isolation mode and no printer gets published to AD.
We have a mix of Windows clients printing to these printers, both XP Pro and Windows 7 32 and 64-bit.
Now for the problems: The other day one Isolation host on the server went crazy, processing was hitting 100% and memory was fluctuating and growing a lot. After investigating a little that isolation host was having issues accessing the Ricoh Driver (which
was 3.4 at the time). In an attempt to resolve the issue we updated the driver to V. 3.5. This seemed to fix the isolation issues and things calmed down however this is the beginning of many other issues for the clients. Both Windows OS versions (XP and 7)
don't seem to be either downloading and installing the updated driver and/or doing so correctly. Clients are now experiencing extremely slow printing, applications such as Word, Outlook, Excel and others open slowly and it can take 2-3 minutes for print dialog
boxes to open. In all cases it seems that we have to have a tech delete the printer(s), delete the driver and then re-install the printer to make things better but for some reason, which is really unknown, this process doesn't work for every machine and on
some we can't even remove the old drivers at all without booting into SafeMode and doing it that way.
With all of that said, are there any suggestions as to why the clients aren't downloading and installing the drivers from the server correctly? How to avoid these issues when we need to upgrade the drivers on the server in the future? Most importantly right
now, are there any recommendations or scripts on how to force the deletions of the printer, driver, reset the print spoolers and then re-add the printers in a more automated fashion?
I have played with both wmic, pnputil and printuidll and am trying to put something together but without a set solution that will work consistently it becomes a lot more difficult.We are experiencing a very similar issue.
Windows Server 2008 R2. Printers are deployed over group policy.
Clients range from Windows 7 to Windows 8. Citrix XenDesktop and XenApp environment also connects to these endpoints.
We have A wide assortment of HP printers, and Ricoh Printers.
For the ricoh's we have been historically using the PCL6 drivers for the individual device type (not universal print). Up till recently, it all was working fine, until about some time in the middle of june, when everything just seemed to go crazy.
The issue was resolved by moving off from the PCL 6 drivers and using the PCL5e driver counterparts on all of our ricoh printers.
It would crash XenDesktop applications, it would crash office applications.
The print spooler would lock up, even if the ricoh printers were not actually used, just as long as they were loaded.
Even after loading PCL5 on the servers, some of the clients would simply not download the PCL5 version of the driver from the print server. In order to resolve this, I have created the steps below. Be advised, this may possibly cause damage on your system.
We just found it worked great for us. Local printers will likely have to be manually reinstalled after this.
Directions
Stop the print spooler
Open C:\Windows\System32\Spool and delete the following
All files in SERVERS
All files in PRINTERS
All files in drivers
All files in prtprocs
Start the print spooler
Open a command prompt as administrator, and run the following command
Cscript C:\windows\system32\Printing_Admin_Scripts\en-US\prndrvr.vbs -x
This should further delete all print drivers.
Open a command prompt as a standard user (not administrator) and run the following
Gpupdate
Now wait. It takes a while, but the printers will slowly start to repopulate.
I am still not sure what is going on with the PCL6 drivers for ricoh, and why this issue is happening. I'm guessing it has something to do with the Ricoh auto update that is included in their pcl6 drivers. Maybe some sort of auto update happened recently. -
Issue when configure connection with BPM-MDS
Hi All,
This is Narik. i am getting error issue while connecting the BPM-MDS connection in Jdeveloper.
1. I configured Application server connection.
2. I configured DataBase connection with "DEV_MDS", and i seleced obpm. it is succes
3. While i am connecting with BPM_MDS connection , i am getting "Test-Failed".
I have done all this configured in JDeveloper . Let me Know if anyone Help me for this SCENARIO.
Regards
NarikHi All,
This is Narik. i am getting error issue while connecting the BPM-MDS connection in Jdeveloper.
1. I configured Application server connection.
2. I configured DataBase connection with "DEV_MDS", and i seleced obpm. it is succes
3. While i am connecting with BPM_MDS connection , i am getting "Test-Failed".
I have done all this configured in JDeveloper . Let me Know if anyone Help me for this SCENARIO.
Regards
Narik -
Error when configuring Portal Server 7.1 Update 1 on Solaris 10 x86 VM
I have installed Portal Server 7.1 with most of the default options/settings but I was unable to get the server up. Going through /var/opt/SUNWportal/logs/config/portal.fabric.0.0.log, I found some SEVERE entries:
[#|2008-03-04T18:10:21.184-0500|SEVERE|SJS Portal Server|debug.com.sun.portal.fabric.util|ThreadID=10; ClassName=com.sun.portal.fabric.util.ExecuteUtil; Meth
odName=exec; |PSFB_CSPFU0003: Argument List=/usr/lib/cacao/bin/cacaoadm
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:507)
at com.sun.portal.fabric.util.ExecuteUtil.exec(Unknown Source)
at com.sun.portal.fabric.util.ExecuteUtil.exec(Unknown Source)
at com.sun.portal.fabric.tasks.Cacao.execCommand(Unknown Source)
at com.sun.portal.fabric.tasks.Cacao.execCacaoCommand(Unknown Source)
at com.sun.portal.fabric.config.PortalConfigurator.configureHost(Unknown Source)
at com.sun.portal.fabric.config.ConfigurePortal.main(Unknown Source)
|#]
[#|2008-03-04T18:10:21.186-0500|INFO|SJS Portal Server|debug.com.sun.portal.fabric.tasks|ThreadID=10; ClassName=com.sun.portal.fabric.tasks.Cacao; MethodName
=execCommand; |PSFB_CSPFT0342:</usr/lib/cacao/bin/cacaoadm status> Returned <null>|#]
[#|2008-03-04T18:10:21.196-0500|SEVERE|SJS Portal Server|debug.com.sun.portal.fabric.config|ThreadID=10; ClassName=com.sun.portal.fabric.config.PortalConfigu
rator; MethodName=configureHost; |PSFB_CSPFC0024:Failed to configure the Host
java.lang.NullPointerException
at com.sun.portal.fabric.config.PortalConfigurator.configureHost(Unknown Source)
at com.sun.portal.fabric.config.ConfigurePortal.main(Unknown Source)
|#]
[#|2008-03-04T18:10:21.205-0500|SEVERE|SJS Portal Server|debug.com.sun.portal.fabric.config|ThreadID=10; ClassName=com.sun.portal.fabric.config.ConfigurePort
al; MethodName=main; |PSFB_CSPFC0014:Failed configuring Portal Server!!
com.sun.portal.fabric.tasks.ConfigurationException: java.lang.NullPointerException
at com.sun.portal.fabric.config.PortalConfigurator.configureHost(Unknown Source)
at com.sun.portal.fabric.config.ConfigurePortal.main(Unknown Source)
Caused by: java.lang.NullPointerException
... 2 more
|#]
Can anyone tell me where to go from here? Thanks!Thanks for the reply!
I have added more memory and swap. I took example1.xml, filled in the parameters and ran psconfig on it. The following is the output I got:
Logs redirected to /var/opt/SUNWportal/logs/config/portal.fabric.0.0.log
Successfully created PSConfig.properties file
Exception in thread "main" java.lang.NoClassDefFoundError: com/iplanet/sso/SSOToken
at com.sun.portal.fabric.config.ConfigurePortal.main(Unknown Source)
Looking at /var/opt/SUNWportal/logs/config/portal.fabric.0.0.log, there isn't any recent entry. What's next? -
Issues with an LDAP server configured using DHCP instead of static.
Can anyone tell me if there is a known issue using a DHCP address instead of a static IP address to build a 10.4 MAC server that will is a LDAP master?
I have an LDAP master that is running 10.4 that has user account issues. Random users will suddenly not be able to authenticate against the server. I have been told this is because the server was originally built using a DHCP address and then migrated to a static IP. Being a UNIX geek this does not seem to make a lot of sense to me but I am new to MAC..... So?It absolutely could be the cause of the issue. Open Directory uses Kerberos (among other things) for authentication. Kerberos is VERY VERY VERY particular about DNS... and if your OD master changed the IP address, it could cause these problems. I wouldn't expect that it would ever work, but perhaps some days the IP is the same as it was during initial setup.
Do a 'sudo changeip -checkhostname' from the server and see if it says everything is okay. If not, you definitely have things you need to fix. Frankly, with DHCP on the server you are 100% guaranteed to have problems at some point. -
Issue in Configuring ACT as functionality obiee 11g
Dear Expert,
I had done the below steps in creating ACT as functionality in 11g. I am using MS SQL Server 20005 and had created table called OBIEE_PROXY.
1. Created system variable called "PROXY"
2. Created Session initialisation variable (PROXY and PROXY LEVEL) and associated the connection pool
3. Created customs templates
4. Configured the instance.xml
5. Done the setting in the Manage privileges
6. Restarted the BI services
I had taken repository rpd to offline and done the above changes .Modified RPD is uploaded through EM and restarted the services. When I login and see the ACT as there is no users appearing in the screen .
Please advise if I missed any step. Also please advise that should i need to create a user’s in the web logic console which i am trying to pass from MS SQL Server.
Edited by: 964262 on 11/10/2012 14:38Hi ,
Below is the error i am getting in the nqserver log .
[2012-10-12T14:25:37.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: cdd7e05bc54bf9a4:-1b0c887b:13a4e5a3825:-8000-00000000000062ea] [tid: 15dc] [nQSError: 16002] Cannot obtain number of columns for the query result. [[
_[nQSError: 16001] ODBC error state: 37000 code: 102 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '‘'.._
_[nQSError: 16001] ODBC error state: 37000 code: 8180 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.._
_[nQSError: 13011] Query for Initialization Block 'PROXY_BLOCK' has failed._
_]]_[2012-10-12T14:25:37.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: cdd7e05bc54bf9a4:-1b0c887b:13a4e5a3825:-8000-00000000000062ea] [tid: 15dc] [nQSError: 13021] Failed to get the value of PROXY session variable.
[*2012-10-12T14:25:37.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: cdd7e05bc54bf9a4:-1b0c887b:13a4e5a3825:-8000-00000000000062ea] [tid: 15dc] [nQSError: 13021] Failed to get the value of PROXY session variable.*
*[2012-10-12T14:25:43.000+00:00] [OracleBIServerComponent] [NOTIFICATION:1] [] [] [ecid: cdd7e05bc54bf9a4:-1b0c887b:13a4e5a3825:-8000-00000000000062ef] [tid: 15dc] [nQSError: 13011] Query for Initialization Block 'ExternalAuthenticationProvider' has failed.*
*[2012-10-12T14:25:43.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: cdd7e05bc54bf9a4:-1b0c887b:13a4e5a3825:-8000-00000000000062ef] [tid: 15dc] [53012] User authentication failure: user3.*
*[2012-10-12T14:25:43.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: cdd7e05bc54bf9a4:-1b0c887b:13a4e5a3825:-8000-00000000000062ef] [tid: 15dc] [53012] User authentication failure: user3.*
Please advise .
thanks in advance -
Symptom:
Some clients might fail to automatically configure user device affinity from usage data if you have manually configured user device affinity before.
When you check the UserAffinity.log, you can find the similar error messages as below:
User 'XXXXX\XXXXX' has xxxxx usage minutes UserAffinity
Setting auto affinity for user 'XXXXX\XXXXX'. UserAffinity
Found same state message existing. (was sent before) Skip sending same state message for user 'XXXXX\XXXXX'.. UserAffinity
Figure 1. Error Message in UserAffinity.log
Cause:
As the log said, there is a user affinity state message existing in WMI which prevents client from sending new user affinity state message.
Resolution:
We can delete the user affinity state message in WMI to force the client to resend the user affinity state message.
We can follow the steps below:
1. Run Windows Management Instrumentation Tester (“Wbemtest”).
2. In Windows Management Instrumentation Tester dialog box, click “Connect”.(Figure 2)
Figure 2.
3. Type “root\ccm\statemsg” under the Namespace table and then click “Connect”.(Figure 3)
Figure 3.
4. Click “Enum Classes”. (Figure 4)
Figure 4.
5. Choose “Recursive”
in Superclass Info dialog box.(Figure 5)
Figure 5.
6. Double-click “CCM_StateMsg” in Query Result dialog box.(Figure 6)
Figure 6.
7. Click “Instances”
in Object editor for CCM_StateMsg dialog box. (Figure 7)
Figure 7.
8. Choose the messages that contain "domain/user_Auto" and click “Delete” in the Query Result dialog box.(Figure 8)
Figure 8.
After you delete user affinity state message in WMI, the user affinity state message for the user will be resent. After a period time, we can check the UserAffinity.log to
see if the user affinity state message has been successfully sent. The related information would be similar as below:
Successfully sent user affinity state message for user 'xxxxx\xxxxx'.
Successfully created pending user affinity for user 'xxxxx\xxxxx' into WMI.
Figure 9.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.I'm not sure whether this is the appropriate place to add this but - a (possible) cause that I have seen which is not mentioned above is a request for an AAAA record (IPv6 address)
being responded to with an A record (IPv4 address).
DNS debug logging (Windows 2008 R2 SP1) captured requests to
192.225.156.200 and the corresponding responses. In each case the response was followed in the debug log by the event “The DNS server encountered an invalid domain name
in a packet from 192.225.156.200. The packet will be rejected. The event data contains the DNS packet.”
The domain name in the response was the same as that in the query, and looks OK.
The logged query shows an AAAA record (IPv6 address) request and the logged response returned an A record (IPv4 address).
http://www.rfc-editor.org/rfc/rfc4074.txt “Common
Misbehavior Against DNS Queries for IPv6 Addresses” says, under “Expected Behavior”:
Suppose that an authoritative server has an A RR but has no AAAA RR
for a host name. Then, the server should return a response to a
query for an AAAA RR of the name with the response code (RCODE) being
0 (indicating no error) and with an empty answer section (see
Sections 4.3.2 and 6.2.4 of [1]). Such a response indicates that
there is at least one RR of a different type than AAAA for the
queried name, and the stub resolver can then look for A RRs. -
DNS Registration Issues when using DHCP Server in Other Domain
We have an issue where we have 2 domains with an external trust between and a set of DHCP servers that are only located in Domain A.
Clients in Domain B receive the DHCP information from Domain A which also gives them DNS settings pointing to Domain Controllers in Domain A. There are forwarders in place so resolution works.
However clients when registering their DNS information in their own domain gets refused by Domain B Domain Controllers.
Is there a way to populate a security group to allow client's in Domain B to register DNS configuration on their Domain B Domain Controllers?
I know the easiest way would be to create additional VLANs for DCs and clients and segregate clients with IP helpers to different DHCP servers per domain. But this cannot be done unfortunately.
Any help or advice appreciated on this oneThe logs I receive are below:
31/07/2014 20:47:11 14D4 PACKET 000000C48FE6A5B0 UDP Rcv 172.16.32.140 ca65 U [0028 NOERROR] SOA (16)Internal.domain(3)com(0)
31/07/2014 20:47:11 154C PACKET 000000C48FE6A5B0 UDP Snd 172.16.32.140 ca65 R U [05a8 REFUSED] SOA (16)Internal.domain(3)com(0)
31/07/2014 20:47:11 1EE4 PACKET 000000C4908D8030 TCP Rcv 172.16.32.140 966b Q [0000 NOERROR] TKEY (9)1408-ms-7(10)45-6b599a3(36)7986ecc4-17e5-11e4-8b81-3c77e6ef79d7(0)
31/07/2014 20:47:11 144C PACKET 000000C4908D8030 TCP Snd 172.16.32.140 966b R Q [0080 NOERROR] TKEY (9)1408-ms-7(10)45-6b599a3(36)7986ecc4-17e5-11e4-8b81-3c77e6ef79d7(0)
31/07/2014 20:47:11 14D4 PACKET 000000C48E9F2B90 UDP Rcv 172.16.32.140 ae74 U [0028 NOERROR] SOA (16)Internal.domain(3)com(0)
31/07/2014 20:47:11 1AEC PACKET 000000C48E9F2B90 UDP Snd 172.16.32.140 ae74 R U [05a8 REFUSED] SOA (16)Internal.domain(3)com(0) -
Security.policy issue when running javarmi server.
hi guys,
i am trying to run a sample javarmi applications.
the code as follows:
file name : myRMIInterface.java
//package my_rmi_classes;
public interface myRMIInterface extends java.rmi.Remote {
public java.util.Date getDate() throws java.rmi.RemoteException;
//implementation program
// package my_rmi_classes;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIImpl extends UnicastRemoteObject implements myRMIInterface
public myRMIImpl(String name) throws RemoteException
super();
try
Naming.rebind(name,this);
catch(Exception e)
System.out.println("Exception occured:"+e);
public java.util.Date getDate()
return new java.util.Date();
application : myRMIServer.java
//package my_rmi_classes;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIServer {
* @param args the command line arguments
public static void main(String[] argv)
// TODO code application logic here
System.setSecurityManager(new RMISecurityManager());
try
myRMIImpl implementation = new myRMIImpl("myRMIimplInstance");
catch(Exception e)
System.out.println("satish exception occured :" +e);
steps which i follow to run this applicatons:
step 1: complie all the applications.
step 2: create myRMIImpl_Stub.class file by running RMIC
step 3: start rmiregistry
step 4: i download a policy file from sun website and i place that file in my source code folder.
i use 3 types of policy files which are as follows,,,
type 1:
grant{
permission java.net.SocketPermission "localhost:1099", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "accept, resolve";
type 2:
grant codeBase "C:/week_project/rmi server files/" {
permission java.security.AllPermission;
note: all my java files(source code) files are in the folder (rmi server files). i copy all policy files in the same folder.
type 3:
grant {
// Allow everything for now
permission java.security.AllPermission;
step 5:
a:) C:\week_project\rmi server files\java -Djava.security.policy=(policy name).policy myRMIServer
b:) C:\week_project\rmi server files\java -Djava.security.policy=C:\........\(policy name).policy myRMIServer
when i work with type-1 policy file i got error message as follows
ERROR:
Exception occured:java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
type -2 policy file
ERROR
java.security.policy: error adding Entry:
java.net.MalformedURLException.AccessControlException : access denied(java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
type-3 policy file
ERROR
exception occured; java.rmi.connectexception : connection refused to host :127.0.0.1; nested exception is :
java.net.connectexception : connection refused : connect
i am trying to solve this from last week but i can't
so, please help me
with regards
satishwhat ever it is
hi guys,
i am trying to run a sample javarmi applications.
the code as follows:
file name : myRMIInterface.java
//package my_rmi_classes;
public interface myRMIInterface extends java.rmi.Remote {
public java.util.Date getDate() throws java.rmi.RemoteException;
}//implementation program
// package my_rmi_classes;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIImpl extends UnicastRemoteObject implements myRMIInterface
public myRMIImpl(String name) throws RemoteException
super();
try
Naming.rebind(name,this);
catch(Exception e)
System.out.println("Exception occured:"+e);
public java.util.Date getDate()
return new java.util.Date();
}application : myRMIServer.java
//package my_rmi_classes;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class myRMIServer {
* @param args the command line arguments
public static void main(String[] argv)
// TODO code application logic here
System.setSecurityManager(new RMISecurityManager());
try
myRMIImpl implementation = new myRMIImpl("myRMIimplInstance");
catch(Exception e)
System.out.println("satish exception occured :" +e);
}steps which i follow to run this applicatons:
step 1: complie all the applications.
step 2: create myRMIImpl_Stub.class file by running RMIC
step 3: start rmiregistry
step 4: i download a policy file from sun website and i place that file in my source code folder.
i use 3 types of policy files which are as follows,,,
type 1:
grant{
permission java.net.SocketPermission "localhost:1099", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "connect, resolve";
permission java.net.SocketPermission "localhost:1024-", "accept, resolve";
type 2:
grant codeBase "C:/week_project/rmi server files/" {
permission java.security.AllPermission;
note: all my java files(source code) files are in the folder (rmi server files). i copy all policy files in the same folder.
type 3:
grant {
// Allow everything for now
permission java.security.AllPermission;
step 5:
a:) C:\week_project\rmi server files\java -Djava.security.policy=(policy name).policy myRMIServer
b:) C:\week_project\rmi server files\java -Djava.security.policy=C:\........\(policy name).policy myRMIServer
when i work with type-1 policy file i got error message as follows
ERROR:
Exception occured:java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
type -2 policy file
ERROR
java.security.policy: error adding Entry:
java.net.MalformedURLException.AccessControlException : access denied(java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
type-3 policy file
ERROR
exception occured; java.rmi.connectexception : connection refused to host :127.0.0.1; nested exception is :
java.net.connectexception : connection refused : connect
i am trying to solve this from last week but i can't
so, please help me
with regards
satish -
RemoteFX issue when running Multipoint Server 2012 Premium as VM on Hyper-V
I have a server setup running Hyper-V 2012. I made a Multipoint 2012 Premium VM and added RemoteFX. After installing I went to Device Manager on the VM and noticed that the display adapter was showing as Microsoft Basic Display Adapter and
there was an unknown device which I assume is the RemoteFX 3D adapter. I updated the integration services and ran Windows Updates, but still cannot get RemoteFX to show up properly in the VM.
Does Windows Multipoint Server 2012 not support RemoteFX when running as a VM? I can't really run this on bare metal since I am looking at supporting more than 20 stations and therefore would need to run multiple instances virtualized on
the same server running Hyper-V.The server I have setup for this test is a Dell R720 and the video card is an AMD FirePro S7000. I am using the latest stable AMD FirePro driver (ver. 13.352.1006.1001).
I also went ahead and setup a Dell OptiPlex 7010 with an AMD Radeon 5450 (which is DirectX11). I setup Server 2012 Hyper-V and again with Server 2012 R2 Hyper-V. Both times I was unable to add the RemoteFX 3D adapter. I am beginning to
think that it is not possible.
Are you running Multipoint 2012 server virtualized on top of Hyper-V with RemoteFX enabled in the virtualized server (and showing so in Device Manager)? -
Weird Security Issue when connecting to Server
I have written an applet that connects to a java server on the same machine and I wasnt having any problems with it until I added username and password verification. What I do is have the applet show a Frame that lets the user enter in a user name and password. After he does this the applet connects to the server and verifies the user. The problem is that I am getting a security exception error when I try to connect to the server, but only in Internet Explorer. It works perfectly fine in Netscape. I dont think its the code since it works in Netscape, and also since I use the same to make other connections in the applet and they always worked perfectly fine in both browsers. Do I need to go about the connection differently with IE? Thanks.
it have to be the code.
Can u tell me how u r sending the username to the server, r u using sockets,rmi, something else? let me know about this.
And i have to tell u that localhost,127.0.0.1 is different from ur systemid and ipaddress.
Say, this is the url to access the applet "http://localhost/applet.html " and in the java code, u use the systemid to connect to the server. in such a case a security exception will be thrown. because the localhost is different from the system id.
Maybe you are looking for
-
How can i print a network configuration page , i need the IP on a ph1510
how can i print a network configuration page , i need the IP on a ph1510
-
i have recieved an email saying it is an email from apple saying his is an automatic message sent by our security system to let you know that you have 48 hours to confirm your account information. Your itunes account has been frozen because we are un
-
How do I get the last version of iTunes back? The new update is horrible
I have not been on iTunes in a while and had an update when I got back on. I went ahead and updated iTunes and have since then regretted doing so. Do I really have to delete everything on my iPod just to add a few songs? And I still buy CD's and impo
-
Synchronize info record with standard & consignment type
Because SAP cost estimate can only adopt standard and sub-contract info record price, our end users ask us to maintain standard info record automatically by SAP when buyes maintain consignment info record. Is it possible to do it by IMG or any enhenc
-
Handling exceptions for a event handler method.
Hi Mates, I have two custom container in which i am displaying an alv grid usind objects. when a double click event is performed in one of the alv the other alv should be displayed. I now have to handle exceptions of the class CX_SY_