Here's what I'd like to achieve. After mucking around with it for a day and a half, though, I've become nearly convinced that it can't be done. If someone can show me how to achieve this, I'd be quite grateful.
I have a .NET parent class Parent with a shared method Fetch(). Fetch can take a variety of parameters to help it know what par...
I am trying to load some classes that are common to all the web applications of my ear in a java ee 5 application.
I tried to do this by putting the classes (not jar) in
a) directory called "lib"
b) also specifying in application.xml's
<module><java>lib/common.jar</java></module>
and was not successful by either option a or b...
Hi,
We have a web app built on codeigniter. We have a VPS, with different accounts on it.
I was wondering how can we setup in a way that there will be only one copy of the php code for all accounts.
each account will have a different domain name, and each account will have their own mysql database.
Therefor:
code sits on a folder on t...
I'm following the C++ Cookbook tutorial on static and dynamic library linking with g++. I can build the binary fine, but when I run it I get the error
./hellobeatles: error while loading shared libraries: libjohnpaul.so: cannot open shared object file: No such file or directory
I used the command
: g++ -o hellobeatles hellobeatles.cpp...
I'd like to be able to edit the CSS/HTML of my website on my iMac and Macbook (may sometimes be offline). Hosting is shared I'd like to be able to easily synchronise local and online versions, with revision history.
In the past I've used MAMP with TextMate, but I've been looking at VirtualHostX, Versions and Espresso.
I'm not tech savv...
I have to upload about 30M for my app since it uses a lot of libraries, log, web engine and so on.
I think there should be a way to share these libs on glassfish, but I failed to figure it out. I tried to put them in domain/lib/ext but does not work.
So where should I store these libs and how should I refer to them? thank you.
...
I create a transient (non-persistent) remote shared object using ApplicationAdapter.createSharedObject(). Then a client connects to the application. The client then connects to the shared object. But when the client leaves the application and connects again, the shared object is no more there. The properties set by the client in their pr...
For our build machines, we run VMware Workstation. We have source code checked out in a shared folder (shared from the host using VMware). In the builds we do svn operations like update etc.
This worked fine until updating to Workstation 7. Now we get errors like this:
svn: In directory 'E:\bitten\winxpbitten\bitten\j5-trunk\j5\Sites\C...
I currently have 2 simple ASP .Net applications. Both applications share the same aspnetdb membership database for membership, roles and providers and the same encryption and decryption keys. They also have seperate websites and seperate application pools in IIS.
The problem I am having is that despite both applications having a role pr...
I have very limited access to enable extensions etc on my hosting but am looking to generate a PDF from an HTML page (with css/images) through PHP.
Any ideas how I can achieve this with next to zero CL access etc?
Preferable not a "hack" / relient on a service (as I'll be looking to use this long term).
...
I'm kinda getting mixed messages about this so I'm hoping someone can clear this up for me.
Should I be using Shared methods/functions in the following situation:
I have a generic class named "Person". This class represents a person in the database.
I have a manager class named "PersonManager". This class contains methods which adds, ...
I have a team that will be using CruiseControl for continuous integration, and CC will be running on a Linux server. More than one team member may need to access the CC configuration itself: changing how tests are run, changing notification rules, etc.
What is the best practice for this?
My first thought was to set up a cc-users group,...
I am trying to debug programs on an ARM target device with GDB and GDB seems to be acting odd with regards to ld-linux.so.3. It's a simple program that just printf("Hello World").
Approximately half the time, gdb it will run and the other half jump to this error after typing run:
Program received signal SIGILL, Illegal instruction.
0x2...
I get this error: Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class.
Partial Class _Default
Inherits System.Web.UI.Page
<WebMethod()> _
Public Shared Function ParseData() As String
Dim value as string = GetValue()
End ...
I have a shared hosting for asp classic, i am using an activeX dll in my asp script. ASP page works fine when i register the ActiveX component, i am using CreateObject function, but on live shared hosting i can't register my ActiveX component. Any idea how to use ActiveX component in shared hosting.
...
Hi, I have a parent class (Foo) with shared methods. It is MustInherit.
Bar and Baz classes inherits from Foo. I will do something like that:
Dim baz as New Baz()
Dim bar as New Bar()
baz.sharedMethod()
bar.sharedMethod()
Within of Foo's sharedMethod(), I need to know who (class name) called it. So, using the above example, it would ...
Hi,
We are setting up two server systems. One of which will host a 3rd party application which will by default save certain data on a local folder:
/opt/application/common/recordings
How do I create a "writable share" on the other server (with appropriate permissions), so that all these files from the first server are saved on the...
Is it possible to prohibit an instance of a class from calling a shared/static method?
For example:
I want to allow this:
ClassName.MethodOne()
But I want to disallow this:
Dim A As New ClassName
A.MethodOne()
The reason this is desirable is that in this case it is semantically confusing if an instance can call the method.
...
Hi guys,
I want try to understand better the problem of synchronization of shared memory. I have understood that interprocess synchronization can work differently on different operating system. The most difference is what's happening when a process that has locked the shared memory crash. Windows free locked named mutex after a process c...
I use WebSphere 7 and I've set shared libraries as described in this example http://www-10.lotus.com/ldd/portalwiki.nsf/dx/06062009015816PMWEBP3Y.htm
My application is running with this setting, but I can't deploy it (update). At deploy it can't find the classes in the shared libraries. I don't have the error message right now because I...