Server and localhost server time are different - glassfish

Any please help me my multiple projects are running on glassfish server, it is installed on Godaddy server, so when i deploy any project my server time changed from my localhost server, My server time show time GMT but i want it must show in PKT, after deploying any project it should not be changed.

You can set the timezone as JVM option in your domain.xml file by adding following option:
<jvm-options>-Duser.timezone=Asia/Karachi</jvm-options>

Related

I can't run my mobile app on worklight development server

FWLPL0010W: "localhost" was detected from the target server
configuration. Using the primary IP address of the host machine,
197.255.122.78, to build the Worklight application(s). Consider using a fully qualified hostname (avoid using "localhost") or a valid IP
address instead. The value can be modified by opening the
configuration editor of Worklight Development Server from the
"Servers" view.
[2015-01-10 12:34:11]
com.worklight.studio.plugin.nls.Messages:FWLPL0001W: Server not
started yet. Build may fail at first trial. [2015-01-10 12:34:11]
FWLPL0017E: Worklight Console can not be opened because the Worklight
Server is not running. Right-click the server 'Worklight Development
Server' from "Servers" view and select "Start" from the menu to start
the server.
From the comment, the issue appears to be the following:
Server Worklight Development Server was unable to start within 120
seconds. If the server requires more time, try increasing the timeout
in the server editor.
A Google search brought up the following same question: Worklight Server not starting
The solution was provided per the instructions in http://www-01.ibm.com/support/docview.wss?uid=swg21668175:
To resolve this problem, you can apply one or both of the following workarounds.
Complete the following steps to increase the timeout default value:
1.Open the Servers view.
2.Double-click the Worklight Development Server to open the Overview pane.
3.Expand the Timeouts section.
4.Increase the value in the Start (in seconds) field. Consider doubling the default value; that is, set it to 120 seconds.
Complete the following steps to remove the unnecessary applications from Worklight Development Server.
1.Open the Servers view.
2.Right-click the Worklight Development Server.
3.Select the Add and Remove option.
4.Remove all applications that you do not intend to work on.
After you have made any of these changes to the configuration, restart the server.

Additional Domino - first server not responding

I want to install an additional Domino as I did several times before. This one now resides on an external V-host. The "first" server I specified is in my internal network but can be reached from outside via :1352. But the remote setup tool says that it is unreachable.
Q1: are there other ports I have to open for remote setup to access my internal server?
Q2: can I setup the server w/o the first server by only providing the system databases via filecopy? Which dbs are needed and how can I tell the remote setup tool to use them instead of trying to connect to the first server via TCPIP?
Edit:
To be clear: I can run the remote setup tool and connect to the new server but it fails when the new one wants to pull stuff from the first server.
Remote server setup uses port 8585. Try opening that port and restart remote server setup.
Solution in the thread above works.
Open port 8585 (Per Henrik Lausten contribution)
Add the Fully Qualified Internet Host Name from the server document to the hosts file (Umeli contribution)
Run server configuration with new settings

Admin Server and Managed Server set to Production mode in Weblogic

I am very new to Weblogic and have a question.
I have a Admin Server and four Managed Server .
I want to set Prodcution Mode to true in Admin Domain , would this also run all the managed servers in Production Mode ?
Also, does this change require weblogic restart ?
I am using Weblogic 12c.
Thanks
All servers in the domain run in production or development mode, it is a domain wide setting. Managed servers refer to the admin server to determine their run mode. And yes you will need to restart all servers in your domain for this to take affect.
Google is your friend - this was the first link that came up:
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/domainconfig/ChangeRuntimeModes.html

IntelliJ and Local Tomcat: Mandatory?

Is it mandatory to have a local Tomcat Server in order to configure an Application Server in IntelliJ IDEA? My ultimate goal is to deploy to my remote Tomcat instance ONLY, without any local configurations.
Many thanks!
Tomcat Application server is used as a Provided dependency to get code completion and compilation of your code that utilizes JSPs and Servlets.
Remote debug configuration needs Tomcat Application server to know the target server version and uses local server libraries to perform connection and deployment.
So, yes, it's mandatory to have a local copy installed to use Tomcat Remote debug configuration.
If you are going to debug only plain Java code without JPS, use the plain Remote debug configuration like for normal applications, it doesn't require local application server installation.

installing svnbridge server on a different machine other than the server

I can see that there is a key called "TfsUrl" in the appSettings part of the Web.config file for SVNBridge. Is this possible? Can I install the SVNBridge on a different machine to the TFS server? We are a big company and the admin people don't want to install svnbridge on their server.
Thanks
Yes you can. However, I have found it to be very slow depending on where the SVNBridge server is. In my testing I installed the SVNBridge server locally and pointed it at my production server over a VPN. With this setup it would take up to 3 minutes to just open the repository in TortoiseSVN. With the SVNBrige server installed on the same machine as TFS the load time is almost unnoticeable.