J2EE questions with thick client
I�m trying to move from an existing client-server Swing application (currently talks directly to a database via JDBC) to a 3-tier J2EE model. This is primarily so that I can use HTTP web services on port 80 to bypass firewalls, and to allow for future architectural expansion beyond the current Swing client. I am experienced with Java and Swing, but very new to J2EE, so I'm hoping that there are some obvious points that I am missing.
I am surprised by the lack of 'thick client' examples, tutorials, and documentation that I see with J2EE - almost everything is oriented towards HTML web applications. Here are some questions that I have for using J2EE with a thick client (specifically Swing):
* Where are business logic methods executed? On the client or the server? I get the impression that with J2EE and EJB, all business logic is executed on the server via RPC. Can I choose to have this done in the client instead? If so, how?
* My Swing applications depend heavily on PropertyChangeEvents being fired from the data objects in order for me to update my UI. If the answer to the previous question is that all business logic is executed on the server, then is there a way for my client listeners to receive these change events? If not, how do I know when to update my UI?
* If all business methods are executed on the server, what about accessor methods? Do those need to make a round trip for every call? I've read a little bit about Data Transfer Objects (DTO's) to solve this, but I don't completely understand the concept - if DTO's have no embedded business logic, then how do I know whether a particular getXXX() method has business logic attached to it, and therefore whether to reference the DTO or the server EJB object?
Thanks for answers to these questions. Googling for 'J2EE' and 'thick client' came up with no useful information; I'm hoping to post a HOWTO that will help others after I get this running.
The petstore sample application from blueprints (java.sun.com/blueprints) has an admin module which is a Java Webstart enabled "thick client" that gets business logic processing done on the server. Also the client chapter for the "designing enterprise apps with J2EE" book (also available as html from the same link) gives some tips on designing clients. These may be of help to you
Similar Messages
-
I am porting our old Crystal COM interface to JRC using CR4E2. The application will have to run as thick client.
Using the hints from this forum I proceeded a long way, but there remain some questions :
1 is it possible tu use user defined functions that reside in DLL when running the report from JRC ?
2 I did not find a possibility to send a report to a specified printer when using JRC in a thick client. Will there ever be such a function ?
3 I encounter problems when I try to close a report after viewing it with ReportViewerBean.
I catch the event of closing the viewer frame and execute the following Code. What is wrong with it?
// reportViewer is an instance of ReportViewerBean
reportViewer.stopAllCommands();
// reportViewer.isBusy(); returns false here
reportViewer.stopViewer();
// reportViewer.getCanCloseCurrentView (); returns false here
clientDoc.getReportSource().dispose();
clientDoc.close();
// clientDoc.isOpen() returns true here
reportViewer.stop();
reportViewer.destroy ();
This results in additional memory allocated every time I start a new report.
The sequence
clientDoc.getReportSource().dispose();
clientDoc.close();
works fine after exporting a report to PDF for example
In order to fully implement the JRC interface it would be very helpful, to have an answer to these questions
Thanks,
ManfredIs there any known solution to this problem?
I am facing the same issue. The report viewer's thread still seems to be running in the background after performing the calls in the given order.
I have noticed that the JVM constantly consumes about 30% of the systems computation time after displaying the Report Viewer Frame, indicating that it is running into an endless loop somwhere there.
Edited by: QSOTech on Jul 24, 2009 2:05 PM -
[Needing Help] J2EE proyect with Applet client
Hello, I'm Maximiliano and I'm working in a proyect in J2EE.
I'm using netbeans for developing.
I'm trying to include a applet in my netbeans proyect but the netbeans IDE compile/save the classes in WAR/WEB-INF/classes and that folder it's not public, so i can't call my applet from my index.jsp.
If i move the class file to the root of the WAR it works but the imports for mi ejbs are broken.(Because they're in /WEB-INF/lib)
I've also tried to create a separate proyect for the applet and packaging all in a EAR package (with a simple ejb too) and it's not working either.
What i need is if anyone can tell me how to call my packaged applet from my index.jsp
I know including applets in html with <applet> tag but i cannot resolve the correct path to my applet, or if i have to modify my proyect.
Thanks, Maximiliano.
And example will be much apreciated.its a very good question actually - I have no idea how to achieve that. My gut feeling says that you certainly want to turn the applet into a separate project, as the applet is basically a client to your JEE environment and not part of the JEE application itself. Turning it into a separate war module seems like the thing to do - perhaps even put it outside your application EAR.
The imports of the EJBs are not going to work in any case, even if you manage to get them on the applet's classpath. Your applet is not running on the server, thus it could only call EJB methods through the remote interface, for which you need a a set of libraries from the server and you somehow need to get the remote interface classes on the classpath of your applet - quite difficult to setup.
If you want to invoke EJB methods from the applet, I would really suggest turning them into jax-ws webservices as that makes it such that you don't need any additional libraries to be able to do it. The Java 6 runtime already has jax-ws 2.x inside it, and it is dead easy to call a webservice from a client application. -
J2EE Tutorial With Remote Client
Where can I find a J2EE tutorial that demonstrates a remote client accessing an EJB? The Sun tutorial are all localized examples. Does a remote client have to run on a J2EE server?
Thanks,
-RayRemote Clients do not have to run in a J2EE server. All you need is the j2ee.jar and your app server's required runtime jar file(s) e.g oracle9iAS(oc4j.jar) and the .properties files.
Let me know if you need any more information. -
-t2cGetCharSet error when using thick client with 1.0.0.15.57
I think I have found a bug in 1.0.0.15 related to accessing a database using the thick client. I have tested this with 1.0.0.14 release of SQLDeveloper and that version DOES work OK.
Simply put, I try connecting to a database using the 10g Client on Windows XP and I get "Failure: -t2cGetCharSet" error when running 1.0.0.15.57. I must use 10g thick client so that I can use encyption between the client and the database. 9i thick client doesn't work between Windows and Linux when using encryption. Also, instant client isn't an option; it doesn't support Advanced Security Option (encryption).
I DID test without encryption enabled to eliminate that as a possible cause and the results were the same.
If need be, I could back down to 1.0.0.14, but I would prefer not to.See:
Re: TNS Connection Issues
Raptor does not find My tnsnames
If don't to solve your problem, let us to know. -
I unable to run ejb with application client using oc4j j2ee container
Hi,
I have installe oracle9i (1.0.2.2) oc4j j2ee container.
I unable to run the ejbs . please help me how to run ejbs with application client and which files are shall configure.
See the client application is :
public static void main (String []args)
try {
//Hashtable env = new Hashtable();
//env.put("java.naming.provider.url", "ormi://localhost/Demo");
//env.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
//env.put(Context.SECURITY_PRINCIPAL, "guest");
//env.put(Context.SECURITY_CREDENTIALS, "welcome");
//Context ic = new InitialContext (env);
System.out.println("\nBegin statelesssession DemoClient.\n");
Context context = new InitialContext();
Object homeObject = context.lookup("java:comp/env/DemoApplication");
DemoHome home= (DemoHome)PortableRemoteObject.narrow(homeObject, DemoHome.class);
System.out.println("Creating Demo\n");
Demo demo = home.create();
System.out.println("The result of demoSelect() is.. " +demo.sayHello());
}catch ( Exception e )
System.out.println("::::::Error:::::: ");
e.printStackTrace();
System.out.println("End DemoClient....\n");
When I am running client application I got this type of Exception
java.lang.SecurityException : No such domain/application: sampledemo
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 2040)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 1884)
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java : 1491)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java : 323)
at com.evermind.server.rmi.RMIContext.lookup(RMIConext.java : 106)
at com.evermind.server.administration.LazyResourceFinder.lookup(LazyResourceFinder.java : 59)
at com.evermind.server.administration.LazyResourceFinder.getEJBHome(LazyResourceFinder.java : 26)
at com.evermind.server.Application.createContext(Application.java: 653)
at com.evermind.server.ApplicationClientInitialContext.getInitialContext(ApplicationClientInitialContextFactory.java :179 )
at javax.naming.spi.NamingManager.getInitialContext(NamingManger.java : 246)
at javax.naming.InitialContext.getDefaultInitialCtx(InitialContext.java : 246)
at javax.naming.InitialContext.init(InitialContext.java : 222)
at javax.naming.InitialContext.<init>(InitialContext.java : 178)
at DemoClient.main(DemoClient.java : 23)
.ear file is copied into applications directory.
I have configured server.xml file like this
<application name="sampledemo" path="../applications/demos.ear" />
demos.ear file Contains following files
application.xml
demobean.jar
Manifest.mf
demobean.jar file contains following files
application-client.xml
Demo.class
DemoBean.class
DemoHome.class
ejb-jar.xml
jndi.properties
Mainifest.mf
Please give me your valuable suggestions. Which are shall i configure .
Thanks & Regards,
BadriHi Badri,
ApplicationClientInitialContextFactory is for clients which got deployed inside OC4J container..
For looking up EJB from a stand alone java client please use RMIInitialContextFactory..So please change ur code....
Also please check ur server.xml
Since you have specified your ejb domain as "sampledemo"
you have to use that domian only for look up..But it seems that you are looking up for "Demo" domain instead of "sampledemo" domain...So change your code to reflect that..
Code snippet for the same is :
Hashtable env = new Hashtable();
env.put("java.naming.provider.url", "ormi://localhost/sampledemo");
env.put("java.naming.factory.initial", "om.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "guest");
env.put(Context.SECURITY_CREDENTIALS, "welcome");
Context ic = new InitialContext (env);
Hope this helps
--Venky -
Calling EJB over HTTP from thick client
Hi,
But, if I want to use a thick client then how I can make calls through HTTP.
I know about j2ee client container. But in addition to it, I may have to write some code on client as well on server. Any inputs/guidelines will be helpful for me.
Thanks,
PladHi,
Thanks. I checked weblogic's documentation for application client but could not find what servlet can be configured.
In SUN documentation at http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Overview2.html say that- Application clients directly access enterprise beans running in the business tier. However, if application requirements warrant it, a J2EE application client can open an HTTP connection to establish communication with a servlet running in the Web tier.
Any app. server doc providing details on how servlet needs to be used, what coding is required?How j2ee client container will send HTTP request to server.
Thanks. -
Printing Individual Reports in Thick Client Application
<p>Hi</p><p>I am exploring the capabilities of printing in Thick Client Applications.</p><p>I am following Creating a Thick Client Application >> <a href="/node/321" title="http://diamond.businessobjects.com/node/321"><font color="#325087">http://diamond.businessobjects.com/node/321</font></a> </p><p>In the crystal report viewer, there is a main report panel whereby there many different objects generating a separate report each.</p><p>Left clicking the object in the main report panel loads the report on the right panel.</p><p>My challenge is that the user would need to "remember" which pages, object 3 (for example) generates such a report, if he/she wanted to print that report (object 3's report) seperately.</p><p>Is there an existing work-around to tackle this?</p><p>(For instance, right clicking on main report panel and print that individual report.)</p><p>Orbid</p>
<p>Hi Orbid,</p><p> I want to clarify what you are asking to ensure that I have a good understanding of the question. When you view a report you are seeing a Group tree on the left hand of the report viewer. If a user drills into this particular group they are presented with a new viewer pane displaying only that group's data (and potentially some data that was hidden at the top-level). You are wondering if there is a shortcut that can be applied to the group tree which would allow the user to print that group's data without viewing first. Is this correct? I am not too sure if this is possible but I will check with the Developer. I know that we can capture the Drill-down event but I am not sure if we can extend the click action to provide a context menu containing custom events (e.g. print) </p><p>I will look into this and get back to you.</p><p>Regards,<br />Sean </p>
-
New WSUS on Server 2012 - problem with win8 clients
Hi,
Two weeks ago we created a new Server 2012 and installed the WSUS role from scratch on it. Its version number is: 6.2.9200.16384. It replaced a Server 2008 WSUS server. After some time all the win7 clients updated and reported as
they did on the old and replaced server.
However all our win8 clients refuse to update against this server. They show correctly up in WSUS server console each with 107 needed updates day after day. We have rebooted them and done numerous wuauclt /resetauthorization /detectnow and wuauclt
/detectnow /reportnow, but to no avail.
I paste in some lines from a win8 client winupdate log at the end of this message if someone can figure out what I have to do to get these clients update as they did against the old wsus server. Thanks for help on this issue.
regards Tor
2014-02-03 08:33:38:008 920 153c Agent *************
2014-02-03 08:33:38:008 920 153c Agent ** START ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:38:008 920 153c Agent *********
2014-02-03 08:33:38:008 920 153c Agent * Online = Yes; Ignore download priority = No
2014-02-03 08:33:38:008 920 153c Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-02-03 08:33:38:008 920 153c Agent * ServiceID = {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} Third party service
2014-02-03 08:33:38:008 920 153c Agent * Search Scope = {Machine & All Users}
2014-02-03 08:33:38:008 920 153c Agent * Caller SID for Applicability: S-1-5-18
2014-02-03 08:33:38:008 920 153c Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\wuredir.cab:
2014-02-03 08:33:38:008 920 1990 AU >>## RESUMED ## AU: Search for updates [CallId = {ABC7E77F-635F-4192-9B92-CBF9B1CB8AB0} ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}]
2014-02-03 08:33:38:008 920 1990 AU # 0 updates detected
2014-02-03 08:33:38:008 920 1990 AU #########
2014-02-03 08:33:38:008 920 1990 AU ## END ## AU: Search for updates [CallId = {ABC7E77F-635F-4192-9B92-CBF9B1CB8AB0} ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}]
2014-02-03 08:33:38:008 920 1990 AU #############
2014-02-03 08:33:38:023 920 153c Misc Microsoft signed: Yes
2014-02-03 08:33:38:023 920 153c Misc Infrastructure signed: Yes
2014-02-03 08:33:38:023 920 153c EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: "http://fe1.ws.microsoft.com/w8/2/redir/storeauth.cab"
2014-02-03 08:33:38:023 920 153c Misc Validating signature for C:\Windows\SoftwareDistribution\WuRedir\117CAB2D-82B1-4B5A-A08C-4D62DBEE7782\wuredir.cab:
2014-02-03 08:33:38:039 920 153c Misc Microsoft signed: Yes
2014-02-03 08:33:38:039 920 153c Misc Infrastructure signed: Yes
2014-02-03 08:33:38:039 920 153c EP Got 117CAB2D-82B1-4B5A-A08C-4D62DBEE7782 redir Client/Server URL: "https://fe2.ws.microsoft.com/v6/ClientWebService/client.asmx"
2014-02-03 08:33:38:055 920 153c PT +++++++++++ PT: Synchronizing server updates +++++++++++
2014-02-03 08:33:38:055 920 153c PT + ServiceId = {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782}, Server URL = https://fe2.ws.microsoft.com/v6/ClientWebService/client.asmx
2014-02-03 08:33:38:055 920 153c Agent Reading cached app categories using lifetime 604800 seconds
2014-02-03 08:33:38:055 920 153c Agent Read 0 cached app categories
2014-02-03 08:33:39:211 920 153c Agent * Added update {E7FF661C-6A03-4387-A1EE-1D723B52EF60}.3 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {E8B477DF-479E-4BCA-B8F8-2D987A509009}.2 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {BB85CCA0-88DC-4DA7-8E81-B7F7E5E73B81}.100 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {18DEF1D9-4513-467E-9D7E-E1772855BB9E}.100 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {971D9BE4-5145-4DB5-962C-CEE2EE3A2842}.3 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {CCB380C9-29F5-4305-96DD-86DE2D00438B}.2 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {455BDD67-9ED0-4DE7-94F1-3480EA942414}.12 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {ADFBFCE0-FFD4-4826-B9CF-50AE8182E3C5}.2 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {BFA8C8B8-EEF7-4A82-A36C-8F760F792430}.3 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {3F05DE38-92BC-44B6-B06B-5217E5CF12CA}.1 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {A9A0E183-0667-46D6-84E4-17CEBCEE5A22}.1 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {36BEF0D5-80ED-4942-8457-6F9C88546E06}.1 to search result
2014-02-03 08:33:39:211 920 153c Agent * Added update {A292CD86-AB4E-4388-8C7B-CFB392EDE6AC}.1 to search result
2014-02-03 08:33:39:211 920 153c Agent * Found 13 updates and 31 categories in search; evaluated appl. rules of 69 out of 94 deployed entities
2014-02-03 08:33:39:211 920 153c Agent *********
2014-02-03 08:33:39:211 920 153c Agent ** END ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:39:211 920 153c Agent *************
2014-02-03 08:33:39:211 920 1a64 Report REPORT EVENT: {0786C161-F6DC-4842-85D6-9506124654AD} 2014-02-03 08:33:38:008+0100 1
147 [AGENT_DETECTION_FINISHED] 101 {00000000-0000-0000-0000-000000000000} 0 0 Windows Update Command Line Success Software Synchronization
Windows Update Client successfully detected 0 updates.
2014-02-03 08:33:39:211 920 1a64 Report REPORT EVENT: {1E5D9728-220F-44A3-8BCC-ADE69687531D} 2014-02-03 08:33:38:008+0100 1
156 [AGENT_STATUS_30] 101 {00000000-0000-0000-0000-000000000000} 0 0 Windows Update Command Line Success Pre-Deployment Check
Reporting client status.
2014-02-03 08:33:39:211 920 1a64 Report REPORT EVENT: {57BAB7D0-685B-4D73-BDF7-82AFCE8675B0} 2014-02-03 08:33:39:211+0100 1
147 [AGENT_DETECTION_FINISHED] 101 {00000000-0000-0000-0000-000000000000} 0 0 Windows Update Command Line Success Software Synchronization
Windows Update Client successfully detected 13 updates.
2014-02-03 08:33:39:211 920 1a64 Report CWERReporter finishing event handling. (00000000)
2014-02-03 08:33:39:227 920 153c Agent *************
2014-02-03 08:33:39:227 920 153c Agent ** START ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:39:227 920 153c Agent *********
2014-02-03 08:33:39:227 920 153c Agent * Online = No; Ignore download priority = No
2014-02-03 08:33:39:227 920 153c Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-02-03 08:33:39:227 920 153c Agent * ServiceID = {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} Third party service
2014-02-03 08:33:39:227 920 153c Agent * Search Scope = {Current User}
2014-02-03 08:33:39:227 920 153c Agent * Caller SID for Applicability: S-1-5-21-4260610346-2664610402-3334891387-1155
2014-02-03 08:33:39:258 920 153c Agent * Added update {E8B477DF-479E-4BCA-B8F8-2D987A509009}.2 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {BB85CCA0-88DC-4DA7-8E81-B7F7E5E73B81}.100 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {18DEF1D9-4513-467E-9D7E-E1772855BB9E}.100 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {971D9BE4-5145-4DB5-962C-CEE2EE3A2842}.3 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {CCB380C9-29F5-4305-96DD-86DE2D00438B}.2 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {455BDD67-9ED0-4DE7-94F1-3480EA942414}.12 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {ADFBFCE0-FFD4-4826-B9CF-50AE8182E3C5}.2 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {3F05DE38-92BC-44B6-B06B-5217E5CF12CA}.1 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {A9A0E183-0667-46D6-84E4-17CEBCEE5A22}.1 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {36BEF0D5-80ED-4942-8457-6F9C88546E06}.1 to search result
2014-02-03 08:33:39:258 920 153c Agent * Added update {A292CD86-AB4E-4388-8C7B-CFB392EDE6AC}.1 to search result
2014-02-03 08:33:39:258 920 153c Agent * Found 11 updates and 29 categories in search; evaluated appl. rules of 58 out of 94 deployed entities
2014-02-03 08:33:39:258 920 153c Agent *********
2014-02-03 08:33:39:258 920 153c Agent ** END ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:39:258 920 153c Agent *************
2014-02-03 08:33:39:258 920 153c Agent *************
2014-02-03 08:33:39:258 920 153c Agent ** START ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:39:258 920 153c Agent *********
2014-02-03 08:33:39:258 920 153c Agent * Online = No; Ignore download priority = No
2014-02-03 08:33:39:258 920 153c Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-02-03 08:33:39:258 920 153c Agent * ServiceID = {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} Third party service
2014-02-03 08:33:39:258 920 153c Agent * Search Scope = {Current User}
2014-02-03 08:33:39:258 920 153c Agent * Caller SID for Applicability: S-1-5-21-2212025170-3189117132-1219651784-500
2014-02-03 08:33:39:305 920 153c Agent * Added update {E8B477DF-479E-4BCA-B8F8-2D987A509009}.2 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {BB85CCA0-88DC-4DA7-8E81-B7F7E5E73B81}.100 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {18DEF1D9-4513-467E-9D7E-E1772855BB9E}.100 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {971D9BE4-5145-4DB5-962C-CEE2EE3A2842}.3 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {CCB380C9-29F5-4305-96DD-86DE2D00438B}.2 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {455BDD67-9ED0-4DE7-94F1-3480EA942414}.12 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {ADFBFCE0-FFD4-4826-B9CF-50AE8182E3C5}.2 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {BFA8C8B8-EEF7-4A82-A36C-8F760F792430}.3 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {3F05DE38-92BC-44B6-B06B-5217E5CF12CA}.1 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {36BEF0D5-80ED-4942-8457-6F9C88546E06}.1 to search result
2014-02-03 08:33:39:305 920 153c Agent * Added update {A292CD86-AB4E-4388-8C7B-CFB392EDE6AC}.1 to search result
2014-02-03 08:33:39:305 920 153c Agent * Found 11 updates and 30 categories in search; evaluated appl. rules of 60 out of 94 deployed entities
2014-02-03 08:33:39:305 920 153c Agent *********
2014-02-03 08:33:39:305 920 153c Agent ** END ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:39:305 920 153c Agent *************
2014-02-03 08:33:39:305 920 153c Agent *************
2014-02-03 08:33:39:305 920 153c Agent ** START ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:39:305 920 153c Agent *********
2014-02-03 08:33:39:305 920 153c Agent * Online = No; Ignore download priority = No
2014-02-03 08:33:39:305 920 153c Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-02-03 08:33:39:305 920 153c Agent * ServiceID = {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} Third party service
2014-02-03 08:33:39:305 920 153c Agent * Search Scope = {Current User}
2014-02-03 08:33:39:305 920 153c Agent * Caller SID for Applicability: S-1-5-21-4260610346-2664610402-3334891387-1323
2014-02-03 08:33:39:352 920 153c Agent * Added update {E8B477DF-479E-4BCA-B8F8-2D987A509009}.2 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {BB85CCA0-88DC-4DA7-8E81-B7F7E5E73B81}.100 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {18DEF1D9-4513-467E-9D7E-E1772855BB9E}.100 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {971D9BE4-5145-4DB5-962C-CEE2EE3A2842}.3 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {CCB380C9-29F5-4305-96DD-86DE2D00438B}.2 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {455BDD67-9ED0-4DE7-94F1-3480EA942414}.12 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {ADFBFCE0-FFD4-4826-B9CF-50AE8182E3C5}.2 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {BFA8C8B8-EEF7-4A82-A36C-8F760F792430}.3 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {3F05DE38-92BC-44B6-B06B-5217E5CF12CA}.1 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {36BEF0D5-80ED-4942-8457-6F9C88546E06}.1 to search result
2014-02-03 08:33:39:352 920 153c Agent * Added update {A292CD86-AB4E-4388-8C7B-CFB392EDE6AC}.1 to search result
2014-02-03 08:33:39:352 920 153c Agent * Found 11 updates and 30 categories in search; evaluated appl. rules of 60 out of 94 deployed entities
2014-02-03 08:33:39:352 920 153c Agent *********
2014-02-03 08:33:39:352 920 153c Agent ** END ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:39:352 920 153c Agent *************
2014-02-03 08:33:39:352 920 153c Agent *************
2014-02-03 08:33:39:352 920 153c Agent ** START ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:39:352 920 153c Agent *********
2014-02-03 08:33:39:352 920 153c Agent * Online = No; Ignore download priority = No
2014-02-03 08:33:39:352 920 153c Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-02-03 08:33:39:352 920 153c Agent * ServiceID = {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} Third party service
2014-02-03 08:33:39:352 920 153c Agent * Search Scope = {Current User}
2014-02-03 08:33:39:352 920 153c Agent * Caller SID for Applicability: S-1-5-21-4260610346-2664610402-3334891387-1282
2014-02-03 08:33:39:383 920 153c Agent * Added update {E8B477DF-479E-4BCA-B8F8-2D987A509009}.2 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {BB85CCA0-88DC-4DA7-8E81-B7F7E5E73B81}.100 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {18DEF1D9-4513-467E-9D7E-E1772855BB9E}.100 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {971D9BE4-5145-4DB5-962C-CEE2EE3A2842}.3 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {CCB380C9-29F5-4305-96DD-86DE2D00438B}.2 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {455BDD67-9ED0-4DE7-94F1-3480EA942414}.12 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {ADFBFCE0-FFD4-4826-B9CF-50AE8182E3C5}.2 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {BFA8C8B8-EEF7-4A82-A36C-8F760F792430}.3 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {3F05DE38-92BC-44B6-B06B-5217E5CF12CA}.1 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {36BEF0D5-80ED-4942-8457-6F9C88546E06}.1 to search result
2014-02-03 08:33:39:383 920 153c Agent * Added update {A292CD86-AB4E-4388-8C7B-CFB392EDE6AC}.1 to search result
2014-02-03 08:33:39:383 920 153c Agent * Found 11 updates and 30 categories in search; evaluated appl. rules of 60 out of 94 deployed entities
2014-02-03 08:33:39:383 920 153c Agent *********
2014-02-03 08:33:39:383 920 153c Agent ** END ** Agent: Finding updates [CallerId = Windows Update Command Line]
2014-02-03 08:33:39:383 920 153c Agent *************
2014-02-03 08:33:39:383 920 1990 AU >>## RESUMED ## AU: Search for updates [CallId = {66AF0139-896D-4607-8660-B66D2B58EA26} ServiceId = {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782}]
2014-02-03 08:33:39:383 920 1990 AU # 12 updates detected
2014-02-03 08:33:39:383 920 1990 AU #########
2014-02-03 08:33:39:383 920 1990 AU ## END ## AU: Search for updates [CallId = {66AF0139-896D-4607-8660-B66D2B58EA26} ServiceId = {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782}]
2014-02-03 08:33:39:383 920 1990 AU #############
2014-02-03 08:33:39:383 920 1990 AU All AU searches complete.
2014-02-03 08:33:39:383 920 1990 AU AU setting next detection timeout to 2014-02-03 10:18:51
2014-02-03 08:33:44:211 920 1a64 Report CWERReporter finishing event handling. (00000000)
2014-02-03 08:41:39:472 920 1a64 EP Got WSUS Client/Server URL: "http://elias:8530/ClientWebService/client.asmx"
2014-02-03 08:41:39:472 920 1a64 PT WARNING: Cached cookie has expired or new PID is available
2014-02-03 08:41:39:472 920 1a64 EP Got WSUS SimpleTargeting URL: "http://elias:8530"
2014-02-03 08:41:39:472 920 1a64 PT Initializing simple targeting cookie, clientId = c5e26849-287b-4b96-ba5d-1489d6fad2f2, target group = , DNS name = dt-ikt-tor.framnes.lan
2014-02-03 08:41:39:472 920 1a64 PT Server URL = http://elias:8530/SimpleAuthWebService/SimpleAuth.asmx
2014-02-03 08:41:39:519 920 1a64 EP Got WSUS Reporting URL: "http://elias:8530/ReportingWebService/ReportingWebService.asmx"
2014-02-03 08:41:39:519 920 1a64 Report Uploading 2 events using cached cookie, reporting URL = http://elias:8530/ReportingWebService/ReportingWebService.asmx
2014-02-03 08:41:39:566 920 1a64 Report Reporter successfully uploaded 2 events.
2014-02-03 08:42:13:212 920 178c Report WARNING: CSerializationHelper:: InitSerialize failed : 0x80070002
2014-02-03 08:43:40:450 920 178c AU ########### AU: Uninitializing Automatic Updates ###########
2014-02-03 08:43:40:450 920 178c WuTask Uninit WU Task Manager
2014-02-03 08:43:40:513 920 178c Service *********
2014-02-03 08:43:40:513 920 178c Service ** END ** Service: Service exit [Exit code = 0x240001]
2014-02-03 08:43:40:513 920 178c Service *************Today I opened Control Panel / Windows Updates and first did a check for new updates (from the WSUS server). Nothing was found and it reported Windows is Updated. Then I clicked the link Check for updates from Microsoft via internet, and
it found around 24 updates.
This is confirmation of the point that I made in the previous post. The updates are *NEEDED* by this system, but the updates were not *AVAILABLE* from the assigned WSUS Server. You were able to get them from Windows Update, but that does not fix your continuing
issue with the WSUS Server.
but it still reported the original 108 Needed updates.
Exactly. As previously noted, the client is functioning perfectly. The problem is NOT with the client; the problem is with the WSUS Server. The updates that this client needed were not AVAILABLE to be downloaded from the WSUS server.
Why this is the case requires further investigation on your part, but is either because the updates are not properly approved, or the update FILES are not yet downloaded from Microsoft to the WSUS server.
It appears that the wsus server doesn't get any information back from the client despite that it displays new Last contact and Last Status report timestamps.
This conclusion is incorrect. The WSUS Server got every bit of information available from the client -- you've confirmed this by the number of updates reported as "Needed" by the Windows Update Agent to the WSUS Server.
I assumed that the log would display if the updates were downloaded or not.
It will log when the updates are actually downloaded. If there's no log entries for updates being downloaded, then they're not being downloaded. If the logfile says "Found 0 updates", then that means exactly what it says: It couldn't find any approved/available
updates to download.
In your case it "Found 11 updates", but now it will be impossible to diagnose that fault, because you went and got them from Windows Update.
All Win8 versions are checked in the WSUS server's Product list so the updates should at least have been downloaded to the server.
This is why understanding the infrastructure is so critical. Your conclusion is invalid based on the premise given, and you may be using improper terminology which only confuses the rest of us as well.
First, selecting updates for synchronization only gets the update metadata (i.e. the detection logic) downloaded to the WSUS database.
The Second Step in this process is to Approve those updates for one or more WSUS Target Groups that contain the appropriate client systems. Following the approval of an update, the WSUS Server downloads the INSTALLATION FILE for that update.
Once the WUAgent sees an approved update and the installation file is available, then the WUAgent will download the file and schedule the update for installation.
Most of the post I read about my problem is about upgrading a 2008 WSUS server to support Win8 / Server 12 clients. When I try to run this update on my Server 12 WSUS it refuses to run (probably because it is for Server 2008).
Yeah.. totally different issue in those posts than what you're describing here.
What should I do to try to track down the problem?
Well.... now that it's 11 days since the logfile was posted, and you've already updated that system, we'll first need to find another system exhibiting the same issue.
Then I'll need to ask a number of questions to properly understand the environment, as well as what you have or have not done.
Then, from there, we can attempt to figure out why your Windows 8 client apparently sees some updates as approved/available but is still not downloading them. We do not yet have sufficient information to even speculate on a possible cause -- there are several.
Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
http://www.solarwinds.com/gotmicrosoft
The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds. -
Connect SQL Server 2012 from Windows Server 2003 with native client 9.0
Hi,
I currently have a setup where ETL tool Ab Intio, running on a Linux server, connects to the SQL Server 2005 through a passthrough Wintel server with Windows Server 2003 OS using SQL server native client 9.0
Now I have the requirement to upgrade the SQL server from 2005 to 2012.
My question is, will it be possible to connect to SQL server 2012 through Windows Server 2003 with native client 9.0?
As per the specs, I need native client 11.0+ to fully support SQL Server 2012, but then, as per specs, native client 11.0 doesnot run on Windows server 2003. OS upgradation is currently not on the cards.
So will it be possible to the run the basic queries we use currently, if we can connect SQL server 2012 through Windows Server 2003 with native client 9.0/10.0, without updgrading the OS of the Wintel server?
Thanking you in advance!Hi Soumya,
Yes, you can use the SQL Server Native Client shipped with SQL Server 2005 to connect to a SQL Server 2012 instance, and there is no need to upgrade the operating system.
Regards,
Mike Yin
TechNet Community Support -
Web ADI in 11.5.10.2 vs Thick Client ADI Functionality?
I am the Apps DBA and we recently patched our 11.5.10.2 instance to the latest RUP6 patches which included BNE (Web ADI) patches. We have not done the functional post-steps for Web ADI, nor have we rolled out Web ADI, because of internal debate on our team. For me, I would like people to get off thick client apps, esp since ADI is so old (requiring Oracle 8 sqlnet) and the associated termserver we have set up to access it. Others however say that the users in Finance will not be able to replicate the functionality they need using WebADI, and that in fact we should just wait until R12 to upgrade to WebAdi. Apparently several financial consultants feel the same. Can anyone state their own experiences and the "bottom line" on WebAdI Functionality as it currently exists? thanks!
The last organization I worked at implemented webadi a number of years ago with minimal pain. Pretty sure that they were just using it for journal imports.
The comparison linked in the previous comment hasn't been updated recently, I think the budget and asset wizards are in place now.
Creating custom integrators for webadi has been commented on in these forums in the past and they seem to be in use at a number of different installations. -
What is Thin and Thick Client ? Differences between the Two ? Which is Best
Dear All,
I like to develop both web-based and also standalone applications. i like to choose the best drivers for my applications. can anybody suggest which one to choose and what are the drawbacks in each driver ?
Thanks,
J.KathirDear All,
I like to develop both web-based and
h web-based and also standalone applications. i like
to choose the best drivers for my applications. can
anybody suggest which one to choose and what are the
drawbacks in each driver ?I dont get what excatly you meaned by driver but basicaly a thin client means it only does the prescentation of data to its user and all the logics will be in a server. for every task it will connect to the server.
In a Thick client it can do more processing and it will connect to the server only for the tasks that it cant perform with the data it has in the client.
>
Thanks,
J.KathirHere is a general comparison between main features of thin/thick(fat) clients
Both thin and thick clients has their own advantages and disadvantages. most of time one wins when other fails.
1. Thin client extencvely uses the server to all its operations which will increace the network traffic and the load on the server. as a result the perfomance of the client will depend on the load and the resources available for the server
2. But all the logic is in the server so if you are developing multiple clients for the same application (Ex:- Standallone app, Web client, Mobile clients......) you will not need to duplicate logic in each client.
3. Fat clients reduce the load on server and less dependant on the server. but since they are fat they will take more processing power and memory on client computers.
4. If you are developing multiple clients as menctioned in 2 you will need to duplicate the logics written the clients -
SCCM Questions about offline clients
All,
I wanted to provide some background on a project we are working on and provide some questions that hopefully someone can help answer.
First I wanted to make note that as part of the requirements for this project we are going to have SCCM clients deployed at various locations offsite from our primary SCCM server and these SCCM clients will have only intermittent network connectivity back
to our primary SCCM server. During the times that these clients are lacking connectivity we will need the ability to do multiple manual hardware inventories of the clients with the expectation that once connectivity is resumed, ALL of the inventories taken
will report back to the primary SCCM server. Additionally, during the time that network connectivity is lacking we will need to be able to run SCCM reports regarding these clients local to the clients themselves (IE at the offsite location which won't have
network access to the primary SCCM server.)
Our proposed solution to these requirements was that we planned to provide the offsite location with a SCCM secondary site. The idea being that while network connectivity to the primary server was down the clients would continue to report their inventory
data to the secondary site and reports could still be run from the secondary site as well. Once network connectivity was resumed the secondary site would synchronize with the primary site and provide the primary site with all the missing hardware inventories.
I have since done further research and believe there are some flaws with this solution:
I am reading that secondary sites do not actually store inventory data in a local database like primary sites do.
I am reading that the “reporting services point” is not available on secondary sites, thus limiting our ability to run reports while network connectivity to the primary site is down.
With this I have a few questions:
How many inventories does the client save locally to the machine? Does it save all inventories triggered since the last communication with the server, or does it only save and transmit the last inventory that was collected prior to network communication
being restored?
If it only transmits the last inventory collected, does the idea of having a secondary site work for storing the multiple inventories that we need to collect while network connectivity to the primary server is lacking, or is it true that secondary sites
do not store inventories in a local database?
Finally, if secondary sites DO save inventories locally, but we are NOT able to install the “reporting services point,” will we be able to get around not being able to run the default SCCM reports by instead running custom SQL reports directly from the
SQL Server installed on the secondary site?
Thank you for your time,
RyanWell, this is kind of a complicated project and I am not going to lie I know we are asking to use SCCM in a way that it was not designed to be used.
Basically these clients are training machines that will be reconfigured potentially several times a day. Essentially when a program runs that reconfigures the machine it will trigger a hardware inventory. Custom information about the configuration will be
saved in custom WMI classes that we have created which will be inventoried by SCCM. We need the ability for if the customer says "I had a problem at 9am" for us to have them run a report that tells us which configuration was in place at 9am.
Because of this requirement there may be multiple hardware inventories taken in a single day.
Most of these devices will go MANY months between having networking connectivity back to our primary site. To be honest though some of these devices will be at locations in which they may need to be managed for 15-20 years without EVER having network connectivity
back to the primary site. The idea for these cases was that the secondary site located with the clients would store the inventories and at regular intervals we will have a SQL expert manually export the SQL data to a CD from the secondary site and re-import
it to the primary site. This is how the primary site will get updated without ever having network connectivity to the secondary site.
For all of this to work it is essential that the secondary site store the inventories in a local database. I am just not clear if that is how this works or not. It is also essential we can run reports for the secondary site. I am a little more clear that
the "reporting services point" is not installable on the secondary site; however, my thought is the machine still has SQL installed and if it stores the hardware inventories locally we may still be able to use custom SSRS reports to extract the data. -
Does child systems with 3 clients need 3 RFCs?
Hello
One quick question
Does child system that has 3 clients need 3 RFC conenctions to connect to CUA?
We have ECC with 3 clients. When I go in one client SM59 and create RFC connection to CUA, everything is good.
When I go in SM59 of other client and I create RFC(same as logical name of CUA) , it says it already exist since I created in my previous client
Any thoughts? I know from CUA I would need 3 RFCs for the 3 clients but from the child do I need 3 RFCs? If yes, its not allowing.Yes, normally the logical system name is used and having this the same as the RFC destination helps.
But this does name a type of "name space" implication...
Perhaps you want to consider where you have your master system and use client side security (the authorization group concept for S_RFC_ADM, and S_ICF type DEST to call them?
Even if you restrict RFC, it will always need to do that which is is designed to do. Client side security makes sense in cases such as CUA.
Cheers,
Julius -
Thin & Thick Client - Update UI on a data change in server.
Hello friends -
I need to develop a application. It has both Thin(Web) & Thick client(Swing/SWT). Both clients display some table information. Table information is collected from many different datasources.
Problem: How to update both Thin & Thick clients on a data updation. There might be 10K+ users accessing the server for this table information, either through Web browser or Java thick client (Swing/SWT). And every sec, data is updated in the database (there will be atleast 100 messages /sec updating the datasources). Web clients need to poll to get the update. And Thick clients need to be notified of data change by the server.
Is there any (open source) framework available to achieve this. I have some thoughts for this, but would like to know is there is any proven architecture available for this kind of problem.
Thanks.Those update rates are pretty low for a typical JMS system, so you should be fine with most decent JMS providers.
For the thing clients you could consider using Ajax to avoid unnecessary database polling by large numbers of clients...
http://activemq.org/Ajax
James
http://logicblaze.com/
Maybe you are looking for
-
How to create new character styles in Numbers 3.0
In Numbers 3.0, it is possible to update existing characters styles, but I cannot find how to create a new character style, the + sign in the popup is always inactive when I edit text in a cell. The paragraph style popup has an active +, but it doesn
-
Our plant is located in North America and when we purchase material from China, the condition is often FOB Shangai. (we take respoonsibility of the inventory at this point) On the PO we want the delivery date for the vendor at Shangai port. The tran
-
Accounts receivable on Business Area level
Hi, Is there a way to report accounts receivable on Business Area level? I want to use the InfoCube 0FIAR_C02 for reporting transactional A/R data - the customer has 1 company code and below this 7 business areas on which receivable reporting should
-
Can we restrict user not to switch debug on?
Hi All, Can we authorize a user to execute a transaction, but restrict/prevent him to switch debug ON on the same transaction? For eg: user A is authorized to run VA01. But, he should not be allowed to issue a command '/H' when in VA01 transaction. R
-
My aspire 6920 crashes after booting correctly - screen zig zags and freezes - any ideas to help plse? This does not happen in safemode which I am working in now - I have seen a list of dowloadable drivers on the acer site but not at all sure if I sh